Hyperliquid funding rates determine periodic payments on open perpetual positions
Hyperliquid funding rates determine whether an open perpetual position pays or receives funding at hourly settlement. Positive rates mean longs pay shorts; negative rates reverse that direction. The payment depends on position size, oracle price, and the applicable rate. Assessing the cost of holding therefore means matching the rate to your contract and estimating the settlements your position will cross. Funding receipts can offset some trading costs, while payments add to them. Neither determines the trade’s overall profit. Price movements, execution costs, and available margin remain part of the decision to retain exposure, reduce it, or close the position.
Contents
Keeping exposure or reducing the position
Keeping a perpetual position preserves its market exposure, while a completed reduction lowers the quantity subject to subsequent funding. These choices have different consequences when the position currently receives funding: reducing it also reduces potential receipts. A margin adjustment changes the collateral supporting exposure without necessarily changing its size. That distinction separates managing holding costs from managing liquidation risk.
| Position choice | Funding consequence | When it applies |
|---|---|---|
| Keep a long open | Pays positive funding; receives negative funding | Each applicable hourly settlement |
| Keep a short open | Receives positive funding; pays negative funding | Each applicable hourly settlement |
| Reduce the position | Smaller quantity enters the calculation | Settlements after the reduction fills |
| Close the position fully | No remaining position incurs later funding | After the closing quantity fills |
| Add isolated margin | Unchanged quantity retains its funding basis | While the position remains open |
| Filled position changes alter exposure; collateral adjustments alter its backing. | ||
A resting closing order leaves exposure outstanding until it executes. After submitting a reduction or closing order, compare the filled quantity and remaining position with your intended reduction. Any quantity still open remains subject to subsequent funding.
How do you calculate the funding payment?
The payment magnitude is the product of the position’s absolute size, its oracle price, and the absolute hourly funding rate. Hyperliquid uses the oracle price to convert position size into notional value for funding payments. The rate’s sign and position direction determine whether the account pays or receives.
Inputs for a holding-cost estimate
Notional value means the value of the contract exposure. A funding calculation uses that exposure rather than the collateral allocated to support it.
Position quantity and valuation
Use the quantity applicable to the settlement and its oracle valuation. Entry price describes the original trade; mark price serves margin and unrealized profit calculations. Substituting either can distort a funding estimate.
Rate units
Convert a percentage into a decimal before multiplying. Match the rate’s period to the payment period, and avoid applying leverage again when the calculation already uses full notional exposure.
Hourly settlement and the holding period
Settlement frequency determines how many separate funding events a position can encounter during its holding period. Hyperliquid perpetual funding payments settle every hour. Its funding formula uses an eight-hour basis, with one eighth of the computed rate paid for each hour. A rate already expressed hourly needs no further division.
An annualized rate is an extrapolation, not a record of funding received.
For a longer holding period, calculate each applicable payment separately and add the signed amounts. Multiplying one snapshot by the entire period assumes unchanged rates and notional value. That assumption becomes less useful when exposure changes or funding switches direction. Historical totals describe the selected past window; they don’t fix future payments.
Compatible contracts before rate comparisons
A useful funding comparison matches the underlying exposure, contract denomination, collateral, and payment interval before comparing percentages. Similar market names alone don’t establish equivalent contracts. Differences in valuation or settlement can leave exposure a simple long-versus-short comparison misses.
Builder-deployed perpetual markets add contract-specific choices because their deployers define specifications, oracle inputs, and operational settings. Read those terms before treating another contract as an interchangeable holding. Matching the underlying asset is necessary for many comparisons, but collateral and valuation differences can still matter. A lower quoted funding cost cannot resolve a mismatch in the exposure the contract delivers.
Funding history and account reconciliation
Account funding records establish the payments associated with a position, while market funding history describes the contract’s historical rates. Hyperliquid exposes these separately through
userFunding
and
fundingHistory. Account entries include the market, timestamp, position size, rate, and payment amount. Comparing their total with a whole-account balance change also requires accounting for fills, transfers, and other ledger movements. A matching funding subtotal confirms that component of the account change; it doesn’t establish the profitability of the trade.
Current market data, historical settlements, and account payments answer different questions. Preserve their timestamps when comparing them.
Premium inputs and changing funding
The funding calculation combines a premium component with an interest component. Impact prices measure execution against a specified amount of order-book liquidity. They help determine the premium relative to the oracle. Consequently, the last traded price alone doesn’t explain the rate. Builder-deployed perpetuals use a different premium formula and support configurable funding behavior.
A funding snapshot describes the rate at the time observed. A recently favorable rate can reverse before later settlements. Comparing several historical intervals shows whether a quoted value represents a persistent pattern or a brief observation, without turning that pattern into a forecast.
Margin effects during continued holding
Funding payments can change the margin available to support a position and can move its liquidation level. Receiving funding doesn’t remove exposure to adverse price movements. Liquidation calculations use the mark price, which can differ from the price available in the order book.
Cross margin shares collateral among eligible positions, while isolated margin allocates collateral to a particular position. The sharing boundary also depends on the account mode. Under standard accounts, cross margin applies within each perpetual DEX. Unified accounts share each collateral asset across eligible cross margin positions and spot balances in that asset. Portfolio margin also combines eligible assets, subject to account eligibility and supply and borrowing caps; reaching a cap can limit that sharing.
Adding collateral can increase the buffer supporting exposure. It doesn’t reduce the number of contracts held.
Continued funding versus exit costs
An exit decision compares uncertain future funding with the costs and exposure changes a closing trade introduces. Trading fees depend on the applicable fee schedule and execution. A maker rebate, where applicable, belongs to the trade calculation. It isn’t funding income.
Keep the comparison on a common holding horizon and position size. Include the spread and execution price alongside the expected funding total, and distinguish already paid amounts from future estimates. Past funding is part of the completed holding period; closing can’t recover it. Continuing preserves exposure and future funding obligations or receipts. Closing removes that exposure once the remaining quantity executes, at the cost of the exit itself.
What readers ask about Hyperliquid funding rates
Does a better trading fee tier reduce my funding rate?
A trading fee tier changes execution fees rather than the market’s funding rate. Funding transfers value between opposing perpetual positions, while trading fees apply to executions. Keep the two amounts separate when assessing the cost of entering, holding, and exiting.
Can a positive funding rate predict a price decline?
A positive funding rate doesn’t establish that a price decline will follow. It identifies the paying side under the funding mechanism. A position receiving funding remains exposed to price losses, so the rate alone cannot determine whether taking that side will produce a profit.
Which funding data should an automated monitor request?
An automated monitor can use asset contexts for current funding, fundingHistory for historical market rates, and userFunding for account payments. These requests serve different purposes. Keep the market identifier and timestamps attached to every observation rather than combining snapshots with settled account entries.
Is predicted funding available for every builder-deployed market?
The predictedFundings request supports the first perpetual DEX rather than every builder-deployed DEX. Its absence for another market doesn’t establish zero funding. Use the selected market’s supported current and historical data when assessing its holding cost.
Why can a funding export cover only part of the requested period?
A time-range response can stop before it covers the full requested period because the API limits the returned records. Longer exports require pagination using the last returned timestamp. Inclusive boundaries also require care to avoid counting an overlapping record twice.
Will holding the underlying spot asset create a perpetual funding payment?
A spot holding alone doesn’t create a perpetual funding payment. Spot ownership and perpetual contract exposure are separate positions. If a strategy combines them, the perpetual leg carries the funding payment, while the spot leg has its own execution costs and price exposure.