Margin & Leverage

Account value and withdrawable balance now include spot collateral.

Pacifica supports cross margin and isolated margin. Margin mode is selected per trading pair. Cross margin is the default.

Margin mode cannot be changed for a symbol with an open position. Leverage can be increased on a symbol with an open position but cannot be decreased until the position is closed.

Cross margin

Cross margin pools the account's USDC balance, unrealized PnL from cross perpetual positions, and LTV-adjusted spot collateral into a single equity figure that supports all cross positions.

account_value = usdc_balance + unrealized_pnl - pending_interest + spot_collateral_value

Unrealized PnL updates continuously. Isolated positions and their assigned margin are excluded. pending_interest is unsettled interest on any outstanding money-market borrow and is deducted from equity as soon as it accrues.

Spot holdings contribute to account_value according to per-asset LTV, a per-user collateral cap, and an optional hedging bonus. See Spot Collateral for the full formula.

Isolated margin

Isolated margin assigns a dedicated margin amount to each position. Isolated positions receive no collateral from spot holdings and are not affected by the unified margin model. Their liquidation is determined solely by the assigned isolated margin and the position's notional.

Initial margin

Placing an order reserves initial margin based on entry price, position size, and selected leverage.

initial_margin = position_size * entry_price / leverage

Unrealized PnL and withdrawable balance

Unrealized PnL can be withdrawn from an isolated position or a cross-margin account, subject to the 10% initial-margin floor. Open spot buy orders also deduct their locked USDC from withdrawable balance:

Last updated