When ADL triggers
For a specific contract, ADL activates when any of these conditions holds:- Vault coverage exhausted. The liquidation vault’s realized + unrealized PnL on this contract is at or below its loss-absorption threshold, meaning it cannot take more bad debt safely.
- Vault position limit reached. The vault’s notional exposure in this contract is at or above a configured risk ceiling (OI share and/or absolute notional).
- Short-term drawdown limit. The vault’s PnL drawdown over a 30-minute rolling window is at or above the configured drawdown threshold.
- Manual activation. The vault operator can flip ADL on out-of-band for exceptional conditions.
When ADL deactivates
Once triggered, ADL remains active until all of the following are true:- Vault PnL on the contract (realized + unrealized) is back above a recovery threshold (the trigger threshold times a recovery coefficient)
- The vault’s contract position is zero
- The vault’s 30-minute rolling PnL is non-negative
- The operator confirms deactivation
Ranking algorithm
When ADL triggers, Intention ranks all counterpart profitable positions — longs if the bad position was short, shorts if the bad position was long — by a deterministic score:unrealized_pnl_ratiois(mark_price − entry_price) / entry_pricefor longs, inverted for shortseffective_leverageisnotional_position / account_value(cross) ornotional_position / isolated_margin(isolated)
Execution
Once ranking is set:- Select counterparts. The engine walks the ranked queue from the top, picking profitable positions to close.
- Determine quantities. Continue picking until the bad debt is fully covered.
- Execute at the bankruptcy price. The selected counterpart positions are closed against the bankrupt trader at that trader’s bankruptcy price.
- Settle. The bad trader’s equity is set to zero. The counterpart traders’ profits are reduced by the assumed portion. No external fees or taker costs apply.
Risk indicator
Because ADL ranking is computable at any time, traders can see their current ADL risk live in the UI and API. Intention exposes a 1–5 risk level per position, derived from the percentile of the ADL score across all counterpart positions on that contract:- Level 1–2. Low risk. You are not near the front of the queue.
- Level 3. Elevated risk. Worth monitoring.
- Level 4–5. High or extreme risk. Consider reducing size or leverage.
Design goals
- Transparency. Every rule, threshold, and ranking input is on-chain and documented. Quants can compute exactly their risk.
- Deterministic, not arbitrary. The ranking is a function of public state — there is no judgment call.
- No loss socialization. Losses are transferred only to counterparties, never to bystanders.
- Capital preservation. Users in the winning queue keep the bulk of their gains; ADL only takes enough to cover the specific shortfall.
- Composable with vaults. ADL protects the liquidation vault from blowouts, which is what gives vault depositors confidence to provide liquidity.