Trading on leverage can be risky. Make sure you are aware of the liquidation rules outlined below before applying margin.
Below table shows how partial and full liquidations are handled within Drift protocol.
Type | Liquidation Margin Ratio / Leverage | % of Positions Closed | Liquidation Penalty | % Given to Liquidators |
Partial | ๏ปฟContract Specs | 25%* of each position until margin requirement met | up to 2.5% of total collateral | 50% |
Full | ๏ปฟContract Specs | 100%* of all open positions until margin requirement met | up to all remaining collateral | 5% |
*Individual positions will only be closed at up to ~1% market impact per liquidation instruction until margin requirement met
Definitions:
Liquidators are open-sourced and can be triggered by anybody running a liquidator bot. Liquidators, also known as Keepers, will have their collateral reward credited within their Drift account.
In normal conditions, our margin ratio calculation uses theortical mark price after closing (Exit Price) to calculate total collateral and the notional sum of open positions (i.e. margin ratio) as the price that liquidations are based on.
When oracle-mark divergence > 3.33%, the better of 1) oracle with Drift market slippage and 2) mark price after closing will be used to value the position to prevent wrongful liquidations.
In the case of oracle error (Oracles): the market will pause most liquidations and funding rate updates.
๏ปฟ