Skip to main content
A perpetual exchange must liquidate under-margined accounts before their losses become systemic. Monaco does this in three tiers, and what separates them is what the closing order is priced against:
  1. Protected liquidation protects price quality. It reduces risk with bounded, reduce-only execution while the bucket still has room to spare.
  2. Terminal liquidation protects solvency. Once a bucket falls below three quarters of its maintenance margin that room is gone, and the objective changes: closing the position matters more than preserving what is left of its equity.
  3. Auto-deleveraging (ADL) closes whatever the book would not take against traders holding the opposite side, at the pinned price.
Both liquidation rungs send reduce-only immediate-or-cancel (IOC) orders. The protected rung always carries an explicit limit; the terminal rung’s limit is set by the venue’s liquidation mode.

The pinned price

When a risk bucket enters liquidation, Monaco fixes a closing price for each of its positions: the price at which that bucket’s equity would reach exactly zero. This is the pinned price, and it does not move again for the life of the liquidation, however far the mark travels. It is derived from entry and the collateral behind the position, and the mark does not enter the derivation at all. That is what makes pinning safe rather than approximate — re-deriving it after a mark move returns the same number, so fixing it once only removes the chance to re-derive it from state that has since changed. Every step is priced against the same number: the protected slices’ limits, the terminal attempt’s limit in the Zero mode, and every ADL chunk’s fill price. The price does not drift as the position is worked down, so a counterparty reached in the last ADL chunk gets the price a counterparty reached in the first one got. An ADL fill price is rounded onto the market’s price grid away from the mark, so the rounding leaves a fraction of a tick with the liquidating bucket rather than adding to what the fund carries.

Cross-margin buckets

A cross-margin bucket holds positions in several markets against one pool of collateral, so it has no single closing price — there are many combinations of prices at which its equity would be zero. Monaco picks the one that moves every market the same fraction of its own mark, in the direction that recovers the bucket’s shortfall, scaled by how much margin each market requires. So each market absorbs the shortfall in proportion to the risk it was carrying, not to how many units of it you happened to hold — two positions of equal size and equal risk contribute equally whether the asset trades at $1 or $50,000. That includes markets where the bucket was in profit: the bucket’s collateral and the profit realized on its winning legs flow out through its losing legs, and what neither covers is shared across every counterparty. One market is closed per ADL episode, at its pinned price; each follow-on episode closes the next market at its own pinned price, so the bucket ends where the pinned prices put it whatever order the markets are closed in.

The two rungs

Let E be bucket equity and M the maintenance margin required, priced off the market’s margin ladder — M is the ladder’s piecewise MM(N) per bracket, not a single flat rate. Healthy  ⟺  E≥M\text{Healthy} \iff E \geq M Protected  ⟺  34M≤E<M\text{Protected} \iff \tfrac{3}{4}M \leq E < M Terminal  ⟺  E<34M\text{Terminal} \iff E < \tfrac{3}{4}M Liquidation begins as soon as equity falls below maintenance. The terminal rung begins only once the bucket is materially deeper underwater. The three-quarters line has a precise meaning rather than being a tuned constant. The distance between a position’s mark and its pinned price is exactly the maintenance margin that position is carrying — so the fraction of that distance still unspent is the fraction of maintenance margin the bucket still holds. At E = ¾M the mark has travelled a quarter of the way to the pin. The line is a position in that corridor, and it is the same fraction in every market the bucket holds, at the same moment.

Protected rung

Above the line, a slice is limited at the position’s protected rung — three quarters of the way from the pinned price back toward solvency. The limit therefore tightens toward the pin as equity decays, and a fill can never cross into the bucket’s own bankruptcy. Sizing is minimal: the slice closes enough to restore the bucket to its maintenance requirement plus a buffer, not the whole position. One position is sliced per step, chosen by which slice buys the most risk reduction per unit of expected execution cost. Slices are additionally capped by remaining position size, a maximum slice notional, and the executable book depth within the limit price.

Terminal rung

Below the line, price protection has already failed its purpose. The slice requests the full remaining position, with no notional cap — every further tick of delay below three quarters of maintenance is insurance-fund money. Where its limit sits depends on the venue’s liquidation mode, below. A bucket that has fallen below the line is liquidated to completion: it stays on the terminal rung until it is flat, even if a fill or a deposit lifts it back above, because closing one position at its pinned price can leave the rest of a cross-margin bucket reading healthy although its collateral was meant to cover the position just closed. Once the marks cross the pinned prices, or the ADL backstop (five minutes by default) has passed since liquidation began, what is left is escalated to auto-deleveraging.

How far past the pin the venue will pay

The venue runs one of two liquidation modes. There is no middle setting.
  • Unbounded (the default). The terminal slice is limited at the edge of the market’s price band around the mark, or at the pinned price if that is farther: the book can take the position past the pinned price, and the insurance fund pays that distance on every unit filled, which the band bounds.
  • Zero. The terminal slice is limited at the pinned price itself, so no book fill can create bad debt: the fund pays nothing for execution, and what the book declines at that price waits for the crossing or the backstop.
The choice is a policy dial, not a safety mechanism: it trades fund draw against how many counterparties an event reaches. When the insurance fund is empty, the venue switches to Zero automatically and stays there until it is switched back once the fund is replenished — a fund with nothing left cannot pay for fills past the pin, so deleveraging takes over instead.

Queue priority

Pending liquidations are not processed first-in-first-out. Monaco orders them by absolute breach depth: D=max⁡(M−E, 0)D = \max(M - E,\ 0) The deepest deficit is served first, with arrival time and then bucket identity as tie-breakers. Age prevents similarly-placed buckets from being reordered forever, and priority is recomputed on every requeue, so a bucket that deteriorates between attempts moves up. Absolute depth rather than a ratio is deliberate. A small account with an extreme relative shortfall is less dangerous to the system than a large account with a milder ratio but a far larger dollar hole — and it is the dollars that reach the insurance fund.

Post-fill revalidation

The ladder never blindly continues to a worse price. After every attempt Monaco recomputes equity, the maintenance requirement and remaining exposure, then acts on the result:
  • Exposure fully closed and E' < 0 — liquidation stops and the deficit is crystallized as bad debt.
  • Exposure fully closed and E' >= 0 — liquidation stops and the bucket returns to normal.
  • E' >= M', and the bucket never fell below ¾M — liquidation stops and the bucket returns to normal.
  • E' < M', and the bucket never fell below ¾M — it stays in liquidation on the protected rung.
  • The bucket has fallen below ¾M at any point — it stays on the terminal rung, whatever E' now reads, until its exposure is fully closed.
The terminal rung is final. Once a bucket has fallen below the three-quarters line it is closed out completely, one market at a time, even if a mark rebound, a funding payment or a deposit later lifts it back above the line. In a cross-margin bucket, closing one market at its pinned price leaves the others at the bucket’s health from when it was pinned, so reading healthy again after one market is gone is not a recovery: the collateral was meant to cover the market just closed.

Bankruptcy price and bad debt

For a single position with signed quantity q (positive for long) and mark price S, bucket equity after a full close at price p is: E′(p)=E+q (p−S)E'(p) = E + q\,(p - S) The pinned price is the closeout price that makes post-close equity exactly zero: pbk=S−Eqp_{\text{bk}} = S - \frac{E}{q} For a long, execution below p_bk creates bad debt; for a short, execution above it does. The design rules are:
  • Protected liquidation cannot cross bankruptcy — its limit sits strictly inside the pin.
  • Terminal liquidation crosses it only in the Unbounded mode, where the insurance fund absorbs the difference. In the Zero mode, not at all.
  • Bad debt is crystallized only after exposure is closed, or after an explicit terminal closeout policy.
  • Insurance resolution is downstream of crystallized bad debt. It is not a substitute for liquidation execution.

Bad debt and the insurance fund

A risk bucket that ends flat with negative equity is in bad debt. The margin account has lost exactly the collateral allocated to that bucket and no more; the rest of the shortfall is the insurance fund’s. This holds for cross and isolated risk buckets alike, and it applies however the bucket became flat and insolvent — through liquidation, through auto-deleveraging, or through your own closing trade. While a bucket is in bad debt it is frozen:
  • Its allocation cannot change in either direction. Transfers into or out of it are refused; a top-up from the margin account does not release it.
  • The insurance fund pays the shortfall as it can, and each payment is credited to the bucket as it is made, so the bucket can be paid in parts. Once the shortfall is fully covered the bucket is settled flat: an isolated risk bucket closes, and a cross risk bucket returns to normal, empty.
  • If the insurance fund is empty, the bucket stays frozen until the fund can pay. Bad debt is never written off by hand; the fund is the only way out.

Liquidation fee

A liquidation slice is charged a fee derived from the maintenance margin it releases, evaluated at the step mark rather than at the fill price: feeuncapped=k ΔM=k (M(Nbefore)−M(Nafter))\text{fee}_{\text{uncapped}} = k\,\Delta M = k\,\bigl(M(N_{\text{before}}) - M(N_{\text{after}})\bigr) M(N) is the ladder’s piecewise maintenance-margin function, so \Delta M is a bracket difference rather than a flat rate times closed notional: a slice that closes a position across a tier boundary releases the whole marginal step, not just the tier-1 amount. The release fraction k is one half. That choice is what keeps a clip a survival path: with the mark unchanged and execution at the mark, a slice moves the bucket’s health E - M by (1 - k)\,\Delta M, so at k = ½ half the released maintenance margin is the fee and half is headroom the bucket keeps. At k = 1 the fee would consume the entire release and a clip could never restore health on its own. Slippage, a mark move, fee clamping, or rounding change the realized figure. The charged fee is capped by what the bucket still has — remaining cash and mark-to-market equity — and rounded down when a fee unit is configured. It is a junior claim: it never creates or deepens bad debt. What is collected is credited to the insurance fund.

Risk controls

Liquidation is aggressive on the terminal rung, but bounded:
  • Orders are internal, liquidation-originated, and reduce-only.
  • Orders are IOC and never rest on the book.
  • Price limits are derived from the bucket’s own pinned price rather than a flat band around the mark: the protected rung always, and the terminal rung in the Zero mode.
  • The mechanism requires a valid mark price and a tradable market state.
  • Before slicing, the liquidated bucket’s own resting orders are cancelled. Forced closes do not apply self-trade prevention: liquidation slices fill against resting orders from your other risk buckets and sub-accounts in price order, exactly as against anyone else’s, and count that depth as available; auto-deleveraging fills no resting orders and can close an opposing position your other risk buckets hold; a position it fully closes has its risk bucket’s resting reduce-only orders on that pair cancelled with AUTO_DELEVERAGING.
  • Every step publishes enough audit data to reconstruct queue priority, breach depth, the limit price used, attempted and filled quantity, and post-fill equity and maintenance requirement.
The key principle: protected liquidation preserves execution quality while the bucket can still afford it; terminal liquidation closes the position at a price fixed before the trouble started.

Auto-Deleveraging

ADL is the last tier, for one situation: the order book will not take a position at the price liquidation fixed for it, so the only remaining counterparties are the traders holding the other side. It is the only mechanism here that reaches into an account that did nothing wrong, so Monaco states its rules plainly, in advance, rather than leaving them to be discovered during an incident. Some exchanges rank traders by profitability and leverage, then close the single highest-ranked account first. That concentrates the entire cost of an event on one trader — usually the one who was most right about the market. Monaco does not rank by profitability. It asks, for every trader on the opposite side, where the fill would leave them — counting only the collateral they could not withdraw anyway — and reaches everyone it leaves covered before anyone it would push past zero. That first group is filled pro-rata by position size, so the cost spreads across the market in proportion to exposure rather than landing on one account. Being the most profitable trader in a market never makes you first; being the one with nothing behind the position does.

When ADL triggers

A risk bucket is auto-deleveraged when all of the following hold:
  • Auto-deleveraging is enabled for the venue.
  • The bucket is below three quarters of its maintenance margin, or has been at any point since this liquidation began (see Terminal rung).
  • Either the marks have crossed the pinned prices (the bucket’s equity, valued at those prices, is at or below zero), or the ADL backstop has passed since liquidation began: five minutes by default.
The pinned prices are where the bucket was committed to closing, so their crossing is the bucket’s bankruptcy. Short of it the bucket is still the order book’s: closing it at its pinned price would hand the trader’s remaining equity to the counterparties before the price ever reached their bankruptcy. Waiting costs the counterparties nothing until the crossing. A book that refuses the position meanwhile is retried about once a second, and how far past the pinned price the book may fill is the venue’s liquidation mode. The backstop bounds that wait. A market can stall short of a bucket’s pinned prices with nobody bidding, and funding keeps charging the bucket while it waits. Once the backstop has passed, the bucket is handed over at its pinned prices, crossed or not. ADL can therefore reach a bucket that is still solvent at the mark, and when it does, the counterparty is paid for the fill rather than charged, because a solvent bucket’s pinned price sits on the profitable side of the mark for whoever takes the other side of it. Once an episode starts it runs to completion. A mark that wicks back across the pinned price, or a deposit into the bucket, does not stop it. Monaco does not impose a floor below which ADL cannot happen. A small refused position is deleveraged like a large one. A floor would let small holes accumulate as uncovered bad debt with no mechanism to clear them; Monaco would rather deleverage a small position than quietly socialize an unbounded number of small losses.

Who is selected, and at what price

The pool is every risk bucket holding the opposite side of the refused position in that market — isolated and cross alike. Only the risk bucket being liquidated is excluded, along with buckets already frozen in bad debt. The same margin account’s other risk buckets are ordinary counterparties: if you are long in a cross bucket and short the same market in an isolated one, your own hedge can take the fill, with nothing leaving your account. An account that is itself being liquidated is eligible. When two accounts on opposite sides of the same market are both failing, closing them against each other is the only disposal that touches nobody solvent — and excluding them would leave both stuck, since neither could reach the other. Every counterparty in an episode fills at the same pinned price, and nothing is capped: once you are selected for a quantity, you fill that quantity at that price. What differs is who is reached first. The cost of a fill is the same for everyone: the gap between the pinned price and the mark, per unit. That gap can be negative — when the liquidating bucket is still solvent its pinned price sits on the profitable side of the mark, and the fill pays you. Your entry only decides which pocket a cost comes from: a trader who entered beyond the pinned price gives up unrealized profit they had not banked; a trader who entered inside it pays from posted collateral. That gap can matter more than it looks for a cross-margin account: a leg’s unrealized profit may be what is carrying a losing position in another market, so a fill that “pays” you can still leave your whole account short. Monaco therefore selects by where the fill leaves your whole account, in two stages, exhausting the first before touching the second. What counts as “your account” here is deliberately conservative. Monaco does not assume you will still be holding the collateral you hold right now — you are free to withdraw it, and the plan is made before the fill lands. It counts only what you could not take out if you tried: your initial margin, plus any unrealized gain across your positions, since the withdrawal gate never lets an unrealized gain fund a withdrawal. Collateral above that is yours to move and is not counted in your favour. Nor is margin you no longer have: if a position moved against you, what you actually hold is what counts.

1. Traders the fill leaves covered

Everyone whose account would still be at or above zero on those reserves after closing the whole position at the pinned price. This group is filled pro-rata by position size, with no cap — being in it already means the whole position fits — so the cost spreads across the market in proportion to exposure. As long as this group can absorb the refused position, nobody else is touched at all. A fill here can still leave your account under its maintenance requirement, in which case it enters the ordinary liquidation flow afterwards with equity still to liquidate. Selection protects your solvency, not your margin ratio. Being in profit is not what puts you in this group, and being at a loss is not what keeps you out. A loss your own initial margin covers is what that margin was posted for. Monaco does not rank counterparties by how profitable they are.

2. Traders the fill leaves past zero

Reached only when the first stage has no position left to give. These accounts become bankrupt themselves, and the same machinery that reached them runs for them: their remaining positions close at their own pinned price against their own markets’ opposite sides. The loss travels until it lands on accounts that can carry it. This stage closes a position in full rather than splitting it, and reaches the account it would leave closest to zero first. A partial close here would leave the loss sitting on a live position that has to be dealt with again later; closing it out settles it at a price already known.

What reaches the fund

The liquidated trader lands on exactly zero, always — the pinned price is by construction the price at which its equity reaches zero. A counterparty pushed past zero with positions still open carries the loss onward through its own episode. The only thing an episode charges to the insurance fund is a counterparty left flat and negative — no position left to carry the loss with — and it is charged by exactly that shortfall, recorded on the fill and settled as bad debt. Monaco meters it per episode, so an episode that consumed the fund is never indistinguishable from one that did not. Because perpetual bookkeeping is zero-sum, the opposite side always holds enough quantity to close the refused position in full. Every episode closes the position completely, with no human in the loop.

Slice sizes

ADL has no minimum slice size. A market fragmented into many small holdings must still be closeable, so no holding is too small to be reached. Partial slices are sized on the market’s lot step. Lots are allocated by largest remainder, and never to a holder outside the group currently being reached. A counterparty whose position is closed in full is closed at its exact size, on the lot step or not. The last part of the position being closed is always placed, even when it is smaller than one lot, so ADL never strands a sub-lot remainder. The position being closed may itself be off the market’s lot step. When the last counterparty reached takes only part of its position, that remainder lands on them. For example, a holder of 10 on a step of 1 who absorbs the final 0.5 is left holding 9.5, a size an ordinary order on that market cannot trade down to. You can always close it. A reduce-only order for exactly your full position size is accepted even when that size is off the lot step or below the minimum order size. A TP/SL set to close the position sizes itself to the live position in the same way. Only a partial reduce-only order has to sit on the lot step.

Your orders after an ADL fill

When ADL closes your position in full, your resting reduce-only orders on that market in that risk bucket are cancelled with it — there is no position left for them to reduce, and leaving them would let them fill against a position you open later. They end CANCELLED with the terminal reason AUTO_DELEVERAGING, not LIQUIDATION: you were deleveraged as a counterparty, not liquidated. Your other resting orders stay on the book. A risk bucket the fill left under its maintenance margin enters the ordinary liquidation flow, which cancels its resting orders as liquidation always does.

Episodes, and why you are told afterward

An ADL event is an episode. The pool, the price, and every slice are fixed at the moment the episode opens. Execution then proceeds in chunks that carry out that fixed plan — they never recompute it. Episodes run one at a time per bucket; a bucket with an episode already open is never re-planned underneath it. If a selected counterparty’s position has shrunk below their planned slice by the time their chunk executes, their slice is clamped to whatever they actually still hold. Nobody is ever over-closed, and the shortfall is not redistributed onto the other counterparties in the plan — it rolls into a follow-on episode that re-plans against fresh state. The price never changes: every fill is at the pinned price, which was fixed before the episode even opened, and where that leaves each counterparty is re-checked from their account as it stands at that moment. An episode, once open, runs to completion: a mark rebound, a funding payment or a deposit between open and chunk does not stop it. The counterparties keep the difference, as they would on a venue that took the position over. Only something external can carry it back. The episode’s own fills cannot: closing part of a position at its pinned price leaves the bucket exactly as far from that line as it was before, in proportion. So an ADL chain never accelerates itself into deleveraging more than it had to, and never stalls itself part-way through either. Notifications fire when an episode closes, not when it opens. This is intentional: Monaco does not announce the list of who is about to be closed before executing it. Be clear about what that does and does not mean. It is not a guarantee that an in-flight episode is unobservable. A counterparty filled in an early chunk sees that fill in their own position and balance straight away, well before the episode closes. And ADL fills print as trades — they appear on the public trades endpoint and are folded into candles, volume and last-price like any other trade. Anyone watching the tape can see an episode in progress.

Known gaps

Recorded here rather than discovered later:
  • Statements do not yet label ADL fills. An ADL fill appears as an ordinary fill.
  • Charts and share cards are not yet ADL-aware.
  • Public trade data does not label ADL fills either. To an outside observer they are indistinguishable from ordinary trades — visible, but not interpretable.
All three matter for the same reason. ADL prints off-market by construction — the pinned price is away from where the book last traded — and an unlabeled off-mark print is genuinely misleading. These are tracked as known debt rather than quietly deferred. For monitoring position risk and liquidation distance on your own account, see Margin and Positions.