Skip to content本文へ移動

How Perpetual DEXs Work · Perpetual Contracts · 3/4

Margin & Liquidation

Leverage is what makes perpetual futures both powerful and dangerous. Understanding margin and liquidation isn't optional — for traders it's survival, and for market operators it's the machinery that keeps a market solvent. A correct directional call with wrong position sizing can end in the same place as a wrong call: zero.

What Is Margin?

Margin is the collateral you deposit to open a leveraged position. Instead of putting up the full value of a trade, you put up a fraction; the margin exists to absorb your losses.

If you want to open a $100,000 BTC-PERP position:

The margin is your skin in the game. When your losses approach your margin, bad things happen.

Initial Margin vs Maintenance Margin

Two critical thresholds govern every leveraged position:

Initial Margin (IM): The minimum collateral required to open a position. It is notional / leverage, so the leverage you choose sets it, up to the asset's maximum leverage.

Maintenance Margin (MM): The minimum collateral required to keep a position open. It is always lower than the initial margin. On Hyperliquid it is set to half of the initial margin at the asset's max leverage — so it depends on the asset, not on the leverage you picked (Margining docs).

Example on Hyperliquid for BTC-PERP (as of October 2026, from the live meta endpoint and Margin tiers):

How Liquidation Works

Liquidation is the forced closure of your position when your equity falls below the maintenance requirement. On Hyperliquid the sequence is (Liquidations docs):

  1. You open a $100,000 long BTC-PERP at $60,000 with $10,000 isolated margin (10x)
  2. BTC falls to about $54,700 (by the mark price, not the last trade) — your equity is now about the $1,250 maintenance margin
  3. The liquidation engine sends market orders for the position to the order book. For positions above $100,000, only 20% is sent in the first liquidation order
  4. If the book closes enough of the position, any remaining collateral stays with you — Hyperliquid charges no separate clearance fee
  5. If equity drops below 2/3 of maintenance margin without the book absorbing the position, a backstop liquidation transfers it to the liquidator vault (a component of HLP), and the remaining maintenance margin is not returned

The backstop is the venue's buffer — what other exchanges call an insurance fund. If even that is not enough and an account goes negative, auto-deleveraging (ADL) closes profitable positions on the opposite side at the previous mark price, ranked by profit and leverage, so the venue never carries bad debt (ADL docs). Each HIP-3 DEX has its own on-chain backstop liquidator for assets with cross margin enabled, and falls back to ADL (HIP-3 docs).

Cross Margin vs Isolated Margin

This is one of the most important decisions a trader makes on any perp DEX:

Isolated Margin

Cross Margin

On Hyperliquid, cross margin is the default. Some assets are strict isolated (margin cannot be removed). HIP-3 DEXs also support a "no cross" mode, and enabling cross margin on a HIP-3 asset is irreversible and subject to validator eligibility standards (Margining docs, HIP-3 docs).

Practical Liquidation Examples

Both examples use Hyperliquid's ETH-PERP parameters (25x max leverage, so 2% maintenance margin) and the liquidation price formula.

Scenario 1: Isolated Margin Long

Scenario 2: Cross Margin Long

For cross positions, the leverage you set doesn't change the liquidation price — only how much of the balance is reserved as initial margin. Cross margin gives you more room to be right, but the downside is your whole account.

Liquidation Cascades

One of the most dangerous phenomena in leveraged markets is the liquidation cascade:

  1. Price drops sharply, liquidating long positions
  2. Liquidations are market sells, pushing the price down further
  3. Lower price triggers more liquidations
  4. Those liquidations push the price even lower
  5. Repeat until the cascade exhausts itself

This is why you see violent wicks in crypto. Design choices such as a robust mark price, partial liquidations of large positions and a backstop liquidator are there to dampen cascades, but they cannot remove them — thin books make them worse.

What This Means for Market Operators

If you deploy a HIP-3 market, several of these levers are yours (HIP-3 docs, deployer actions):

  1. Max leverage and margin tiers: They set the maintenance margin. High leverage on a thin or volatile market means positions go straight from healthy to backstop or ADL.
  2. Oracle quality: Liquidations follow the mark price, which is built on your oracle. A manipulable oracle is a liquidation weapon.
  3. Open interest caps: Capping OI limits how much has to be unwound in a cascade.
  4. Margin mode: Isolated-only markets contain damage; cross margin is irreversible once enabled and must meet validator standards.
  5. Liquidity: Liquidations go to the order book first. Without makers quoting through stress, more positions fall through to the backstop and ADL.

Margin and liquidation are mechanical — they follow rules, not emotions. Learn the rules, and you control the risk. Ignore them, and the market will teach you the hard way.

無期限先物 DEX のしくみ · 無期限先物 · 3/4

証拠金と清算

無期限先物を強力にし、同時に危険にもしているのがレバレッジです。証拠金と清算の理解は欠かせません。トレーダーにとっては生き残るため、市場の運営者にとっては市場の支払い能力を保つ仕組みそのものです。方向の読みが正しくても、ポジションの大きさを誤れば、読みを外したときと同じくゼロになりえます。

証拠金とは

証拠金は、レバレッジをかけたポジションを持つために預ける担保です。取引の全額ではなく、その一部を差し入れます。証拠金は、損失を受け止めるためにあります。

$100,000 の BTC-PERP のポジションを持ちたいなら、次のようになります。

証拠金は、自分が負うリスクの持ち分です。損失が証拠金に近づくと、まずいことが起こります。

当初証拠金と維持証拠金

レバレッジをかけたポジションには、大事な基準が2つあります。

当初証拠金(IM): ポジションを持つときに必要な最低限の担保です。notional / leverage なので、選んだレバレッジで決まります。上限は、その資産の最大レバレッジです。

維持証拠金(MM): ポジションを持ち続けるために必要な最低限の担保です。いつも当初証拠金より低くなります。Hyperliquid では、その資産の最大レバレッジでの当初証拠金の半分に設定されています。つまり、自分が選んだレバレッジではなく、資産によって決まります(証拠金の資料)。

Hyperliquid の BTC-PERP の例です(2026年10月時点。稼働中の meta エンドポイントと証拠金の段階より)。

清算のしくみ

清算とは、純資産が維持証拠金の要件を下回ったときに、ポジションを強制的に閉じることです。Hyperliquid での流れは次のとおりです(清算の資料)。

  1. $60,000 で $100,000 の BTC-PERP を買い、分離証拠金 $10,000(10倍)を置きます
  2. BTC が約 $54,700 まで下がります(最後の取引価格ではなく mark 価格で見ます)。純資産は維持証拠金の $1,250 ほどになります
  3. 清算の仕組みが、そのポジションの成行注文を板に出します。$100,000 を超えるポジションでは、最初の清算注文で出すのは20%だけです
  4. 板で十分な量が閉じられれば、残った担保は手元に残ります。Hyperliquid は清算の手数料を別に取りません
  5. 板が吸収しきれないまま純資産が維持証拠金の3分の2を下回ると、backstop 清算が起こります。ポジションは清算用の vault(HLP の一部)に移り、残りの維持証拠金は戻りません

backstop は取引所の緩衝材で、他の取引所が保険基金と呼ぶものにあたります。それでも足りず、口座がマイナスになると、自動デレバレッジ(ADL)が働きます。反対側で利益の出ているポジションを、利益とレバレッジの順に、直前の mark 価格で閉じます。これで取引所が不良債権を抱えることはありません(ADL の資料)。HIP-3 の各 DEX は、クロス証拠金を有効にした資産のために、チェーン上に専用の backstop 清算の仕組みを持ち、足りなければ ADL に移ります(HIP-3 の資料)。

クロス証拠金と分離証拠金

これは、どの無期限先物 DEX でも、トレーダーが下す特に大事な判断のひとつです。

分離証拠金

クロス証拠金

Hyperliquid では、クロス証拠金が既定です。一部の資産は strict isolated(証拠金を引き出せない)です。HIP-3 の DEX は「クロスなし」の設定にも対応しています。HIP-3 の資産でクロス証拠金を有効にすると元に戻せず、バリデーターの適格基準を満たす必要があります(証拠金の資料、HIP-3 の資料)。

清算の具体例

どちらの例も、Hyperliquid の ETH-PERP の設定(最大レバレッジ25倍、つまり維持証拠金 2%)と清算価格の式を使います。

例1: 分離証拠金で買い

例2: クロス証拠金で買い

クロスのポジションでは、設定したレバレッジは清算価格を変えません。変わるのは、残高のうち当初証拠金として確保される額だけです。クロス証拠金では読みが当たるまでの余裕が大きくなりますが、失いうるのは口座全体です。

清算の連鎖

レバレッジのかかった市場で特に危険な現象のひとつが、清算の連鎖です。

  1. 価格が急に下がり、買いポジションが清算されます
  2. 清算は成行の売りなので、価格をさらに押し下げます
  3. 下がった価格が、さらに清算を引き起こします
  4. その清算が、価格をもっと押し下げます
  5. 連鎖が尽きるまで繰り返します

暗号資産で激しいヒゲが出るのはこのためです。頑健な mark 価格、大きなポジションの部分的な清算、backstop 清算の仕組みといった設計は、連鎖を和らげるためのものです。ただし、なくすことはできません。板が薄いと悪化します。

市場の運営者にとっての意味

HIP-3 の市場を開くなら、こうした調整手段のいくつかは運営者のものです(HIP-3 の資料、運営者の操作)。

  1. 最大レバレッジと証拠金の段階: これが維持証拠金を決めます。薄い市場や値動きの激しい市場で高いレバレッジを許すと、ポジションは健全な状態から一気に backstop や ADL まで落ちます。
  2. オラクルの質: 清算は mark 価格に従い、mark 価格は運営者のオラクルの上に作られます。操作できるオラクルは、清算を引き起こす武器になります。
  3. 建玉の上限: 建玉に上限を設ければ、連鎖のときに解消しなければならない量を抑えられます。
  4. 証拠金の方式: 分離証拠金のみの市場は被害を閉じ込めます。クロス証拠金は一度有効にすると元に戻せず、バリデーターの基準を満たす必要があります。
  5. 流動性: 清算はまず板に出ます。相場が荒れている間も注文を出し続けるメイカーがいなければ、より多くのポジションが backstop や ADL まで落ちます。

証拠金と清算は機械的です。感情ではなく規則に従って動きます。規則を学べば、リスクを管理できます。無視すれば、市場が痛い形で教えてくれます。