Skip to content

Margin modes

Choose cross or isolated margin per position, on the same account, and what each one can lose.

On this page

You pick cross or isolated margin when you open a perp position. Cross positions share one pool, so a gain on one supports a loss on another. An isolated position has its own USDT pool, and its loss never reaches the rest of your account. One account can hold both. A live position can't change mode. Portfolio margin isn't offered.

Cross vs isolated

CrossIsolated
CollateralUSDT, plus ZRO after a 50% haircut, up to 1,000,000 USDT of ZRO per account. XAUT isn't collateralUSDT only, every perp's settlement asset
Add or remove marginNoYes
Liquidated asThe whole cross bookThat position only

Isolated-only markets

At launch, every perp except BTC, ETH, SOL, XRP, ZRO, XAU, US500 and US100 is isolated-only: a cross order there is rejected, and a cross TWAP can't run. See Perpetual markets. Spot is always cross.

Opening an isolated position

Accepting an opening isolated order, before any fill, creates the pool and moves in from cross the initial margin at maximum leverage (or your openingMargin), the open fee and a reserve for the closing fee. The move must leave enough free USDT, no cross debt beyond 0.01 USDT and cross available margin at 0 or more, or the order is rejected. Pool slots are limited, and a flat pool still holding cash takes one.

openingMargin runs a position below maximum leverage: 20,000 on a 100,000 position on a 20x market runs at 5x. It must be at least the order's initial margin, and only the order that creates the pool can set it. A TP/SL entry that creates the pool can set it too.

Leverage

There is no leverage setting: initial margin charges each slice of notional at its tier's maximum leverage, and the maintenance margin rate is half the initial rate. At 20x, a 100,000 position needs 5,000 to open and 2,500 to stay open. Tiers: Perpetual markets. To trade below the maximum, use openingMargin or add margin, which moves the liquidation price away, or keep spare collateral in cross.

Adjusting an isolated position

Only a Full key bound to the account can add or remove margin; see Move isolated margin in API Docs.

  • Adding moves cash from cross; cross available margin must stay at 0 or more.
  • Removing returns cash, never below initial margin.
  • A size-up draws on the pool alone and is rejected if isolated available margin doesn't cover it.
  • Reducing or closing releases nothing: realised PnL and the fee post into the pool, and the cash stays until you remove it.
  • Nothing moves while the pool is being liquidated.

How much you can remove

Unrealised profit stays in the pool until you close:

remove cap=max⁡ ⁣(0,  pool+min⁡(unrealised PnL,0)−initial margin)\text{remove cap} = \max\!\big(0,\; \text{pool} + \min(\text{unrealised PnL}, 0) - \text{initial margin}\big)
ExampleAdd, then removeIllustrative 10x market
  • With 20,000 USDT in cross, open BTCUSDT-PERP isolated, long 1 at 100,000: initial margin and pool 10,000, cross available margin 10,000 (fees left out).
  • Add 5,000. The pool is 15,000 and effective leverage falls to about 6.7x. Cross available margin: 5,000.
  • Remove 6,000. Rejected: the remove cap is 15,000 − 10,000 = 5,000.
  • Remove 5,000. Accepted. The pool is back at 10,000, and cross available margin at 10,000.
  • Your account is worth 20,000 USDT throughout: moving margin between pools changes nothing.

One position per instrument

Each account holds one position per instrument, and a flip keeps its mode. While a position or resting order is live, an order in the other mode is rejected. To switch, close the position, cancel that instrument's old-mode orders and remove the pool's cash; until the cash is out, the other mode is refused. For two independent books on one instrument, use a sub-account.

An isolated pool left in deficit

Rarely, an isolated position closes with its pool below zero. Until the deficit is covered, you can't trade that market from this account or move margin on that pool, and it keeps its slot. Cross is never charged: auto-deleveraging passes the deficit to that market's winners.

Liquidation in each mode

Cross is liquidated when cross margin balance falls below cross maintenance margin; isolated pools don't help. An isolated position is liquidated when its isolated margin balance falls below its maintenance margin, losing only that pool. See Liquidation.