Skip to main content
The book channel reports every change to a market’s order book. It costs tokens per market and includes lifecycle. Each outcome has its own ladder, a list of resting orders by price. The two ladders show one market from opposite ends. A bid resting at 0.665 on one outcome is liquidity for the other outcome. A taker on the other outcome trades against it at 0.335. A taker is an order that trades against a resting order.
Kansas City Chiefs3f2504e0…01
0.670250
0.665110
0.660250
Buffalo Bills3f2504e0…02
0.34090
0.335180
0.325400
Each outcome’s array lists the best price first. Within a price, it lists the earlier order first. The array order is the queue.

Snapshot

Each key in orders is an outcome ID. The snapshot holds the best depth price levels of each outcome. Set depth on subscribe or snapshot, from to . It defaults to . Deltas cover every level, so ignore an update or remove for an order you don’t hold. An outcome with no resting orders has no key. Treat a catalog outcome missing from orders as an empty book at the snapshot’s seq.

Delta

Only book reports a cancel. A partial fill arrives as an update with the order’s new remaining quantity. The order keeps its queue position. Several fills on one order by one incoming order arrive as one delta.

Voided orders and your own orders

  • GOLIVE, CLOSE, and GRADE void every resting order with no remove. Empty the book yourself when one arrives.
  • Your own orders appear here like any other order. Match them on the private stream.

Best bid only

The bbo channel reports only the best resting bid of each outcome. It costs tokens per market and includes lifecycle.
snapshot
delta
qty is the total resting quantity at the best price. A delta without bbo means the outcome has no resting bid left. An outcome with no resting bid has no key in the snapshot.