Polled price
Streams
All streams share the same API:
await stream.run(callback) blocks and invokes the callback per event; stream.stop() ends it.
Price stream
PriceUpdate fields: feed_id, price, timestamp_ms, best_bid, best_ask, raw.
Pair data
Live catalog diffs (funding, OI, spread, market hours) from the data service. Payloads are partial — bootstrap fromGET /v2/trading and
deep-merge. Full handshake, hosts, and payload rules:
Pair data Socket.IO.