AlgoVesta › Glossary › Mark price

Crypto & Futures

Mark price

The mark price is the exchange's estimate of a perpetual contract's fair value, usually derived from an index of spot prices plus a funding-based premium; it is used to calculate unrealised profit, margin ratio and liquidation, while the last price is simply the most recent trade.

Why it matters

Liquidations happen on the mark price, not on the last trade, precisely so that a single large order or a brief wick on one exchange cannot liquidate positions. That also means your position can be liquidated even if the last traded price never touched your liquidation level, or survive a wick that did. Stop orders can be configured to trigger on mark or last price on many exchanges, and the choice changes how often you are stopped out by noise. Any dashboard that mixes the two prices will show profit figures that do not match the exchange.

How AlgoVesta handles it

AlgoVesta reads mark prices for futures from the exchanges' public mark-price streams and uses them for the unrealised profit, position value and margin figures in the dashboard, so those numbers match what the exchange shows. Spot positions use the spot ticker instead, and the two feeds are never mixed even for the same symbol. Because the feed is public and shared, the cost of tracking prices does not grow with the number of connected accounts, and a feed outage is visible as stale prices rather than as fabricated values: an unknown figure is shown as unknown, never estimated. Liquidation prices are taken from the exchange, which computes them on the mark price. Protective stop orders are placed on the exchange with the exchange's own trigger rules. See liquidation price and perpetual futures.

Example

A trader is long BTCUSDT from 60,000 with a liquidation price of 57,000. A thin moment on the exchange prints a last trade at 56,900 for one second while the mark price, built from the spot index, stays at 58,100. The position is not liquidated. Conversely, if the spot index falls to 56,900 while the last trade on this exchange lags at 57,200, the position is liquidated on the mark price.

Common mistakes

In practice

See how AlgoVesta automates this