Order book, ticker and trades
Three topics carry market data, the same for every participant, in the same wire format as the account channels and the REST API.
| Topic | Carries | Filters |
|---|---|---|
orderbook |
aggregated book levels | market_ids (required) |
ticker |
per-market price summary | sports, competitions |
trades |
executed trades, anonymous | market_ids, event_ids |
Each is a single topic covering every market, narrowed by the join payload. Watching ten markets is one join, not ten.
Field names
Section titled “Field names”Money is a dollar string ("0.3900"), quantities are quantity strings
("100.00"), and counts are plain integers. Field names are snake_case
throughout, and the offer side is called offer, not ask, the same names the
REST market payload uses.
Filters
Section titled “Filters”Every filter follows one contract:
- omitted,
null,[], or a list with no usable entry means no filter; - unusable entries are dropped rather than rejecting the join;
- the join reply echoes what was actually applied, so compare it against what you sent to catch a typo;
- naming two filters narrows: a message must match both;
select_filters(orselect_market_idsonorderbook) changes them without rejoining.
orderbook is the one exception: it requires at least one valid market_id.
orderbook
Section titled “orderbook”["1","1","orderbook","phx_join",{"market_ids":["<uuid>","<uuid>"]}]An absent or unusable list is an error, not “no filter”:
{"status":"error","response":{"reason":"market_ids_required"}}Pushes "book" on the matching engine’s publish cadence, one message per market:
{ "market_id": "e00651a3-10cb-4bc1-9e1f-c5ea1796c83b", "bids": [ {"price": "0.5800", "quantity": "210.00", "liquidity": "121.8000", "total_quantity": "210.00", "total_liquidity": "121.8000"}, {"price": "0.5700", "quantity": "420.00", "liquidity": "239.4000", "total_quantity": "630.00", "total_liquidity": "361.2000"}, {"price": "0.5600", "quantity": "1200.00", "liquidity": "672.0000", "total_quantity": "1830.00", "total_liquidity": "1033.2000"} ], "offers": [ {"price": "0.5900", "quantity": "310.00", "liquidity": "182.9000", "total_quantity": "310.00", "total_liquidity": "182.9000"}, {"price": "0.6000", "quantity": "650.00", "liquidity": "390.0000", "total_quantity": "960.00", "total_liquidity": "572.9000"}, {"price": "0.6100", "quantity": "900.00", "liquidity": "549.0000", "total_quantity": "1860.00", "total_liquidity": "1121.9000"} ], "timestamp": "2026-10-10T15:30:00.118204Z", "timestamp_us": 1791646200118204}Levels are best-first. liquidity is that level alone; total_quantity and
total_liquidity are cumulative through it.
Change markets without rejoining:
["1","2","orderbook","select_market_ids",{"market_ids":["<uuid>"]}]The non-empty requirement still applies; an unusable list leaves the current selection in place and replies with an error.
ticker
Section titled “ticker”["1","1","ticker","phx_join",{}]["1","1","ticker","phx_join",{"sports":["Hockey"],"competitions":["NHL"]}]Pushes "ticker" for each market whose price, book top, volume or open interest
moved:
{ "market_id": "e00651a3-10cb-4bc1-9e1f-c5ea1796c83b", "market_symbol": "STXNHL-26OCT101600EDMSJ-GAMEEDM", "event_id": "24636b3d-f566-4dd3-8c8b-c1a6c2747789", "event_symbol": "STXNHL-26OCT101600EDMSJ", "sport": "Hockey", "competition": "NHL", "last_traded_price": "0.5800", "last_traded_quantity": "40.00", "best_bid": "0.5800", "best_bid_quantity": "210.00", "best_offer": "0.5900", "best_offer_quantity": "310.00", "bid_depth": 3, "offer_depth": 3, "open_interest": "1108.00", "total_volume": "1284.00", "timestamp": "2026-10-10T15:04:12.501400Z", "timestamp_us": 1791644652501400}bid_depth and offer_depth count price levels, so they are integers rather than
quantity strings. Any field can be null on a market that has not traded or has an
empty side of the book. event_symbol is null while the event list is still
warming.
Filter values are matched exactly as the market carries them, so "Football" and
"football" are different.
trades
Section titled “trades”["1","1","trades","phx_join",{}]["1","1","trades","phx_join",{"market_ids":["<uuid>"],"event_ids":["<uuid>"]}]Pushes "trade", one per execution:
{ "market_id": "e00651a3-10cb-4bc1-9e1f-c5ea1796c83b", "market_symbol": "STXNHL-26OCT101600EDMSJ-GAMEEDM", "event_id": "24636b3d-f566-4dd3-8c8b-c1a6c2747789", "event_symbol": "STXNHL-26OCT101600EDMSJ", "price": "0.5800", "quantity": "40.00", "action": "buy", "timestamp": "2026-10-10T15:04:12.501400Z", "timestamp_us": 1791644652501400}action is the taker’s side: "buy" when the incoming order bought from the
book, "sell" when it sold into it.
This feed is anonymous: it carries no account, user or order identifier for any market participant.

