Skip to main content
Mark price values your open position: it sets your unrealized P&L, your margin, and when you will be liquidated. It is the median of four prices, built from the index price, this venue’s order book, the funding rate, and external perpetual markets. It updates every 3 seconds, with the index.

Four prices, one median

Index plus a smoothed basisthe index, plus a 150-second EMA of this venue’s basis
This venue’s own bookmedian of best bid, best ask, last trade
Index plus a funding basisthe index, adjusted by the funding rate
External perpetual midother venues’ perpetual markets, certified in consensus
Median
Mark pricemargin · liquidation · unrealized P&L
To move the median, you have to move at least two of the four. Distorting this venue’s book moves only one input (P2), and P1 follows it only slowly through the 150-second average. P1 and P3 both start from the index, so the index has its own defences: see Index price. The index and P4 are certified by validators in consensus. Every node then computes P1, P2, P3 and the median the same way, so the mark itself needs no separate certification.

When inputs are missing

If the index has not updated for 6 seconds, the mark is recomputed anyway. If the index is more than 15 seconds old, the market goes reduce-only. New markets. While a market is initializing or in pre-open, the mark price equals the index price. Once trading opens, P1 and P3 start at the index and move away from it only as trading builds up.
Mark price resists manipulation; it is not immune to it. If the external markets behind it move together, the mark moves with them. See Risk disclosures.