⌘K

Trading

Positions, margin & leverage

Hyperliquid's margin rules, leverage and how positions appear in the terminal.

Margin, leverage and position accounting are Hyperliquid's. HyperVeil shows your account as Hyperliquid reports it.

  • Initial margin = position notional ÷ leverage.
  • Maintenance margin is half the initial margin at the asset's maximum leverage for its tier.
  • Leverage limits follow Hyperliquid's margin tiers for each asset; larger positions fall into lower-leverage tiers.
  • Cross or isolated. Positions use cross margin by default. You can switch a market to isolated. Leverage and margin mode are set per market through Hyperliquid's leverage update, signed by your trading key. To change margin mode, close that market's position first.
  • Leverage in the panel, once your wallet is connected, is always the value Hyperliquid confirms for your account. The slider stops at the market's maximum from Hyperliquid's market data.
text
initial margin      = size × price / leverage
maintenance margin  = size × mark × (1 / (2 × maxLeverage))

The Positions table shows size, entry, mark, liquidation price, margin, unrealised PnL with return on equity, funding since open, and TP / SL for each open position.

PnL and account figures

  • Unrealised PnL updates live from Hyperliquid's mark price: size × (mark − entry). Each time Hyperliquid sends an account update, it settles to Hyperliquid's own figure. If no Hyperliquid mark is available, it shows "—".
  • ROE is unrealised PnL ÷ initial margin at entry (size × entry ÷ leverage), as Hyperliquid calculates it.
  • Small amounts: PnL, funding and fees below 1 USDC show four decimals, so small positions visibly move. PnL under 0.0001 shows as "<0.0001 USDC".
  • Equity is Hyperliquid's account value, moved live by the same unrealised PnL. Available is what Hyperliquid reports as withdrawable. Unified and portfolio-margin accounts are covered in Set up and fund your account.

History tabs

  • Trade history shows each fill's direction as Hyperliquid labels it: Open Long, Close Long, Open Short or Close Short. A fill that flips the position shows as "Long → Short" or "Short → Long", and a liquidation of your account shows as Liquidation. Realised PnL appears on closing fills.
  • Order history shows your finished orders from Hyperliquid, with the status and Hyperliquid's reason, for example a cancel or a rejection.
  • Funding shows Hyperliquid's funding payments for the last 30 days, with the rate and the payment.