ticker
Pushes last price, 24-hour change, high/low, and volume for one instrument
every few seconds, starting right after you subscribe. Served by the API
service at /api-ws.
tickerShow last price, 24-hour change, high/low, and volume for one instrument.
{
"method": "subscribe",
"subscription": {
"type": "ticker",
"coin": "BTC",
"instrumentId": 1
}
}Instrument name (`BTC` or `BTC-USDC`); for an Outcome market, its `instrument_id` as a string.
The same instrument's id (`index` from `perpMeta`). Must match `coin`, or the subscription is rejected.
"ticker""ticker"Base name.
24-hour volume, in base units.
24-hour notional volume, in quote.
Price 24 hours ago.
{
"channel": "ticker",
"data": {
"coin": "BTC",
"instrumentId": 1,
"lastPrice": "83280.6",
"prevDayPx": "83110.4",
"dayHighPx": "84032.7",
"dayLowPx": "80896.1",
"dayNtlVlm": "32544402.28",
"coinVlm": "393.4642"
}
}coin and instrumentId must name the same instrument — { "coin": "BTC", "instrumentId": 1 } — or the subscription is rejected with instrument_id … does not match coin …. For an Outcome market pass its instrument_id as both. Each
push is a full snapshot, sent even when nothing changed; fields are empty
strings until the instrument has traded.