Skip to content
TradePerpetuals9 pages
What a perpetual future isFoundationA perpetual future is a contract on an asset's price that never expires, kept close to that price by an hourly payment between longs and shorts.Contract specificationsPractitionerEvery Hyperliquid perp is a linear contract on 1 unit of its asset, defined by size decimals, maximum leverage, a margin table and a margin mode.FundingPractitionerFunding is an hourly payment between longs and shorts, set by how far the perp trades from the oracle price, that ties a contract with no expiry to its index.Margin: cross, isolated and margin tiersPractitionerMargin is the collateral behind a perp: initial margin to open, maintenance margin to stay open, shared in cross mode or ring-fenced in isolated mode.Leverage and liquidationPractitionerBelow maintenance margin, positions go to the order book as market orders; below two thirds of it, the liquidator vault takes them over.Auto-deleveragingExpertWhen an account goes below zero, auto-deleveraging closes the most profitable, most leveraged opposing positions at the previous mark price, leaving no bad debt.Hyperps and index perpetualsPractitionerHyperps fund against a moving average of their own mark price until spot trading exists; index perps track a formula the validators publish.AMM-priced perpetualsExpertSome perps price off a Uniswap V2 or V3 pool instead of exchange spot prices, and are isolated only, with margin locked in until the position closes.DelistingPractitionerWhen validators vote to delist a perp, positions settle at the 1-hour time-weighted oracle price before the vote and no new orders are accepted.

What a perpetual future is

Foundation

A perpetual future is a contract on an asset's price that never expires, kept close to that price by an hourly payment between longs and shorts.

A perp lets you go long or short an asset’s price with a USDC deposit, and hold it as long as your margin lasts. It never expires; hourly funding keeps it near the asset price instead.

Say you buy 10 contracts at 1,000 USDC with 10x leverage. A contract is 1 unit of the asset, so you hold 10,000 USDC of exposure on 1,000 USDC of margin.

  • Price rises 5 per cent → you gain 500 USDC, half your margin.
  • Price falls 5 per cent → you lose 500 USDC. It’s linear: 10 USDC per point.
  • Funding comes on top of trading fees: the interest component alone is 0.00125 per cent of 10,000 = 0.125 USDC an hour, 10.95 per cent a year (0.00125% x 24 x 365), paid to shorts.
  • Margin is the USDC behind a position; leverage is position value over margin. When losses reach the maintenance margin floor, the position is liquidated (margin, liquidation).
  • The index, which Hyperliquid calls the oracle price, is a weighted median of spot prices on major exchanges, published by the validators (oracles).
  • The mark price, a robust blend of the oracle price, Hyperliquid’s own book and other exchanges’ perp prices, runs PnL and liquidation, not the last trade.

Each hour, the average premium (how far the perp trades from the oracle price) sets the rate. Positive, longs pay shorts; negative, shorts pay longs. Each position pays or receives size x oracle price x rate, with no protocol fee.

POSITIVE RATE: PERP ABOVE, OR NEAR, THE ORACLE PRICE Longs pay funding size x oracle price x rate, every hour Shorts receive funding NEGATIVE RATE: PERP WELL BELOW THE ORACLE PRICE Longs receive funding same formula, negative rate Shorts pay funding
Funding is paid peer to peer every hour; the crowded side pays the other.

Above the oracle price a long costs money to hold, so sellers collecting funding push the price back; below it, the reverse. With a small premium the rate is just the fixed interest component, hence “or near” in the figure (funding).

Funding is a thermostat set to the oracle price, except that it moves cash, not the price (the gap closes only if traders respond), never switches off and is capped at 4 per cent an hour.

Above the oracle price a long costs money to hold, so sellers collecting funding push the price back; below it, the reverse. With a small premium the rate is just the fixed interest component, hence “or near” in the figure (funding).

Funding is a thermostat set to the oracle price, except that it moves cash, not the price (the gap closes only if traders respond), never switches off and is capped at 4 per cent an hour.

Parameter Value
Expiry None
Contract size 1 unit of the underlying asset
Collateral, validator-operated perps USDC
Index Oracle price, published by validators about every 3 s
Funding interval 1 hour
Funding payment position size x oracle price x funding rate
Interest component 0.01% per 8 hours (0.00125% per hour), longs pay shorts
Funding cap 4% per hour, the same for every asset
Maximum leverage, validator-operated perps 3x to 40x, by asset
Maintenance margin half the initial margin at maximum leverage

A perp’s id is its position in the meta universe (asset ids). One metaAndAssetCtxs request returns every market’s markPx, oraclePx and current hourly funding (your first request).

  • Most perps are quanto: the oracle price is in USDT, margin and PnL in USDC, with no conversion. PURR-USD and HYPE-USD use USDC oracle prices, Hyperliquid spot being their most liquid source.
  • A hyperp tracks a moving average of its own price until the asset trades spot elsewhere (hyperps).
  • On a HIP-3 dex the deployer defines the oracle and can scale funding per asset (HIP-3).

For the funding formula, see Funding; to open a position, see Your first trade.