Maintenance Margin = Notional Position Value ÷ (2 × Max Leverage)For example, a 1 BTC long at $50,000 with max leverage 20x:
Maintenance Margin = 1,250If your position margin falls below maintenance margin, your position can be liquidated.
Position health statuses
As price moves, your position can move through these statuses:How liquidation is triggered
Liquidation is triggered by a liquidation transaction, which anyone can submit for a specific position. When liquidation is triggered for a position that has moved from Healthy → Liquidatable:- The protocol opens an order to close the position.
- That close order has no (it is intended to get filled, not “wait for a better price”).
- The position owner can no longer update the position after liquidation is triggered.
If your position becomes Liquidatable, liquidation is triggered, and the protocol opens a close order. That close order stays open even if price later moves back and your position becomes technically healthy again before matching happens.In other words, once liquidation is triggered, the position is expected to be closed by the protocol during matching.
What happens when the close order fills
What you receive (or what happens to the remaining margin) depends on the position’s status at the time the close order fills:- If the position is Liquidatable at fill: you receive your remaining margin back, minus the trade fee and on the liquidation fill (see Fees).
- If the position is Seized at fill: the remaining margin is sent to the Insurance Fund.
- If the position is Underwater at fill: the Insurance Fund pays the deficit (the negative margin) so the system remains solvent.
Liquidation price
Your liquidation price is the price at which your position margin would fall to exactly the maintenance margin level. Beyond this price, your position becomes liquidatable. For a long position, the liquidation price is below your entry price. For a short position, it is above your entry price. Higher leverage means your liquidation price is closer to your entry price.Calculating your liquidation price
For a position opened at entry priceE with leverage L, in a market with maximum leverage Lmax, the liquidation price is approximately:
How far price can move before liquidation
In a market with 20x max leverage:Insurance Fund
How the protocol covers underwater positions.
Auto-deleveraging
What happens when the Insurance Fund isn’t enough.