Detection
Trigger
Equity < MM (MarginRatio < 1.0)
Cadence
- Mark-to-market: 200ms–1s
- Execution loop: 1 Hz
Execution Steps
Step 1: Cancel Risk-Increasing Orders
Cancel orders that would increase exposure:- Long position → cancel buy orders
- Short position → cancel sell orders
Step 2: Compute Target Reduction
Equity ≥ IM (or MM + buffer for less aggressive)
Step 3: Orderbook Liquidation
Place IOC orders at: Long liquidation:Mark * (1 - LiquidationSpread)
Short liquidation: Mark * (1 + LiquidationSpread)
| Session | Liquidation Spread |
|---|---|
| Reference Open | 0.5–1.0% |
| Weekday Overnight | 1.0–2.0% |
| Weekend | 2.0–5.0% |
| Disrupted | 5.0%+ |
Step 4: Throttle
| Session | Max per Second |
|---|---|
| Reference Open | $100k |
| Weekday Overnight | $50k |
| Weekend | $10k |
Step 5: Backstop (DLP/RFQ)
If not filled on-book after 60s, route to designated liquidity providers.Step 6: ADL (Last Resort)
If backstops fail, trigger Auto-Deleveraging. See ADL.Prioritization
Fees
| Recipient | Fee |
|---|---|
| Liquidator (taker) | 0.3–0.5% |
| Insurance fund | 0.2–0.3% |
| Protocol | 0.1–0.2% |
| Total | 0.6–1.0% |
Partial vs Full
Partial (preferred): Liquidate only enough to restoreEquity ≥ IM + buffer
Full: Close all positions if severely underwater or partial attempts fail
Escalation Path
| Level | Mechanism | Timeout |
|---|---|---|
| 1 | Orderbook | 60s |
| 2 | DLP / RFQ | Until filled |
| 3 | ADL | Last resort |
Circuit Breakers
| Threshold | Action |
|---|---|
| >10 liquidations / 10s | Pause 30s |
| >$1M liquidated / 1min | Alert risk team |
| >20% OI liquidated / 1h | Governance review |