Bitbase lets you show PnL on mark or last, but liquidation only ever uses mark: an advanced ETH walkthrough
Key takeaway
"My PnL looked fine, my stop was set, and the position still got closed by liquidation." On Bitbase that usually comes down to two settings that look like they agree but measure different prices.

- The rule
- Bitbase calculates unrealized PnL on either Mark Price or Last Price, your choice.
- Liquidation is triggered by the Mark Price, not the Last Traded Price. Bitbase says the price on a default chart may differ from the mark.
- If a Stop Loss is set to trigger on the Last Traded Price and the Mark Price reaches the liquidation condition first, Bitbase says the liquidation process takes priority.
- Bitbase also tells you to check which trigger price type each TP/SL uses, Mark Price or Last Price.
So the PnL number you watch, the price your stop watches and the price the engine watches can be three different settings.
- How the mark is built
From Bitbase's mark price explainer:
- Mark Price = Current Index Price + Moving Average Basis
- Basis = (Contract Best Bid + Contract Best Ask) / 2 - Index Price, captured every second
- The moving average uses the latest 30 one-second samples, with newer samples weighted more. With a 15-second half-life, a sample 15 seconds old has half the influence of the newest one. Anything older than 30 seconds drops out.
That design keeps one odd trade from moving the mark, while still following the book within seconds.
- The live numbers
Bitbase public data, one ETH_USDT snapshot at 10:22 AM ET Nov 16:
- Last: 1,809.60
- Mark: 1,809.42
- Index: 1,809.86
- Funding: 0.004502% per 8h, longs pay shorts
- 24h high 1,866.19, low 1,786.05
- The math
- Moving average basis = mark - index = 1,809.42 - 1,809.86 = -0.44. The book midpoint had been averaging about 0.44 under index.
- Last minus mark = 1,809.60 - 1,809.42 = 0.18, or 0.0099% of mark.
- For a long of q ETH, PnL shown on Last reads 0.18 x q better than PnL shown on Mark at this moment. The mark-based figure is the one liquidation uses.
- Liquidation distance for a long = (mark - P_liq) / mark. For a short = (P_liq - mark) / mark.
- A stop at S on Last helps only if last reaches S before mark reaches P_liq. Leave a buffer between S and P_liq, or put the stop on Mark so it watches the same line as the engine.
- What moves the gap
- Book pressure: if bids and asks lean below index, the basis goes negative, as it is now.
- Fast moves: a 30-second average with a 15-second half-life catches up quickly, but not instantly, so last can lead mark in a flush.
- Funding and position size do not change which price liquidates you; they change how close P_liq sits.
- Common mistakes
- Leaving PnL on Last and treating it as the liquidation view.
- Setting a Last-triggered stop just above P_liq and expecting it to beat the mark-based check every time.
- Reading the default chart and assuming it shows the mark.
- Forgetting to check the trigger type on each TP/SL after changing pairs.
- FAQ
Which price closes my position in a liquidation on Bitbase?
Liquidation is triggered by the mark price.
Should my PnL view be on Mark or Last?
For risk checks, Mark matches the liquidation engine. Last matches the chart.
Is mark always below last?
No. At 10:22 AM ET the basis was -0.44 and last sat 0.18 above mark. Both change every second.
Does the same apply to BTC, SOL, XRP and DOGE perps?
Yes, the mechanism is the same; the gap is per pair.
Try it on your own pair: switch the PnL view to Mark, note the difference from Last, then check the trigger type on every open TP/SL.