Oracle System

Hyperliquid's validators maintain a decentralized price feed by publishing spot oracle prices every 3 seconds for each perpetual asset.

Price Computation

Each validator calculates oracle prices as the weighted median of spot mid prices from:

Exchange Weight
Binance 3
OKX 2
Bybit 2
Kraken 1
Kucoin 1
Gate IO 1
MEXC 1
Hyperliquid 1

Asset-Specific Rules

  • Hyperliquid-native assets (e.g., HYPE): External exchange sources excluded until sufficient Hyperliquid liquidity
  • External primary liquidity assets (e.g., BTC): Hyperliquid’s own spot prices excluded

Final Price

The clearinghouse uses the stake-weighted median of each validator’s submitted oracle prices.

Uses

  1. Funding rate calculations — determines premium component
  2. Mark price — used for margining and liquidation triggers
  3. TP/SL execution — triggers stop-loss and take-profit orders

Risk

If an oracle is compromised or manipulated for an extended period, the mark price could be affected, impacting liquidations and funding.