Skip to main content
The trades channel reports every execution on a market. It costs tokens per market. It includes lifecycle, but not book.
snapshot
delta
A trade carries its ID, outcome, price, quantity, and engine timestamp. It doesn’t name the orders. tradeId is the fillId of the resting order’s fill. If your order rested, match the trade to your fill on that ID. takeId is the fillId of the taker’s fill. It matches tradeId in GET /v3/history/trades, so you can join the stream to trade history. An order that fills against several resting orders prints one trade for each, all with the same takeId. The snapshot always carries seq. It carries recent batches, oldest first, only when you ask. Set replay on subscribe or snapshot to the number of batches you want, from to . It defaults to . The example above asked for "replay": 2. The snapshot isn’t a history. For older trades, call GET /v3/catalog/markets/{id}/trades. For trades across markets or in a time window, call GET /v3/history/trades. It lists each trade once, from the taker’s side.

Gaps

  • For a small gap, send snapshot with replay and take the batches after your last seq. You don’t need to resync.
  • For a large gap, resync as usual.