Toobit mark price, in one formula
the median of last, a funding-adjusted index and an order-book index, worked on live BTC (advanced)
Key takeaway
You are long q BTC on Toobit with a liquidation price P_liq and a stop at S. The chart shows last price. The engine checks mark price. Here is how Toobit builds that mark, worked with live numbers, and what it means for where you put S.

The three prices
Toobit's support page on mark price says Toobit calculates three raw prices every second and uses their median as the final mark price:
- Price 1: the last price on Toobit Futures.
- Price 2: Price index x [1 + Last funding rate x (Time until next funding / Funding period)].
- Price 3: Price index + 5-minute moving average of the order book basis. The basis is the average of best bid and best ask minus the index, sampled every 5 seconds, 60 data points.
Final mark price = Median of Price 1, Price 2 and Price 3.
Mark is used for unrealized P&L and liquidation. It does not set your execution price; fills happen at whatever price your order matches.
The live inputs
Toobit public data, BTC-SWAP-USDT, 10:22 AM ET Nov 16:
- Last: 64,246.4
- Mark: 64,248.9
- Index: 64,272.83
- Funding: 0.005111% per 8h, longs pay shorts, next settlement 11:00 AM ET
- 24h high 65,666.6, low 63,870.3
The math
- Time to next funding: 38 minutes, or 0.6333 hours.
- Price 2 = 64,272.83 x (1 + 0.005111% x 0.6333 / 8) = 64,273.09.
- Price 1 = 64,246.4.
- Mark = 64,248.9, which sits between Price 1 and Price 2. For a median, that makes Price 3, the order-book leg, the middle value at about 64,248.9 in that second.
- Mark minus last = 2.5. Index minus mark = 23.93. Price 2 minus mark = 24.19. So the book had been trading below index, and mark followed the book rather than the funding-adjusted index.
These are reads taken a fraction of a second apart, so step 4 describes that moment only.
The liquidation line
Toobit triggers liquidation when the margin ratio reaches 100%: the account ratio in cross, the position ratio in isolated. The ratio is calculated on mark. Toobit also says the estimated liquidation price is for reference only and moves with margin balance, size, open orders, funding, fees and risk tier.
For a long: distance = (mark - P_liq) / mark. For a short: (P_liq - mark) / mark.
The trigger line
When you set a TP/SL on Toobit you choose the trigger type: Last price or Mark price. Toobit's TP/SL help page gives the key case: if last spikes through your TP trigger and falls back, but mark never reaches it, a mark-triggered TP does not fire and the position stays open. The same logic applies to a stop.
- Last-triggered stop: reacts to the first trade through S.
- Mark-triggered stop: watches the same line the liquidation check uses, and ignores a spike that mark never confirms.
Common mistakes
- Placing S on the chart without checking where mark sits.
- Treating the estimated liquidation price as fixed.
- Expecting a mark-triggered TP to catch a last-price spike.
- Assuming Price 2 drives the mark. Today the book leg was the median.
- Leaving no buffer between S and P_liq.
FAQ
Does mark price change my fill price?
No. Toobit says mark is for risk and P&L; the fill is the matched price.
How often does mark update?
Every second.
Why can my closed P&L differ from what the position showed?
Toobit notes that in extreme volatility mark can temporarily lag the market price, so unrealized P&L before a close can differ from realized P&L after execution.
Does it work the same for ETH, SOL, XRP and DOGE perps?
Same formula; inputs differ by pair.
Next time you size a trade, read mark first, set the trigger type on purpose, and leave room between S and P_liq.