Hyperliquidapp funding rates
Hyperliquid settles perpetual funding hourly to help contracts track their reference price. Positive rates make longs pay shorts; negative rates reverse the payment. Builder-deployed HIP-3 markets can use configurable funding parameters.
The Eight-Hour Formula and Hourly Settlement
The baseline rate for validator-operated crypto perpetuals follows
f8 = p + clamp(0.0001 - p, -0.0005, 0.0005)
, then
hourly_rate = f8 / 8
. Rates use decimals: 0.0001 means 0.01% per eight hours. Premium samples every five seconds are averaged over the hour to obtain
p
. The clamp limits the interest adjustment to the stated bounds; a separate 0.5% hourly cap applies to funding.
Order-Book Depth and Oracle Prices
The variables
impact_bid_px
and
impact_ask_px
are average fill prices at the specified funding depth. The standard premium is
(max(impact_bid_px - oracle_px, 0) - max(oracle_px - impact_ask_px, 0)) / oracle_px
.
Hyperliquid’s crypto-perpetual contract specifications set the funding impact notional at 20,000 USDC for BTC and ETH, and 6000 USDC for the other crypto perpetuals they cover. This parameter defines the order-book sample size, separately from the trader’s own position size.
Validators construct asset-specific spot oracles using inputs selected according to the asset’s primary liquidity sources. Funding payments use the oracle price. Mark price supports margining, liquidations, and take-profit/stop-loss triggers.
Market-Specific Funding Settings
HIP-3 Markets
HIP-3 calculates its premium from the midpoint of impact bid and ask relative to its oracle. Deployers can configure the funding multiplier, eight-hour interest component, and funding clamp. A market’s active parameters determine its effective rate.
Hyperps
Hyperps replace an external spot/index oracle with a mark-price moving average, using an eight-hour decay across the previous day’s minute samples. Their funding premium samples use 1% of the usual combined premium-and-clamped-interest formula.
Hourly Debit on a BTC Long
A hypothetical USDC-collateralized BTC long has these inputs at one hourly settlement: position size = 0.37 BTC; oracle price = 91,247 USDT per BTC; hourly funding rate = 0.0064%.
payment = 0.37 * 91247 * (0.0064 / 100) = 2.16072896
The unrounded funding debit is 2.16072896 USDC. This USDC-margined, USDT-denominated contract applies no USDC/USDT conversion. Changing leverage alone leaves this calculation unchanged while position size, oracle price, and the hourly rate stay fixed.
Balance Effects and Other Costs
A position’s estimated liquidation price can change with funding. Cross-margin estimates also respond to unrealized PNL in other positions sharing the margin pool.
Maker/taker charges follow a separate trading-fee schedule . Borrowed assets accrue interest independently of perpetual funding. A spot-perp hedge can offset price PNL while its result still depends on funding, any borrowing interest, and drift between spot and perpetual prices.
Rate History and Account Payments
Hyperliquid distinguishes market rates from account payments. The API request
fundingHistory
returns rates by contract and time;
userFunding
returns an account’s funding entries. The
userFundings
WebSocket subscription
sends an initial snapshot followed by hourly funding-payment updates.
The
predictedFundings
request provides predicted rates for different venues and is supported only for the first perpetual DEX. Its coverage does not extend to all HIP-3 DEXs. A forecast remains distinct from a recorded account debit or credit.
Updated: