Order Book Channel
Subscribe to public order book updates including order placements and cancellations.Channel Names
- Global tape:
tape- Receive updates for all markets - Market-specific:
{marketId}- Receive updates only for a specific market (UUID)
When subscribing to a specific market, you will receive initial
book messages containing the current order book state. When subscribing to the global tape (tape), you will not receive these initial order book state messages—only subsequent updates.Subscription
Event Types
The order book channel broadcasts two types of events:- PLACE - A new order has been placed or an existing order has been partially filled
- CANCEL - An order has been explicitly cancelled
Implicit cancellations (e.g., when a market closes) are not broadcast on this channel. Use the Market Lifecycle Channel to handle those events.
Message Format
Order Fields
| Field | Type | Description |
|---|---|---|
price | number | The price of the order in decimal probability (0-1, up to 3 decimal places) |
qty | number | The remaining quantity in Minimum Currency Units |
originalQty | number | The original quantity when the order was placed |
outcomeId | string | UUID of the outcome for this order |
Fill Fields
| Field | Type | Description |
|---|---|---|
id | string | UUID of the fill |
orderId | string | UUID of the order that was filled |
price | number | The execution price in decimal probability |
qty | number | The quantity filled |
isWash | boolean | Whether this is a wash trade |
isTaker | boolean | Whether this fill was the taker side |
marketId | string | UUID of the market |
outcomeId | string | UUID of the outcome |
