Liquidation & Insurance Fund
Learn about DOPP’s liquidation model as well as how the insurance fund works.
Liquidations on an exchange refer to the automated process of closing leveraged trading positions when a trader’s account balance, or “margin,” gets too low to cover potential losses.
Just as a car running low on fuel would need to stop to avoid stalling, liquidations prevent traders from going into debt by ensuring their losses don’t exceed their initial investment.
Liquidation mechanisms vary for each exchange, which sets unique and publicly available maintenance weights that are used to determine the risk profile of a given market. Some exchanges might have tighter liquidation thresholds, meaning your position could get liquidated more quickly if the market moves against you. Others might offer more leniency, giving you a bit more room before liquidation kicks in.
Liquidations safeguard an exchanges solvency by settling accounts between traders, maintaining fairness, and preventing potential disruptions that could arise from underfunded positions amid volatility.
You can find DOPPs market specifications, including maintenance weights, in the “Options Markets Specs / Futures Markets Specs” section.
Efficiently structured liquidation processes on DOPP are supplemented by risk management tooling for users, including portfolio and position health indicators on the front-end along with trigger orders.
Liquidations on DOPP happen at the mark oracle price, derived from a third-party oracle (Pragma - see Oracles section to learn more).
Liquidations protect the protocol and users from the risk of systemic bankruptcy. When an accounts maintenance health falls below 0, it enters liquidation. The assets and perpetual positions of the subaccount will be closed in the following order:
- Orders are canceled.
- LPs are decomposed.
- Assets are liquidated (USDC Balances/Options Positions/Perps).
- Liabilities are liquidated (Borrows/Short Spreads).
Any user can purchase assets from the liquidating account at a discount or pay off its liabilities at a markup until the underwater account’s Initial Health rises above 0.
If, at any point during the liquidation process, the Initial Health of the account exceeds 0, liquidation will cease.
(Alternate image coming too)