Skip to main content

trade

publicchannel: tradewss://api.staging.sphx.io/v1/ws

The anonymized public trade tape — one event per resting-order leg consumed, no account identifiers. Liquidation fills do NOT appear here (they ride the private fill channel of the affected account only). Backfill via GET /v1/instruments/{id}/trades.

Subscribe params: instrument_id (required).

Subscribe

{ "op": "subscribe", "channel": "trade", "params": { "instrument_id": 1000 }
ParamTypeRequiredNotes
instrument_idinteger · int64The instrument to stream

Events

trade

One frame per resting-order leg the aggressor consumed.

FieldTypeRequiredDescription
event_seqinteger · int64Cluster sequence number — monotonic; drives gap detection and REST/WS joins.
ts_nsinteger · int64Aeron Cluster timestamp — MILLISECONDS despite the name (historical artifact).
instrument_idinteger · int64
price_pipsinteger
countinteger
taker_sidebuy · sellThe aggressor's action, YES-collapsed convention.
Example frame
{
"channel": "trade",
"event": "trade",
"data": {
"event_seq": 1057,
"ts_ns": 1779111582959,
"instrument_id": 1000,
"price_pips": 3900,
"count": 100,
"taker_side": "buy"
}
}