Skip to content

Blog · Hyperliquid · Article · updated 2026-09-25

Hyperliquid leverage, cross margin and Unified Account explained

How leverage and margin work on Hyperliquid perps, what Unified Account changes, and how TensorTrader sizes and protects automated positions.

Leverage in one paragraph

Leverage lets a position control more notional value than the margin behind it. At 5x, 100 USDC of margin controls a 500 USDC position, and a 1% price move changes your margin by 5%. The same multiplier applies to losses, and when losses eat through the margin the exchange liquidates the position. Hyperliquid publishes a maximum leverage per market, up to 50x on its largest markets and less on smaller ones.

Cross margin vs isolated margin

Beginners often prefer isolated margin because it caps each mistake. Automated systems running many small positions often use cross margin because it avoids liquidating one leg while the account has plenty of free balance. Whichever you use, the real protection is position size: small positions and low leverage.

cross margin
Positions share the account balance as collateral. Losses on one position can draw on the whole account, but a single position is harder to liquidate.
isolated margin
Each position has its own collateral. A bad trade can only lose what was assigned to it.

Unified Account on Hyperliquid

Hyperliquid historically kept spot and perp balances separate, so USDC sitting in spot did not back perp positions until you transferred it. In Unified Account mode, which is the default for new accounts, spot USDC counts as perp margin automatically. TensorTrader handles both cases: it reads equity as perp account value plus spot USDC, and before trading it moves spot USDC into perps only when your account is not unified. When unified mode is active, it skips the transfer and logs that it did.

How TensorTrader sets leverage

  1. 1Your alert or policy asks for a leverage: static, scaled with market breadth, or scaled with signal confidence.
  2. 2TensorTrader clamps it to the lower of your policy and Hyperliquid’s published maximum for that market.
  3. 3The order is sized from your margin setting (fixed USD or a percent of equity) at the clamped leverage.
  4. 4After the fill, protective stop-loss and take-profit orders are placed as reduce-only orders, so they can only shrink the position.
  5. 5Account-level capital protection keeps running after the fill and can close positions when limits are hit.

Reading liquidation risk

A rough rule: at leverage L, a move of about 100/L percent against you wipes out the position's margin, and liquidation happens before that because of maintenance margin. At 10x that is under 10%; at 50x it is under 2%, which a volatile token can move in minutes. Automated systems that trade many tokens should budget for simultaneous adverse moves, because correlated markets fall together.

Software stops are not a venue-side guarantee. TensorTrader places real reduce-only orders on Hyperliquid for exits, but gaps and thin books can still fill worse than the stop price.

Practical settings for a first automated setup

leverage
2-3x while you learn; raise only after a long paper record
margin per trade
A small fixed USD amount per leg
markets
Liquid perps (BTC, ETH, SOL) before small caps
exits
Let TensorTrader manage dynamic SL/TP, or keep your strategy’s own exits

Sizing example

Say your account holds 1,000 USDC and your policy uses 50 USDC of margin per trade at 3x. Each position is then 150 USDC of notional. A 2% adverse move costs 3 USDC, or 6% of that trade's margin and 0.3% of the account. Ten such positions open at once put 500 USDC of margin to work and 1,500 USDC of notional exposure. If they are all correlated altcoins and the market drops 10%, the account loses about 150 USDC, 15%, before stops fire. That is the scenario to size for.

Market breadth scaling

TensorTrader's default leverage mode in Batch Create is Market breadth: each alert carries a base multiplier and a cap, and leverage ramps from the base toward the cap only as the broader market leans with the trade. When the market is balanced you trade at the base. It is a way to use more leverage only when conditions support it, and never beyond the cap or the venue maximum.

Frequently asked questions

What is the maximum leverage on Hyperliquid?
Up to 50x on the largest markets; smaller markets have lower caps. TensorTrader never exceeds the market cap.
Does TensorTrader use cross or isolated margin on Hyperliquid?
It trades your perp account and respects the account mode; size positions assuming losses can draw on shared margin.
What is Unified Account?
A Hyperliquid mode, default for new accounts, where spot USDC counts as perp margin without a manual transfer.

Keep reading

Not financial advice. Performance figures are TensorTrader testnet or backtest results with the method stated; past results do not predict future returns.

All guides · Start on paper · Pricing