Decentralized Liquidations
Unlike CEXes (Centralized Exchanges) or a few other dApps such as dYdX, at Orderly, liquidations are decentralized. Most of the time, CEXes directly close positions on the orderbook, which often triggers cascading liquidations, hurting traders further and encouraging bad actors to manipulate market prices. Orderly adopts a decentralized liquidation model where positions are transferred to liquidators at a discount instead of being market sold in the orderbook. It is fully decentralized as anyone with an Orderly account can act as a liquidator, as long as the account has enough margin to take over the liquidated positions. Further details on how an account can claim liquidating positions can be found in the API docs.Liquidation Trigger
A liquidation is triggered if the Account Margin Ratio (AMR) is below the Maintenance Margin Ratio (MMR) required for the account (see here for more details).Liquidation Tiers
All trading pairs are not equal in term of risk. In Orderly, there are two groups of symbol tier :- Low Tier Risk : Liquidators can only claim a ratio of all symbols. Claiming a single symbol is not allowed
- High Tier Risk : Liquidators can claim 1 single symbol
Tier | Perp Markets |
---|---|
Low | BTC ; ETH |
High | Others |
Liquidation amount
The amount of positions that need to be liquidated is calculated for both low tier and each symbol of high tier perp markets. Whenever possible, each amount is computed so that the Account Margin Ratio equals the Initial Margin Ratio. If the account has multiple positions in the low tier risk, the positions will be partially liquidated in a volume-weighted fashion.Liquidation fee
When an account is liquidated, a User Liquidation Fee is incurred. This is split between the Orderly Insurance Fund and the liquidator. Each perpetual market has its own Liquidation Fee:Perp Market | Liquidation Fee | Liquidator Fee |
---|---|---|
BTC | 0.60% | 0.30% |
ETH | 0.60% | 0.30% |
SOL | 0.60% | 0.30% |
Others | 1.20% | 0.60% |
-
If the Account Margin Ratio is higher than the User Liquidation Fee, the User Liquidation Fee is split in half between the Insurance Fund and the liquidator (Insurance Fund and Liquidator each receives
0.5 * User Liquidation Fee
). -
If the Account Margin Ratio is between User Liquidation Fee and Liquidator Fee, then a fee equal to
0.5 * User Liquidation Fee
is paid to the liquidator, and the remaining account margin is transferred to the insurance fund. - In the unlikely scenario that the remaining margin of the account cannot cover the Liquidator Fee, the account’s balance and positions are transferred to the insurance fund. Those positions can still be claimed by liquidators (see Insurance Fund & ADL).