HIP-4 Markets Docs

Prices and data

Every number on the site comes from Hyperliquid in real time. Here is where each one is read and how fresh it is.

Live prices

The server holds one websocket to Hyperliquid subscribed to all mid prices, and keeps the outcome ones. Changes are pushed to every open page through one stream, at most twice a second, so the gauges, percentages and trade panels move with Hyperliquid's book.

On the siteSource on HyperliquidFreshness
Chance and side pricesallMids websocketlive, batched every 0.5 s
Market list and titlesoutcomeMetarefreshed every minute
ChartcandleSnapshot (5 min, 1 h, 1 day)cached 30 s to 2 min
Order bookl2Bookrefreshed every 3 s on the page
24 h volumehourly candles of both sidesrecomputed in the background
SettlementsettledOutcomechecked every minute by the keeper

The chart

The chart on a market page is the YES price of the selected outcome over 2 days, 2 weeks or 6 months, drawn from Hyperliquid's candles. On a question with several answers, choose an answer in the Outcomes list to chart it.

The quote in the trade panel

The panel walks Hyperliquid's live asks for your amount, whole share by whole share, the same way the keeper will when it buys. Average price, number of shares and payout are what the order would get at that moment. The order's limit is set 2% above the worst price the quote reached, which absorbs normal movement between your click and the keeper's order.

Volume

Volume is the USDC value traded on Hyperliquid in the last 24 hours across every side of the market. It's Hyperliquid's volume, the same liquidity your orders meet.