SorooshX implements different liquidation strategies based on whether you’re using cross-margin or isolated-margin mode. These strategies aim to minimize user losses while keeping the platform stable and fair, even during turbulent market conditions.
Cross-Margin Liquidation Explained
In cross-margin mode, your available equity is shared across all positions. Liquidation occurs when your total account equity (excluding isolated-margin balances and their PnL) drops below the combined maintenance margin for all your open futures contracts.
Calculation:
The system calculates maintenance margin as:
Maintenance Margin = Tier-Based Rate × Position Value
In hedged positions, the calculation is based on the side with the greater equity. Position values are determined using the mark price, a fair valuation used to prevent manipulation or volatility-driven errors.
Isolated Margin Liquidation
For isolated margin mode, each position is treated separately. Liquidation is triggered when the sum of your margin and unrealized profits is less than the required maintenance margin.
Step-by-Step: Partial Liquidation Process
When risk thresholds are breached, SorooshX uses a multi-stage reduction method to reduce exposure while giving users the chance to recover:
Bankruptcy Price:
This is the point where your account balance would fall to zero. It's not visible on standard price charts and is used to calculate the final liquidation.
How the Insurance Fund Works
The SorooshX Insurance Fund is a safety net that absorbs losses from liquidated positions. Here’s how it functions:
ADL (Auto-Deleveraging): The Last Line of Defense
ADL is a contingency plan that directly reduces exposure by matching trades with profitable counterparties—without placing market orders.
How ADL Counterparties Are Chosen
Counterparty risk ranking is based on the ROI of open positions, using the formulas below:
Cross-Margin:
Position ROI = Unrealized PnL ÷ (Position Size × Entry Price)
Leverage = Total Position Value ÷ (Total Assets + Unrealized PnL)
Margin Trading ROI = Position ROI × Leverage
Isolated Margin:
Position ROI = Unrealized PnL ÷ (Position Size × Entry Price)
Leverage = Position Value ÷ (Margin + Unrealized PnL)
Margin Trading ROI = Position ROI × Leverage
Priority for ADL:
- Accounts with higher ROI and leverage face the greatest risk of being selected for ADL.
- Positions with losses or partial liquidations are excluded from this list (ROI = 0).