Oracle price is used to compute funding rates. This weighted median of CEX prices is robust because it does not depend on hyperliquid’s market data at all. Oracle prices are updated by the validators approximately once every three seconds. Mark price is the median of the following prices:Documentation Index
Fetch the complete documentation index at: https://docs.hyperodd.com/llms.txt
Use this file to discover all available pages before exploring further.
- Oracle price plus a 150 second exponential moving average (EMA) of the difference between Hyperliquid’s mid price and the oracle price
- The median of best bid, best ask, last trade on Hyperliquid
- Median of Binance, OKX, Bybit, Gate IO, MEXC perp mid prices with weights 3, 2, 2, 1, 1, respectively
sample at duration t since the last update
ema = numerator / denominator
numerator -> numerator * exp(-t / 2.5 minutes) + sample * t
denominator -> denominator * exp(-t / 2.5 minutes) + t
Learn more at https://hyperliquid.gitbook.io/hyperliquid-docs/trading/robust-price-indices
