Documentation

level the field.

Auto-deleveraging (ADL), ticker $ADL, brings risk-based auto-deleveraging to perpetual futures exchanges. When a liquidation leaves a loss the exchange cannot absorb, someone's position gets closed. We think it should be the accounts closest to bankruptcy, drained down to one shared level, not a queue that hits the safest winners first.

Everything here builds on the paper “Risk-Based Auto-Deleveraging” by Steven Campbell, Natascha Hey, Ciamac C. Moallemi and Marcel Nutz (arXiv:2603.15963). The paper frames ADL as an optimization problem: choose the reductions that minimize the exchange's risk of future equity shortfalls. In the single-asset, isolated-margin setting, the answer is to minimize the maximum leverage across the accounts that get deleveraged.

How to read these docs

Getting started

why adl matters.

ADL is the last line of defence of a perp exchange. It is rare, it is fast, and it decides who pays.

On a perpetual futures exchange every long has a short. When an account's losses exceed its margin, the exchange liquidates it. Normally the position is taken over in the market or by a backstop (an insurance fund or a liquidity vault). In violent moves that is not always possible: the market is thin, the backstop is exhausted, or the price gaps through the bankruptcy price.

The remaining loss has to land somewhere. Auto-deleveraging closes positions on the other side of the bankrupt account, usually profitable ones, so that the book stays balanced and the exchange stays solvent. Traders who did nothing wrong lose their position at a price they did not choose.

The question ADL answers

Given a shortfall that must be closed, whose positions shrink, and by how much? That choice matters twice: it is a fairness question for the traders involved, and it is a risk question for the exchange, because the accounts left standing after ADL determine how exposed the exchange is to the next move.

October 10, 2025

On October 10, 2025, during extreme volatility, Hyperliquid ran ADL on a large number of positions. The paper applies its framework to this event and finds that the risk-minimizing allocations achieve lower expected shortfall than the allocation the exchange actually realized. Our public 10.10 replay is in build; we will publish its data and method when it is ready, and we do not quote numbers we have not reproduced.

Getting started

core concepts.

Three quantities are enough to follow everything else: leverage, distance to bankruptcy, and the shortfall Q.

Leverage

An account (or an isolated position) has a notional n, the size of the position at the current price, and an equity e, the collateral plus unrealized PnL. Leverage is their ratio.

leverage L=notional / equity = n / e
distance to bankruptcy d=1 / L = e / n

Distance to bankruptcy

If the price moves against the position by a fraction d, the loss is d·n. The account is bankrupt when that loss equals its equity: d·n = e, so d = e / n = 1 / L. At 1× a position survives a 100% adverse move; at 10× it survives 10%; at 100× a 1% move wipes it out.

1×100%2×50%5×20%10×10%25×4%50×2%100×1%
Adverse move that bankrupts an account, by leverage. The scale is linear: at high leverage the bar almost disappears.
LeverageDistance to bankruptcyLong bankrupt at (mark = 100)
1×100%0
2×50%50
5×20%80
10×10%90
25×4%96
50×2%98
100×1%99

The shortfall Q

When ADL triggers, there is an amount of position, which we write as notional Q, that has to be closed against the opposing side. ADL distributes Q across opposing accounts: account i is reduced by ri ≥ 0, never more than its notional, with Σ ri = Q. Every ADL rule is just a different way to choose the ri.

Σ rᵢ=Q
leverage after=(nᵢ − rᵢ) / eᵢ

Simplification used throughout these docs: equity is held fixed during the reduction (positions are closed at the reference price), so reducing notional reduces leverage proportionally. This matches the single-asset, isolated-margin setting of the paper.

The mechanism

queue-based adl today.

Most venues rank opposing positions by a score and close them in order until the shortfall is covered.

Exchange implementations differ and are not always fully public, but the common pattern is a queue: score every opposing position by a mix of profit and leverage, sort, and close from the top until Q is filled. In our simulator we use a simplified score of PnL% × leverage, closing whole positions in order.

Where a queue goes wrong

  • It can hit the safest accounts. A big winner at low leverage scores high on PnL and gets closed, even though it is far from bankruptcy and carries little risk for the exchange.
  • It can leave the most fragile accounts untouched. A 45× account with a small loss has a score near zero, so after ADL the exchange still carries an account that a ~2% move bankrupts.
  • All or nothing. The account at the top of the queue absorbs as much of Q as it can, rather than the burden being spread by risk.
  • Rank-based rules invite games. Any score that depends on entry prices, PnL history or account boundaries gives traders something to manipulate. The properties of the risk-based rule are listed in Properties.
Queue (PnL% × leverage)closes the biggest winner, a 6× accountmax leverage 45×Risk-based leveldrains the three accounts above 30×max leverage 30×
Same 12-account book, same Q = $660,000. The queue closes 0xa44d (6×, +180% PnL) almost entirely and the maximum leverage stays at 45×. The level drains the top three to 30×.

The mechanism

risk-based adl.

Minimize the maximum leverage left in the book. In practice: drain the most levered accounts first, down to one common level t*.

Minimax leverage

The paper treats ADL as an optimization: pick reductions that minimize the exchange's risk of future equity shortfalls. In the single-asset, isolated-margin setting, the optimal policy is the one that minimizes the maximum leverage after ADL. Remarkably, this holds for all monotone risk measures, so the exchange does not need to pick a model of future prices or a specific risk metric to get the same answer.

minimize over rᵢ:maxᵢ (nᵢ − rᵢ) / eᵢ
subject to:Σ rᵢ = Q, 0 ≤ rᵢ ≤ nᵢ

Water-filling, or leverage draining

The minimax solution has a simple shape. Picture each account as a bar whose height is its leverage. Lower a horizontal line from the top. Every bar sticking out above the line is trimmed to the line. Stop when the trimmed amount equals Q. The line's height is the level t*.

rᵢ=max(0, nᵢ − t*·eᵢ)
t* solves=Σ max(0, nᵢ − t·eᵢ) = Q
0×10×20×30×40×50×45×0x3f1a38×0x06fb32×0x91c228×0x7b0e24×0x5d3722×0xf6c418×0x2c9f14×0x48d19×0xc2a86×0xa44d4×0xb93e3×0xe810t* = 30× · 3.33%reduced, kept at t*drained (sums to Q = $660,000)untouched (below t*)
The demo book with Q = $660,000. Three accounts sit above 30× and are drained to exactly 30×; nine accounts are untouched. After ADL, no account is closer than 3.33% to bankruptcy.

The function cut(t) = Σ max(0, nᵢ − t·eᵢ) is continuous and decreasing in t: it is zero at the highest leverage in the book and equals the total notional at t = 0. So for any 0 < Q < Σ nᵢ there is exactly one t* with cut(t*) = Q, and it can be found by sorting or simply by bisection.

The algorithm, step by step

  1. Sort the opposing accounts by leverage, highest first.
  2. Grow the top group one account at a time, keeping running totals of its equity E and notional N.
  3. Test the segment. If the group were drained down to the next account's leverage, it would release N − next·E. Once that is at least Q, t* lies inside this segment.
  4. Solve exactly: t* = (N − Q) / E.
  5. Reduce every account by max(0, nᵢ − t*·eᵢ). Accounts already at or below t* keep their full position.
water-filling · pseudo-code
// Input: accounts i = 1..n with notional n_i > 0 and equity e_i > 0, shortfall Q
// Output: level t* and reductions r_i, with sum(r_i) = Q
 
sort accounts by leverage L_i = n_i / e_i, desc       // L_1 >= L_2 >= ... >= L_n
if Q >= sum(n_i) then return t* = 0                    // close everything
E = 0; N = 0
for k = 1 to n
  E = E + e_k                                          // equity of the top k
  N = N + n_k                                          // notional of the top k
  next = (k < n) ? L_(k+1) : 0
  if N - next * E >= Q then                            // draining top k to "next" covers Q
    t* = (N - Q) / E                                   // exact level inside this segment
    break
for each account i
  r_i = max(0, n_i - t* * e_i)                         // drain down to t*, never below
level.ts
export function level(accts: { n: number; e: number }[], Q: number): number {
  const s = [...accts].sort((a, b) => b.n / b.e - a.n / a.e);
  const total = s.reduce((x, a) => x + a.n, 0);
  if (Q <= 0) return s.length ? s[0].n / s[0].e : 0;
  if (Q >= total) return 0;
  let E = 0, N = 0;
  for (let k = 0; k < s.length; k++) {
    E += s[k].e;
    N += s[k].n;
    const next = k + 1 < s.length ? s[k + 1].n / s[k + 1].e : 0;
    if (N - next * E >= Q) return (N - Q) / E;
  }
  return 0;
}
 
// cut(t) = sum max(0, n_i - t * e_i): continuous and decreasing in t
export const cut = (accts: { n: number; e: number }[], t: number) =>
  accts.reduce((x, a) => x + Math.max(0, a.n - t * a.e), 0);

Complexity: O(n log n) for the sort, O(n) for the scan. Verifying a proposed t is a single O(n) pass with no sort, which is what makes the on-chain verifier cheap.

The mechanism

worked example.

The 12-account demo book from the landing-page simulator, with a shortfall of Q = $660,000.

The book, sorted by leverage

AccountEquityNotionalLeverageDistance
0x3f1a$20,000$900,00045×2.22%
0x06fb$30,000$1,140,00038×2.63%
0x91c2$60,000$1,920,00032×3.13%
0x7b0e$15,000$420,00028×3.57%
0x5d37$25,000$600,00024×4.17%
0xf6c4$18,000$396,00022×4.55%
0x2c9f$40,000$720,00018×5.56%
0x48d1$35,000$490,00014×7.14%
0xc2a8$50,000$450,0009×11.11%
0xa44d$120,000$720,0006×16.67%
0xb93e$90,000$360,0004×25.00%
0xe810$80,000$240,0003×33.33%

Totals: equity $583,000, notional $8,356,000.

Scan the segments

kTop-k groupE (equity)N (notional)Next leverageN − next·E≥ Q?
10x3f1a$20,000$900,00038×$140,000no
20x3f1a, 0x06fb$50,000$2,040,00032×$440,000no
30x3f1a, 0x06fb, 0x91c2$110,000$3,960,00028×$880,000yes

At k = 3 the top group (0x3f1a, 0x06fb, 0x91c2) can release $880,000 before reaching the next account's 28×, which is more than Q. So t* is in this segment:

t*=(N − Q) / E = (3,960,000 − 660,000) / 110,000
=3,300,000 / 110,000 = 30×

Result

AccountBeforeReduction max(0, n − 30·e)AfterLeverage after
0x3f1a$900,000$300,000$600,00045× → 30×
0x06fb$1,140,000$240,000$900,00038× → 30×
0x91c2$1,920,000$120,000$1,800,00032× → 30×
Total$660,000other 9: unchanged

Check: 300,000 + 240,000 + 120,000 = 660,000 = Q. The maximum leverage falls from 45× to 30×, so every account left in the book can now survive a 3.33% adverse move.

Compared with the queue

The simplified queue (score = PnL% × leverage) ranks 0xa44d first (+180% × 6× = 10.8) and closes $660,000 of its $720,000. Its leverage drops from 6× to 0.5×, while 0x3f1a, 0x06fb and 0x91c2 keep 45×, 38× and 32×.

Illustrative stress: uniform adverse moveNo ADLQueueWater-filling
Maximum leverage after ADL45×45×30×
Bad debt after a further 3% move$11,200$11,200$0
Bad debt after a further 5% move$100,800$100,800$67,800

The mechanism

properties.

Four properties stated in the paper, with the intuition for each.

01Distribution-free

The optimal policy does not depend on a model of future prices. Minimax leverage is optimal for every monotone risk measure in the single-asset, isolated-margin setting.

02Wash-trade resistant

The rule looks only at current notional and equity. Inflating PnL or faking entry prices through wash trades does not move an account to a better spot.

03Sybil resistant

Splitting one account into many does not reduce the total amount drained from them.

04Path-independent

Running ADL for Q₁ and then for Q₂ gives the same final book as running it once for Q₁ + Q₂.

Why splitting does not help

Split an account (n, e) into pieces (nⱼ, eⱼ) with Σ nⱼ = n and Σ eⱼ = e. The amount drained at level t is Σ max(0, nⱼ − t·eⱼ). Because max(0, ·) is convex and positively homogeneous, it is subadditive:

max(0, n − t·e)=max(0, Σ (nⱼ − t·eⱼ)) ≤ Σ max(0, nⱼ − t·eⱼ)

Splitting at equal leverage changes nothing; splitting unevenly can only increase the total cut. There is no gain from Sybil accounts.

Why order does not matter

After a first ADL at level t₁, every account above t₁ sits exactly at t₁. A second ADL lowers the line further to t₂ < t₁ and trims the same accounts (and maybe more) to t₂. The final state, everyone above t₂ at t₂, is exactly what a single ADL for Q₁ + Q₂ would produce. Many small events equal one large one.

The mechanism

cross-margin & factor-adjusted leverage.

Real accounts hold several assets on one margin balance. The idea extends, with one new ingredient.

Under cross-margin, an account's equity backs all of its positions at once, and positions in different assets can offset or compound each other. “Leverage” of a single position is no longer well defined.

Shadow prices

The paper extends the problem to multiple assets with cross-margin. The solution is characterized through asset-level shadow prices: each asset gets an implied cost of risk, and reductions are allocated according to these prices rather than by raw notional alone.

One risk factor: factor-adjusted leverage

When asset returns are driven by a single risk factor, the optimum is again water-filling, now in a factor-adjusted leverage: the account's exposure to the common factor relative to its equity. Intuitively, a long BTC and a long ETH position on the same equity both load on the same market move, so they count together.

factor exposure=Σₖ βₖ · nₖ (signed, over assets k)
factor-adjusted leverage=|Σₖ βₖ · nₖ| / e

Products

overview & status.

What exists, what is being built, and what is only an idea. We keep this table honest.

ProductWhat it isStatus
ADL RadarWeb app: leverage, distance to bankruptcy, liquidation price and market risk for Hyperliquid wallets; fair-ADL simulator; local watchlist.Beta · in build
Radar alertsTelegram, X and push alerts when a watched position nears bankruptcy.Planned
10.10 replayPublic replay of the October 10, 2025 Hyperliquid ADL event: realized vs risk-based allocations. No data published yet.In build
SimulatorQueue vs water-filling on a sample book, in the browser, on the home page. Open-source release planned.Live demo
ADL EngineOpen-source on-chain module: keeper computes t*, contract verifies it in O(n).Planned · Q1 2027
ADL CoverExploratory idea. Research starts only after an external audit.Research only

10.10 replay

The replay will reconstruct the October 10, 2025 event from public data and compare the realized ADL allocation with the water-filling allocation on the same book. It is in build and we have no published data yet. When it ships it will include its data sources and method so that anyone can check it.

ADL Cover

ADL Cover is a research direction, not a product. There are no terms, prices or pools. Research begins only after an external audit. Anything claiming to sell ADL Cover today is not us.

Products

adl radar.

Know your distance. Radar reads public Hyperliquid data and turns it into the numbers that matter when ADL is near.

Open Radar Beta · in buildRead-only. No wallet connection, no keys.

Data sources

Radar uses Hyperliquid's public info API (POST https://api.hyperliquid.xyz/info). Two request types cover everything it shows.

Request typeWhat Radar uses
metaAndAssetCtxsMarket list and max leverage per asset; per-market context such as mark and oracle price, funding, open interest and 24h volume.
clearinghouseStateAny wallet's account value and margin summary, plus each open position: size, entry price, position value, unrealized PnL, margin used, leverage setting and liquidation price.
markets
curl -s https://api.hyperliquid.xyz/info \
  -H 'Content-Type: application/json' \
  -d '{"type":"metaAndAssetCtxs"}'
a wallet's positions
curl -s https://api.hyperliquid.xyz/info \
  -H 'Content-Type: application/json' \
  -d '{"type":"clearinghouseState","user":"0xYourWalletAddress"}'

Metrics & formulas

MetricFormulaNotes
Notional n|size| × markPosition value at the current mark price.
Equity emargin + unrealized PnLIsolated: the position's own margin. Cross: account value, shared by all positions.
Leverage Ln / eEffective leverage, not the leverage setting you chose.
Distance to bankruptcy1 / L = e / nAdverse move that takes equity to zero.
Bankruptcy pricemark × (1 ∓ 1/L)Minus for longs, plus for shorts. Ignores fees and funding.
Liquidation pricefrom the APIReached before the bankruptcy price because of maintenance margin.
Distance to liquidation|mark − liq| / markShown next to distance to bankruptcy.
Market riskOI × mark, funding, premium, volumeContext per market: how crowded and stretched it is. Inputs are shown, not hidden in a score.
Fair level t*Σ max(0, nᵢ − t·eᵢ) = QComputed in your browser by the simulator, on the accounts you loaded.
radar-metrics.ts
// How Radar derives its numbers from one position (simplified).
interface Pos {
  notional: number;              // |size| x mark
  equity: number;                // margin + unrealized PnL (isolated) or account value (cross)
  mark: number;
  side: "long" | "short";
  liqPx: number | null;          // liquidationPx from clearinghouseState
}
 
export function metrics(p: Pos) {
  const lev = p.notional / p.equity;                 // L = n / e
  const dist = 1 / lev;                              // adverse move to bankruptcy
  const bankruptPx = p.side === "long" ? p.mark * (1 - dist) : p.mark * (1 + dist);
  const toLiq = p.liqPx ? Math.abs(p.mark - p.liqPx) / p.mark : null;
  return { lev, dist, bankruptPx, toLiq };
}

Fair-ADL simulator & watchlist

The simulator takes the accounts you have loaded, lets you pick a shortfall Q, and runs water-filling locally to show the level t* and each account's reduction next to a queue-style allocation. The watchlist is stored in your browser's local storage on your device. Alerts by Telegram, X and push are planned, not live.

Limitations

  • Partial view. The public API returns state per wallet; it does not enumerate every account. The simulator's t* is computed on the wallets you load, not the exchange's full book.
  • Not the exchange's queue. Radar does not reproduce Hyperliquid's own ADL ordering. It shows risk metrics and what a risk-based rule would do.
  • Cross-margin. Per-position equity is not uniquely defined under cross-margin. Radar shows account-level leverage for cross positions; factor-adjusted leverage is on the roadmap.
  • Snapshots. Numbers are a snapshot at request time and can be stale within seconds in a fast market.
  • Approximations. Bankruptcy prices ignore fees, funding and price impact.

Products

adl engine.

Compute off-chain, verify on-chain. An open-source module that lets an exchange run risk-based ADL with a check anyone can audit.

Planned · Q1 2027Everything in this section is a design sketch. Nothing is deployed or audited.

Architecture

Finding t* needs a sort, which is expensive on-chain. Checking a proposed t needs only one pass. So the work is split: a keeper computes t* off-chain, and a verifier contract accepts it only if the cut at t equals Q.

01 · ExchangeShortfall eventEmits Q and a snapshot (or commitment) of the opposing accounts: notional, equity.
02 · Off-chainKeeper finds t*Sorts by leverage, solves Σ max(0, nᵢ − t·eᵢ) = Q. Anyone can run one.
03 · On-chainVerifier checks tRecomputes the cut at t in one pass. Accepts only if |cut − Q| ≤ tolerance.
04 · ExchangeApply reductionsReduces each account by max(0, nᵢ − t·eᵢ). Accounts at or below t are untouched.
Keeper proposes, contract verifies, exchange applies. A wrong t simply fails verification.

Verifier spec

  1. Inputs: the account set (owner, notional nᵢ, equity eᵢ), a proposed level t, the shortfall Q and a tolerance.
  2. Pass: for each account, cap = t·eᵢ; if nᵢ > cap add nᵢ − cap to cut. No sorting, no storage writes.
  3. Check: accept iff |cut − Q| ≤ tol. Because cut(t) is decreasing in t, a tight tolerance pins t close to the unique t*.
  4. Reductions: rᵢ = max(0, nᵢ − t·eᵢ), deterministic given t. Accounts at or below t are untouched.
IADLEngine.solSketch · not deployed · not audited
// SPDX-License-Identifier: MIT
// SKETCH: not deployed, not audited. Names, units and signatures may change.
pragma solidity ^0.8.24;
 
/// Units: t is leverage as a 1e18 fixed-point number (30x = 30e18).
/// notional, equity and q use the exchange's collateral units (e.g. 1e6 for USDC).
interface IADLEngine {
    struct Account {
        address owner;
        uint256 notional; // n_i > 0, position notional at the reference price
        uint256 equity;   // e_i > 0, equity backing the position
    }
 
    event LevelVerified(bytes32 indexed eventId, uint256 t, uint256 q, uint256 cut);
    error LevelMismatch(uint256 cut, uint256 q);
 
    /// One O(n) pass: cut = sum max(0, n_i - t * e_i). ok iff |cut - q| <= tol.
    function verify(Account[] calldata accts, uint256 t, uint256 q, uint256 tol)
        external pure returns (bool ok, uint256 cut);
 
    /// Reductions at level t: r_i = max(0, n_i - t * e_i).
    function reductions(Account[] calldata accts, uint256 t)
        external pure returns (uint256[] memory r);
}
ADLMath.solSketch · not audited
// SKETCH: not deployed, not audited.
library ADLMath {
    uint256 internal constant WAD = 1e18;
 
    function cutAt(IADLEngine.Account[] calldata a, uint256 t)
        internal pure returns (uint256 cut)
    {
        for (uint256 i; i < a.length; ) {
            // notional allowed at level t, rounded down
            uint256 cap = (t * a[i].equity) / WAD;
            if (a[i].notional > cap) cut += a[i].notional - cap;
            unchecked { ++i; }
        }
    }
 
    function within(uint256 x, uint256 y, uint256 tol) internal pure returns (bool) {
        return x > y ? x - y <= tol : y - x <= tol;
    }
}

Keeper flow

  1. Listen for a shortfall event (event id, Q, side).
  2. Read the committed account snapshot for that event.
  3. Compute t* with the sort-and-scan algorithm and convert it to fixed point.
  4. Dry-run verify; if it passes, submit executeADL. The exchange verifies again on-chain.
keeper.tsSketch
// Keeper (sketch): permissionless, off-chain. Anyone can run one.
exchange.on("Shortfall", async ({ eventId, q }) => {
  const accts = await exchange.snapshot(eventId);       // [{ owner, notional, equity }]
  const t = level(accts, q);                            // sort + scan, O(n log n)
  const tWad = toWad(t);                                // fixed-point, see "rounding"
  const [ok, cut] = await engine.verify(accts, tWad, q, TOL);
  if (!ok) throw new Error(`level rejected: cut ${cut} vs q ${q}`);
  await exchange.executeADL(eventId, accts, tWad);      // exchange re-verifies on-chain
});

Tolerance & rounding

  • t is a 1e18 fixed-point number, and each cap t·eᵢ is rounded down, so each drained account can contribute up to one unit of rounding to the cut.
  • A tolerance of roughly one unit per account, plus the effect of t's own quantization, absorbs this. A loose tolerance lets t drift, which shifts reductions slightly; keep it as tight as the units allow.
  • Rounding t up makes cut ≤ Q; any dust Q − cut (within tolerance) is settled by the exchange's own rule, for example from its backstop.
  • Edge cases: Q = 0 is a no-op; Q ≥ Σ nᵢ means t = 0 and everything closes; accounts with zero equity must be handled by liquidation first.

Integration

An exchange integrates by committing the opposing account set when a shortfall is recorded, then exposing an entry point that calls verify and, only if it passes, applies the reductions.

Exchange.sol (excerpt)Sketch · not audited
// SKETCH: how an exchange contract would call the engine. Not deployed, not audited.
function executeADL(bytes32 eventId, IADLEngine.Account[] calldata accts, uint256 t) external {
    // 1. the account set must be the one committed when the shortfall was recorded
    require(keccak256(abi.encode(accts)) == snapshotHash[eventId], "ADL: wrong account set");
    uint256 q = shortfall[eventId];
 
    // 2. verify the level in one pass
    (bool ok, uint256 cut) = engine.verify(accts, t, q, TOL);
    if (!ok) revert IADLEngine.LevelMismatch(cut, q);
 
    // 3. apply the reductions; accounts at or below t get r_i = 0
    uint256[] memory r = engine.reductions(accts, t);
    for (uint256 i; i < accts.length; ++i) {
        if (r[i] > 0) _reduce(accts[i].owner, r[i]);
    }
    delete shortfall[eventId];                          // one execution per event
    emit IADLEngine.LevelVerified(eventId, t, q, cut);
}

Venues whose matching and clearing do not run on an EVM chain can run the same check in their native engine. The contract is the reference implementation of the rule.

Gas considerations

  • Linear, no sort. Cost grows with the number of accounts in the set: calldata for each (owner, notional, equity) plus a multiply, a divide and a compare.
  • Calldata dominates for large sets. Hashing the set against the snapshot commitment is another O(n) pass.
  • Very large books can be verified in chunks that accumulate a partial cut in storage, finalized by a last call that checks the total.
  • Future work: only accounts above t contribute to the cut. Skipping the rest needs a proof that they are at or below t, for example a sorted commitment. Not part of the first version.

Security model

  • The keeper is not trusted. A wrong t fails verification; the keeper cannot pick who gets cut. Anyone can run a keeper, so one offline keeper cannot stall ADL.
  • The account set is the trust point. Leaving accounts out would shift the burden onto the rest. The set must be committed by the exchange at the moment of the shortfall.
  • Inputs come from the exchange. Notional and equity depend on the exchange's reference price; oracle manipulation affects them before ADL ever runs.
  • One execution per event, and standard care around reentrancy in the exchange's reduce function.
  • Not audited. The code here is a sketch. It will be published open source and audited externally before anyone should rely on it.

Limitations

  • Data availability of the full opposing account set at shortfall time is a requirement, not something the verifier can prove on its own.
  • Ordering. Several shortfalls close together are applied in sequence. Path independence holds when equities are unchanged between them; in practice prices move between events.
  • Cross-margin needs factor-adjusted leverage instead of plain notional / equity; that extension is on the Q1 2027 roadmap.

Project

$adl token.

A memecoin named after the most hated button in perps, backing the tools that make it fair.

Ticker$ADL
TypeMemecoin
Contract addressComing soon · not launched
Official sourcesThis site and our official X account only

Planned utility

  • Premium Radar for holders: wallet watch, multi-wallet views, faster alerts (planned).
  • Buybacks: ADL Engine integration fees and, later, ADL Cover fees fund $ADL buybacks (planned).

Project

roadmap.

Quarters, not promises. Plans can change as we learn.

Q4 2026Now
  • $ADL launch, contract address published here
  • ADL Radar beta
  • The 10.10 replay, public
  • Open-source simulator
Q1 2027Next
  • ADL Engine and on-chain verifier, open source
  • Factor-adjusted leverage for cross-margin
  • Integrations with perp builders
  • ADL Cover research, only after an external audit

Project

risks & disclaimers.

Plain language, because it matters.

  • No financial advice. Nothing on this site or in these docs is investment, trading, legal or tax advice.
  • Perpetual futures are extremely risky. Leverage can wipe out an account in a small move, and ADL can close a profitable position without your consent.
  • Memecoins are extremely risky. $ADL can lose all of its value. Only use money you can afford to lose.
  • Independent. The project is not affiliated with the paper's authors, Hyperliquid or any exchange. Mentions of exchanges describe public behaviour and public data.
  • Research, simplified. These docs simplify a technical paper. Where they differ, the paper is authoritative.
  • Software risk. Radar is beta software and can show wrong or stale data. The Engine is an unaudited sketch.
  • Statuses change. Roadmap items are plans, not commitments.

Reference

faq.

Is ADL Radar live?

It is in beta and being built now at /app. It reads public Hyperliquid data. Alerts are planned, not live.

Do I need to connect a wallet?

No. Radar is read-only: paste any address. Your watchlist stays in your browser.

Does this change how Hyperliquid runs ADL?

No. Radar shows what a risk-based rule would do. Only an exchange can change its own ADL rule; the Engine is meant to make that easy for exchanges that want to.

Why drain the highest leverage first?

Because 1 / leverage is the move that bankrupts an account. The most levered accounts are the most likely to create the next shortfall, and the paper shows minimizing the maximum leverage is optimal in the single-asset, isolated-margin setting.

Is the Engine audited?

No. It is a planned, open-source module. Code in these docs is a sketch, not deployed and not audited.

Where is the $ADL contract address?

Coming soon. It will be published on this site and our official X account only.

Are you affiliated with the paper's authors?

No. We build on their public paper and are independent of the authors and of any exchange.

What numbers did the paper report for October 10, 2025?

The abstract states that risk-minimizing allocations achieve lower expected shortfall than the realized allocation. We do not quote further figures until our own replay reproduces them.

Reference

glossary.

ADL (auto-deleveraging)
Closing opposing positions to absorb a loss that liquidation and the backstop could not cover.
Notional (n)
Position size times the current price.
Equity (e)
Collateral plus unrealized PnL backing a position or account.
Leverage (L)
Notional divided by equity.
Distance to bankruptcy
1 / L: the adverse price move that takes equity to zero.
Bankruptcy price
The price at which equity is exactly zero.
Liquidation price
The price at which the exchange liquidates, before bankruptcy, because of maintenance margin.
Shortfall (Q)
The notional that ADL must close against the opposing side.
Level (t*)
The common leverage that all drained accounts are reduced to under water-filling.
Water-filling / leverage draining
Reduce the most levered accounts first, down to a common level, until Q is covered.
Minimax leverage
The policy that minimizes the maximum leverage remaining after ADL.
Monotone risk measure
A risk measure that never rates a uniformly worse loss as less risky.
Expected shortfall
The average loss in the worst tail of outcomes.
Isolated margin
Each position has its own margin.
Cross-margin
One margin balance backs all positions of an account.
Shadow price
The implied marginal cost of risk of an asset in the multi-asset problem.
Factor-adjusted leverage
Leverage measured by an account's exposure to a common risk factor, relative to its equity.
Keeper
An off-chain bot that computes t* and submits it for verification.
Sybil
Splitting one participant into many accounts.
Wash trade
Trading with yourself to fake prices, volume or PnL.

Reference

references.

  1. Steven Campbell, Natascha Hey, Ciamac C. Moallemi, Marcel Nutz. “Risk-Based Auto-Deleveraging.” arXiv:2603.15963, v1 16 Mar 2026, v2 16 Jul 2026. arxiv.org/abs/2603.15963
  2. Hyperliquid API documentation, info endpoint. hyperliquid.gitbook.io
  3. Demo book and allocation code used in these docs: src/lib/waterfill.ts (simulator on the landing page).

Last updated November 2026.

© 2026 Auto-deleveraging (ADL) · Independent project, not affiliated with the paper's authors or any exchange. Not financial advice.Back to home