Perpetual Trading
GMX enables leveraged perpetual trading on Arbitrum and Avalanche with up to 50x leverage. Positions are automatically priced via a TWAP mark system, with funding rates equilibrating long/short imbalance. GLP holders are always the counterparty.
Position PnL Mechanics
Long/short Mark vs Index Funding Liquidation
PnL Calculator
Configure your position. Watch how leverage multiplies both gains and losses, and when liquidation occurs.
Mark vs Index Price System
Funding Rate Mechanics
Funding payments occur every 8 hours. Positive funding means longs pay shorts; negative means shorts pay longs. The rate adjusts based on open interest imbalance.
Funding Payment = Position Size (Funding Rate / 8) (Hours Held / 8) Liquidation Trigger System
You deposit $1,000 margin and open a 10x long position worth $10,000. Liquidation threshold: position collateral ratio < 10%.
ETH drops from $60,000 to $55,000. Your unrealized loss is: $10,000 ($60k-$55k)/$60k = $833. Remaining margin: $167.
Remaining margin ($167) = 16.7% of position value. This is above the 10% threshold - position is safe but getting close.
If ETH drops to ~$54,545 (10% below entry at 10x), margin ratio hits 10% exactly. Any trader can call executeLiquidation() and earn a 5% bonus.