OpenPerps

Docs  /  How it works

Liquidations

A liquidation is the one case where the whole posted margin is lost. Here is when it happens and what the protocol has to prove before it can run them with real money.

When it happens

Each position has a bust price: the price at which an adverse move exhausts the posted isolated margin. Liquidation triggers at or before that point, with a buffer, so the position closes while there is still margin to close it against.

LeverageAdverse move to exhaust margin
5×≈ 20%
20×≈ 5%
50×≈ 2%

Those are illustrative and exclude the buffer. On a freshly launched token a 20% move is an ordinary hour, which is exactly why high tiers are gated on depth rather than offered by default.

What it costs

Posted margin
forfeited in full
Credited to the settlement pool
the loss, under the liquidation branch
Reward credits
calculated under the liquidation branch
Other positions
unaffected — margin is isolated

Guarded liquidations

Liquidation uses the same price snapshot and the same policy as an ordinary close. There is no separate, more aggressive oracle path for liquidations, and no discretion to liquidate on a price the protocol would not also settle a voluntary close against.

If a circuit breaker has moved a market to close-only or paused, the handling of stale prices and pause-related liquidations is prespecified. The intent is that nobody is liquidated by a price the protocol has already decided it does not trust.

Liveness is the hard part

A liquidation engine that works in a quiet market and fails in a crash is worse than none, because traders size positions assuming it works. Before real collateral is accepted, liquidation liveness is tested under:

These are gates on the mainnet release, not a backlog item. See the roadmap.

Last updated: 2026-10-28