· four exchange APIs · rebuilt daily
Mark price calculations prevent order book wicks from triggering liquidations by linking contract evaluation to external spot index prices.
Exchanges evaluate perpetual contract liquidations against mark price, which can diverge from last traded price by more than 100 basis points during illiquid market wicks.
Last traded price represents the exact execution price of the most recent transaction on a single order book. Mark price is a calculated value derived from an external spot index price combined with a smoothed moving average of the contract premium.
Exchanges use mark price for margin calls and liquidations to isolate positions from local order book sweeps. If a single market order consumes the order book down 5%, the last traded price drops 5% immediately. Because spot exchanges did not trade down, the spot index remains flat. The calculated mark price declines by a fraction of a percent, leaving positions open despite the wick on the local chart.
Consider a long position of 1.6667 BTC opened at $60,000. Total position size is $100,000 in notional value using $2,000 in margin at 50x leverage. The venue requires a maintenance margin rate of 0.50%, which equals $500 on a $100,000 position.
The maximum loss before liquidation triggers equals initial margin minus maintenance margin: $2,000 initial margin minus $500 maintenance margin leaves $1,500 in loss buffer.
To determine the price drop required for liquidation: $1,500 buffer divided by 1.6667 BTC equals a price drop of $900. The liquidation price threshold is $59,100.
A market order sweeps the futures book. Last traded price drops to $58,500. Spot market prices across reference venues remain at $60,000. Calculated mark price stays at $59,980. Result: Last traded price ($58,500) prints below the liquidation threshold ($59,100), but mark price ($59,980) remains above it. The liquidation engine does not fire.
Spot markets decline across external exchanges, bringing the spot index to $59,050. The local futures order book receives no trades, leaving last traded price at $59,500. Calculated mark price drops to $59,090. Result: Last traded price ($59,500) displays above the liquidation threshold ($59,100), but mark price ($59,090) drops below it. The liquidation engine closes the position while the chart displays $59,500.
When a liquidation triggers, the engine closes the position using taker market orders. The exchange assesses taker fees against the full $100,000 position value, not the remaining margin buffer.
| Venue | Futures Maker Fee | Futures Taker Fee | Fee on $100,000 Position |
|---|---|---|---|
| MEXC | 0.0000 | 0.0002 | $20.00 |
| Bitget | 0.0002 | 0.0003 | $30.00 |
| OKX | 0.0002 | 0.0005 | $50.00 |
| Bybit | 0.0002 | 0.00055 | $55.00 |
A liquidation on Bybit costs $35.00 more in fee deduction than on MEXC for a $100,000 position.
Mark price includes the moving average premium index, which factors in live funding rates. Extreme funding rates push mark price away from spot index values.
| Asset | Venue | 8h Funding Rate | 24h Volume |
|---|---|---|---|
| ETH | Bybit | +0.0024% | $7,462,630,603 |
| ETH | MEXC | +0.0035% | $7,462,630,603 |
| ETH | OKX | +0.0084% | $7,462,630,603 |
| ETH | Bitget | +0.0100% | $7,462,630,603 |
| BTC | Bybit | +0.0072% | $4,802,536,319 |
| BTC | OKX | +0.0074% | $4,802,536,319 |
| BTC | MEXC | +0.0094% | $4,802,536,319 |
| BTC | Bitget | +0.0095% | $4,802,536,319 |
| SOL | MEXC | -0.0101% | $1,333,209,344 |
| SOL | OKX | -0.0038% | $1,333,209,344 |
| SOL | Bybit | -0.0017% | $1,333,209,344 |
| SOL | Bitget | -0.0008% | $1,333,209,344 |
Holding an ETH long on Bitget incurs +0.0100% per 8h compared to +0.0024% on Bybit. This spread of 0.0076 percentage points alters the premium calculation, shifting the baseline mark price relative to spot index quotes.
To audit which price feeds trigger your order execution:
When charting with last price, price candles will frequently cross liquidation thresholds without triggering executions, or trigger liquidations while candles appear clear of the threshold.
Get 20% fee rebate on Bitget →20% of your trading fees back, on every product. The rebate comes out of the commission I would otherwise receive, so it costs you nothing. Affiliate link — see the footer.