Skip to main content

Niyam Exchange Blog

Mark Price vs Last Traded Price: Why Your Liquidation Depends on It

Mark price and last traded price are two different numbers and exchange tracks for the same contract, and confusing them is the single most common source of “why was I liquidated” questions. Last traded price is whatever the most recent trade on this order book printed at. Mark price is a smoothed, manipulation-resistant reference price built from a blended index, and it is the number that actually decides whether your position gets liquidated. Understanding the difference explains both why a position can be liquidated when the visible chart never seems to touch the liquidation line, and why a position can survive a wick that looks like it should have wiped it out.

Why Your Liquidation Didn't Match the Chart

Every trader who has held a leveraged position through a volatile hour has felt this moment: the position closes out, the liquidation notice arrives, and the chart, the one showing the price you were actually watching, never appears to reach your liquidation level. The candle looks ordinary. Nothing on screen explains what just happened.
The confusion runs both ways. Some traders get liquidated and cannot find the moment on their chart. Others watch a sharp wick punch straight through where their liquidation should be and are surprised when the position survives it entirely. Both experiences point to the same root cause: the price an exchange uses to decide who gets liquidated is not the same price a trading chart is built from, and most charts default to showing the last traded price.

How Index Price, Mark Price, and Last Traded Price Actually Work

Exchanges track three related but distinct prices for every perpetual contract, and each one answers a different question.
Last Traded Price: What the Chart Shows
The last traded price is exactly what it sounds like: the price at which the most recent trade on this specific order book executed. It is a real number, a real trade happened at that price, but it reflects only the supply and demand sitting on this one order book at that exact moment. In a deep, liquid market that is a reasonable proxy for fair value. In a thin market, a single large order can move it sharply for a few seconds before it snaps back, especially during low-liquidity hours, when most global trading volume for an asset like Bitcoin sits on exchanges in other time zones and Indian trading hours are comparatively quiet.
Index Price: A Blended Reference From Multiple Markets
Index price solves the single-order-book problem by aggregating prices across several major spot markets at once, typically a volume-weighted average, so that no single exchange’s order book can move it in isolation. If one venue sees a temporary imbalance, the index barely reacts, because the other constituent markets did not see the same order flow. This is the closest thing to a neutral, hard-to-manipulate reference for what the asset is actually worth right now.
Mark Price: The Number That Actually Triggers Liquidation
Mark price is derived from the index price, with a small smoothing adjustment applied so it does not jitter every time the index ticks. It typically tracks a moving average of the basis, the gap between the contract’s traded price and the index, which keeps mark price close to fair value while filtering out short, sharp noise. This smoothed, index-anchored number, not the last traded price, is what exchanges use to calculate unrealised P&L, margin ratio, and, critically, the liquidation trigger.
Why Exchanges Don’t Liquidate on Last Traded Price
If liquidation were keyed to the last traded price, a single large order in a thin order book could force liquidations that have nothing to do with the asset’s real value elsewhere. Push the local price through a cluster of liquidation levels for a few seconds, let the forced liquidations fire, and the price can snap back immediately, with the manufactured work having already done its damage. Keying liquidation to mark price closes that loophole: moving it meaningfully requires moving the index, which means moving several independent markets at once, not just one thin order book. It is a structural protection, not a courtesy.

A Worked Example: A Thin Order Book Wick, in Rupees

Assume BTC perpetual is trading around ₹50,00,000. It is 2 AM IST, historically the quietest window for INR order books, since the bulk of global Bitcoin liquidity is active in other time zones. A large sell order lands on the order book on NIYAM.
For a few seconds, the three prices diverge sharply:
Price Feed Value during the wick
Last traded price
₹46,80,000 (a ~6.4% wick)
Index price
₹49,70,000
Mark price
₹49,65,000
Trader’s liquidation price
₹47,50,000
The candle on the chart is real: a trade did print at ₹46,80,000, and anyone watching last traded price would have seen the position’s liquidation level breached. But mark price, the number that actually governs liquidation, never got close to ₹47,50,000, so the position was not liquidated.
This also works in reverse, and it is the more disorienting version. A trader watching only a calm-looking last-traded chart can still be liquidated if the index, and therefore mark price, has moved against them on markets they are not watching. The chart on their own screen can appear untouched while the position closes out anyway. Both outcomes come from the same mechanism: liquidation follows mark price, and mark price follows the index, not the local last-traded print.

Always Set Your Risk Against Mark Price

The practical takeaway is simple to state and easy to skip in practice: calculate your liquidation distance, size your position, and think about your risk against mark price, not against the last traded price on your screen. A stop-loss or a mental risk limit set purely off last price can be wrong in either direction: too tight, triggering on noise that mark price never confirmed, or too loose, missing that mark price has already moved against the position.
If you are still working through how margin, position size, and liquidation distance relate to each other, our guide to crypto perpetual futures in India covers the fundamentals this article builds on. For a structured walk-through of position sizing against mark price specifically, see our upcoming guide on risk management (Post 10, link pending). NIYAM Academy’s derivatives curriculum covers both in more depth for traders who want the structured version.

Frequently Asked Questions

Mark price is a smoothed reference price for a derivatives contract, built from an index of prices across multiple spot markets rather than from a single order book. Exchanges use it to calculate unrealised profit and loss, margin ratios, and liquidation, because it is far harder for one thin order book to move than the last traded price.
The last traded price is the price of the most recently executed trade on a specific order book, and it can be moved briefly by a single large order. Mark price is derived from a blended index across several markets and moves more gradually. Charts typically default to showing the last traded price, while liquidation and margin calculations are based on mark price.
Basing liquidation on last traded price would let a single large order in a thin order book force liquidations that don’t reflect the asset’s real value elsewhere. Mark price is anchored to an index built from multiple independent markets, so a brief, local price wick generally cannot trigger liquidation on its own.
Most trading charts show last traded price by default, but liquidation is calculated on mark price, which tracks a broader index rather than this one order book. If the index moved against your position even slightly, mark price can cross your liquidation level while the local last-traded chart looks comparatively calm.
Index price is a reference value for the underlying asset, typically a volume-weighted average across several major spot exchanges. It is the base that mark price is built from, and because it draws on multiple markets at once, it is much harder for any single venue’s order flow to move.
Mark price is generally derived from the index price plus a smoothing adjustment based on a moving average of the basis, the gap between the contract’s own traded price and the index. This keeps mark price closely tied to fair value while filtering out short-lived spikes from any one order book. Exact formulas vary slightly by exchange.
Share