Skip to content
Documentation

Liquidation

When a position's losses approach its collateral, the position is closed.

Liquidation price

A position is liquidated when the mark price reaches its liquidation price.

Long: entry × (1 − 1 ÷ leverage + maintenance margin)

Short: entry × (1 + 1 ÷ leverage − maintenance margin)

The terminal shows this price before you open a position and for every open position. It is an estimate.

What you lose

A liquidated position loses its collateral. It cannot lose more: if the price jumps past the liquidation level, the vault collects less than the full loss and no debt is created for the trader.

Avoiding liquidation

  • Use lower leverage.
  • Add collateral to the position.
  • Reduce or close the position before the price reaches the level.

On-chain

In the contracts, anyone can call the liquidation of a position that has crossed its level. The equity left after a liquidation goes to the insurance fund. An automated keeper that performs liquidations is not built yet.