TradingUpdated

Perp DEX leverage terms: room to liquidation and what is left

Adverse price move that liquidates a position, read from each venue's own published parameters and checked against real liquidations. The selector sets the leverage: the default puts each venue at its own maximum, which is not a like for like reading, and the fixed settings put every venue on the same leverage. No row is ranked, because more room is not the same as better terms.

Read this carefully

Parameters each venue publishes, converted to one model and checked against liquidations that happened. Gains and Nova: threshold, max leverage and the pair fee by eth_call on each one's Arbitrum diamond, checked against 11 Gains liquidations. Papertrade: the instrument tuple on /state/trading, checked as a ceiling on 384 adverse closes. dYdX: both margin fractions on the indexer. Hyperliquid publishes no maintenance requirement, so that row is derived from its documented halving rule.

Four figure leverage is the headline every perp venue leads with, and it says almost nothing on its own. Leverage is a denominator. What a trader needs is the numerator: how far the price can move against the position before the venue closes it, and how much of the collateral comes back when it does.

Each venue reduces to one parameter, the maintenance requirement it holds back as a share of the position's notional, plus whatever fees come out of the same collateral. What separates them is what sets that requirement. Gains ties it to the collateral, so its room falls close to proportionally with leverage. Papertrade fixes it in price at about five basis points, so it costs almost nothing at 10x and roughly half the margin at 1000x. The ranking inverts depending on which leverage you ask about, which is why the leverage selector is part of the measurement rather than a convenience.

Four of the five venues publish every input. Hyperliquid publishes its maximum leverage but not its maintenance requirement, which its documentation fixes at half the initial requirement, so that row alone is derived.

Methodology

For each venue the bench computes the adverse price move, in percent, that liquidates a position opened at the selected leverage on the market shown, the same figure in the unit venues quote among themselves, the venue's maximum leverage, and the share of collateral returned on liquidation. Everything is re-read every 5 minutes by the perp-cohort-stats harness. One model covers all five. A position at leverage L posts 1/L of notional as margin and is liquidated when its equity reaches the maintenance requirement m, also a share of notional. Any fee charged on the way in and out comes out of that same collateral, so the price has that much less distance to travel: room = 1/L - m - 2 x fee collateral lost = room x L dYdX publishes m directly. Hyperliquid's is half its initial requirement at maximum leverage. Gains publishes a liquidation threshold as a share of collateral, which makes m the complement divided by the leverage, and it charges a position size fee on both legs. Papertrade publishes a bust buffer already expressed as a share of price, and charges nothing on either leg. The fee term is not a modelling choice. Gains' threshold is 80 percent of collateral on the x500 pairs, which without fees would put the room at 0.1600 percent of price. Eleven real liquidations fired at a median 59.4 percent of collateral, 0.1189 percent of price, and two legs of the 0.02 percent fee at 500x are exactly the 20 point gap.

  • Cadence: every 5 minutes, on the perp-cohort-stats sweep. These are governance parameters, so they are read fresh rather than averaged, and every series is cleared each tick so a venue that lowers its maximum stops publishing the settings it no longer offers.
  • Leverage selector: the default view puts each venue at its own maximum, which compares venues at different leverages and is not like for like. The fixed settings put every venue on the same leverage; a venue whose maximum is below the selected setting is absent from that view rather than shown at a leverage it does not offer.
  • Markets: BTC and ETH only. They are the only two markets all five venues list, and the comparison means nothing across different assets.
  • Room formula, every venue: (1/leverage - maintenance requirement - 2 x fee) x 100, every term a share of notional. Collateral lost is that room times the leverage, which is the same measurement in the unit venues quote among themselves.
  • Gains and Nova, parameters: pairMaxLeverage, pairMinLeverage and getPairLiquidationParams by eth_call on each venue's Arbitrum diamond, Gains at 0xFF162c694eAA571f685030649814282eA457f169 and Nova at 0x1410FA3F87F6A6ea221E5D2aB608C23005eC34f3. The fee comes from the pair's fee group, word 9 of pairs() then word 0 of fees() at 1e10, the same read the perp-fees harness runs in production.
  • Gains and Nova, pairs: four per venue. The standard BTC and ETH pairs 0 and 1 run 1.1x to 200x; the x500 degen pairs 300 and 313 have a minimum equal to their maximum, so 500x is their only legal setting, and each leverage tab shows whichever product can be opened at it. Nova serves the identical 493-pair registry, so the same indices are the same assets, checked against its own registry rather than assumed.
  • Gains, checked against liquidations: percentProfit on the LimitExecuted log is the price move times leverage and nothing else, and our liquidation harness reproduces it on 120 of 120 real liquidations. Eleven liquidations on the two degen pairs give a median of 59.4 percent of collateral against the 60.0 percent this model predicts. The remaining gap is the borrowing fee, which accrues with holding time and is not a term at open.
  • Gains, collateral returned: zero at every leverage. amountSentToTrader is 0 on all 27 liquidations found across every pair from 7.5x to 500x. The threshold says when a position closes, not what comes back.
  • Papertrade: max leverage and the bust buffer from the instrument tuple on exchange.papertrade.xyz/state/trading. The buffer is a share of price and is an offset before the zero equity price, not the room itself: their documentation works the 1000x case and gives a move of about 0.052 percent, which is one tenth of a percent minus the buffer.
  • Papertrade, checked against closes: its contract is unverified, so the event fields were identified against external truth rather than an ABI. The price field matches the live Hyperliquid mid under the per instrument factor; the leverage field caps at exactly 1000, the documented maximum; and under the resulting reading the predicted bust distance is never crossed on 384 adverse closes, the closest reaching 92 percent of it.
  • Papertrade, collateral returned: zero. Their documentation calls crossing the bust price a hard bust that forfeits the full isolated margin even where a voluntary close immediately beforehand could return some equity. At 1000x that forgone equity is close to half the margin.
  • dYdX: initialMarginFraction and maintenanceMarginFraction from indexer.dydx.trade/v4/perpetualMarkets, both published per market, with the maximum leverage the reciprocal of the initial fraction. Neither venue's payload carries a fee we can read, so the dYdX and Hyperliquid rows carry no fee legs and their room is the parameter ceiling rather than a fee inclusive figure.
  • Hyperliquid: maxLeverage from the info meta endpoint. The maintenance requirement is not in the payload; its documentation fixes it at half the initial requirement at maximum leverage, so this row alone has a derived input and its share returned reads 50 percent at its maximum on every market by construction.
  • No row is ranked. More room before liquidation comes from holding back less maintenance margin, and the venue that holds back least is the one that keeps everything when it fires. A single ranking on this metric would reward that, whichever venue came out on top, so every row publishes without a rank.
  • Excluded: funding, borrowing, and the liquidation spread. All three move the real trigger closer than the figures here. A position held for days is liquidated by carry long before the price reaches these levels.
  • Cohort: perp venues in the harness that publish enough to compute the figures on BTC and ETH, 4 as of 2026-10-12. Venues that advertise high leverage but publish no maintenance parameter we can read are absent rather than estimated.

Results: 5 venues measured, 0 ranked by Room to liquidation (24h avg)

Perp DEX leverage terms: room to liquidation and what is left: Room to liquidation per venue (24h avg).
№VenuesRoom to liqCollateral lostMax leverageCollateral returned
Measured, not ranked: sample below the ranking floor
not rankedHyperliquidCustom L1 CLOB, maintenance requirement derived from the documented halving rule1.25%50.0%40.0x50.0%
not rankeddYdX v4Cosmos appchain orderbook, both margin fractions published per market0.80%40.0%50.0x60.0%
not rankedGainsSynthetic perps on Arbitrum, x500 cohort, threshold and fee read on chain0.12%60.0%500.0x0%
not rankedNovaThe same gTrade contract as Gains at a different address, priced higher0.12%60.0%500.0x0%
not rankedPapertradeHouse sided perps on Hyperliquid, bust buffer fixed in price, hard bust0.052%52.4%1000.0x0%

Frequently asked

What does room to liquidation mean?

It is the percentage the price has to move against a position before the venue closes it, for a position opened at the selected leverage with no margin added beyond the minimum. It is measured at the moment the position opens and excludes funding and borrowing, which push the real trigger closer every hour the position is held.

Why does the order change when I change the leverage?

Because venues set their maintenance requirement against different quantities. Gains ties it to collateral, so its room falls close to proportionally with leverage. Papertrade fixes it in price at about five basis points, so it barely matters at 10x and consumes roughly half the margin at 1000x. At low leverage Papertrade leaves the most room of the five; at its own maximum it leaves the least.

Why is nothing ranked?

Because more room is not the same as better terms. Room comes from holding back less maintenance margin, and the venue that holds back least is the one that keeps everything when it fires. A single ranking would reward that, whichever venue came out on top. The rows publish their figures and the reader picks the leverage that matches the question.

Why does Gains show less room than its own threshold implies?

Because the fee comes out of the same collateral the threshold is measured against. Its contract liquidates at 80 percent of collateral, which alone would be 0.16 percent of price at 500x, but the position pays 0.02 percent of notional on the way in and again on the way out, and at 500x those two legs are 20 points. Eleven real liquidations fired at a median 59.4 percent of collateral, which is 0.1189 percent of price, against the 0.12 percent this model predicts.

Does any venue give collateral back on a liquidation?

The two margin fraction venues do: dYdX returns 60 percent and Hyperliquid 50 percent at their own maxima. Neither high leverage venue does. Gains returned nothing on all 27 liquidations measured across every pair from 7.5x to 500x, and Papertrade's documentation calls crossing the bust price a hard bust that forfeits the full isolated margin.

How is the Papertrade row checked when its contract is unverified?

Against external truth rather than an ABI. Its price field matches the live Hyperliquid mid under the per instrument factor from its own instrument tuple, its leverage field caps at exactly the 1000 its documentation states, and under the resulting reading the predicted bust distance is never crossed on 384 adverse closes, the closest reaching 92 percent of it. A ceiling respected 384 times is a measurement, not a decode that happened to look right.

Why only BTC and ETH?

They are the only two markets all five venues list. Papertrade lists exactly two instruments; the other four list hundreds, but comparing one venue's BTC terms against another's altcoin terms would not mean anything.

Source code github.com/ChainBench/OpenChainBench/tree/main/harnesses/perp-cohort-stats