Forced liquidation is a critical mechanism in derivatives trading that helps maintain market stability and protect both traders and platforms from excessive risk. When your maintenance margin rate drops to or below 100%, the system calculates a real liquidation price, and your position may be partially or fully closed.
Note: The estimated liquidation price displayed on the trading interface is for reference only and fluctuates constantly based on market conditions and position size.
To enhance market resilience during periods of high volatility, liquidation prices are calculated using the mark price, not the last traded price. This prevents unnecessary liquidations due to short-term price spikes or flash crashes. You can switch to the mark price view on your K-line chart to analyze historical trends. Importantly, forced liquidation affects only your trading account—your funding account remains untouched.
👉 Discover how smart risk management protects your trading capital
What Is Maintenance Margin Rate?
The maintenance margin rate is a key indicator of your position's health. A higher rate means greater safety; a lower rate signals increased risk of liquidation.
1. Isolated and Cross Margin (Spot & Contract Mode)
In cross-margin trading across spot and contract accounts:
Maintenance Margin Rate = (Account balance for the coin + unrealized PnL - sell order amounts - option buy requirements - isolated margin borrow needs - pending order fees) / (Maintenance margin + liquidation fee)
- Maintenance margin includes: leveraged borrow margin, futures margin, perpetual margin, and options margin—all calculated with open orders included.
Liquidation fee combines taker fees from leveraged positions, futures/perpetuals, and options:
- Leveraged fee = position value × user’s taker fee rate
- Futures/perpetual fee = position value × taker fee rate
- Options fee = position value × taker fee rate
This structure prevents sudden risk spikes when pending orders execute.
2. Multi-Currency Margin (Cross Mode)
For cross-margin with multi-currency support:
Maintenance Margin Rate = Effective Margin / (Maintenance Margin + ADL Fee)
Both maintenance margin and ADL (auto-deleveraging) fee are calculated based on:
- Open position size
- Active open-limit orders
3. Isolated or Multi-Currency Margin (Isolated Mode)
For isolated positions:
Maintenance Margin Rate = (Margin balance + unrealized PnL) / [Position value × (Tiered maintenance rate + fee rate)]
For Coin-Margined Contracts:
= (Margin + PnL) / [Face value × |Contracts| / Mark Price × (Tier rate + Fee rate)]For USDT-Margined Contracts:
= (Margin + PnL) / [Face value × |Contracts| × Mark Price × (Tier rate + Fee rate)]These formulas ensure accurate risk assessment across different contract types and margin modes.
What Is Position Reduction and Forced Liquidation?
When the market moves against your position and your maintenance margin rate falls to or below 100%, the system triggers either forced reduction or full liquidation, depending on your margin mode.
How Tier-Based Auto-Reduction Works
On OKX, large positions are divided into tiers based on size. When you're in Tier 3 or above, and your maintenance margin dips below your current tier’s requirement plus the fee rate—but remains above Tier 1’s minimum—the system does not immediately close all positions.
Instead:
- It calculates how many contracts to reduce to drop two tiers.
- Executes partial closure at mark price.
- Rechecks the new maintenance margin rate.
- If still insufficient, repeats the process until safety thresholds are met.
This tiered approach minimizes abrupt closures and improves execution quality.
Full Liquidation Conditions
Full forced liquidation occurs when:
- You're in Tier 2 or below, and your margin rate drops below the required level for your current tier.
- Or you're in Tier 3+, but your margin falls below Tier 1’s maintenance + fee threshold.
In these cases, the system submits the entire position to the liquidation engine at the bankruptcy price—the theoretical price where equity hits zero.
This preemptive mechanism reduces the risk of cascading liquidations and negative balances during extreme volatility.
Once liquidated:
- The loss equals the full depletion of your margin.
- Maximum loss = initial margin amount (no further liability).
👉 See how advanced liquidation engines protect traders during market shocks
Does OKX Still Use Loss Sharing?
No. OKX has eliminated loss sharing (also known as clawback) and replaced it with an Auto-Deleveraging System (ADL).
What Is Auto-Deleveraging (ADL)?
ADL activates when extreme market movements cause rapid drawdowns in the insurance fund, specifically:
- A 30% drop in insurance fund value within 8 hours from its peak.
When triggered, instead of waiting for market orders to fill liquidations:
- The system identifies profitable counterparties ranked by leverage and PnL.
- Closes part or all of their opposing positions at the current mark price.
- Transfers gains directly to the affected account to offset losses.
This ensures faster resolution and eliminates platform-wide loss distribution.
After an ADL event:
- You’ll receive email and SMS notifications.
- Details appear in the Order History section under "Auto-Deleveraging" records.
With ADL in place, there is no more shared loss burden among users.
What Is the Insurance Fund?
The Insurance Fund is a reserve pool designed to absorb losses from unexecuted liquidations (i.e., when a position can’t be closed before going negative).
Sources of Funding:
- Initial contributions from OKX
- Surplus from successful liquidations (when positions are closed above bankruptcy price)
Structure:
- Separate funds for each product line: Margin, Futures, Perpetuals, Options
- Further segmented by underlying asset and currency
Daily Settlement:
At 16:00 HKT daily, the system reconciles the previous 24 hours:
- Net losses from failed liquidations → deducted from fund
- Net gains from over-collateralized liquidations → added to fund
This transparent cycle maintains long-term platform solvency.
Frequently Asked Questions
Q: Why did my position get liquidated even though the market price didn’t reach my estimated liquidation price?
A: Because mark price, not last traded price, determines liquidation. The mark price smooths out short-term volatility, so even if the last price briefly recovered, sustained adverse movement in the mark price could trigger liquidation.
Q: Can I avoid forced liquidation?
A: Yes. Monitor your maintenance margin rate closely. Increase margin manually, reduce leverage, or close positions proactively. Setting stop-loss orders can also help manage downside risk.
Q: What happens to my funds after a forced liquidation?
A: Your loss is capped at your initial margin. Any remaining equity after closing the position returns to your trading account. There is no negative balance liability.
Q: How is ADL fair to profitable traders?
A: ADL targets only highly leveraged winners who benefit from others’ losses. Priority is based on profit level and leverage—ensuring those best positioned to absorb reductions are selected first.
Q: Is my entire portfolio at risk during ADL?
A: No. Only specific contracts involved in opposing positions are reduced. Other assets and unrelated positions remain unaffected.
Q: How can I track my insurance fund status?
A: While individual contributions aren't tracked, OKX publishes real-time insurance fund balances for each product and pair on its public dashboard.
Maintaining awareness of margin mechanics is essential for sustainable trading success. Understanding how maintenance margin, mark price, and ADL interact empowers you to build resilient strategies—even in turbulent markets.