Funding rates
Funding calculation and fee period.
Last updated
Funding calculation and fee period.
The oracle price helps calculate funding rates (payments between long and short traders). To help balance liquidity and maintain mark to oracle price.
Funding = rate calculation, paid every 8 hours
Funding Rate = Average Premium Index (P) + clamp (interest rate - Premium Index (P), -0.0005, 0.0005)
Standard by HyperLiquid
If Mark > Oracle, longs pay shorts.
If Mark < Oracle, shorts pay longs.
Payments occur periodically (e.g., every 8 hours), calculated using the volume-weighted TWAP of the mark–oracle difference.
Excludes tail-window samples and self-trades.
Attenuates or pauses funding in shallow-liquidity periods.
TWAP averaging prevents price “gaming” near funding windows.
If mark trades at 230 → mark > oracle → longs pay shorts → shorts enter to earn funding → price normalizes.
Last updated
External Index = 200
Internal Mark EMA = 250
Oracle = (200 × 0.6) + (250 × 0.4) = 220