Skip to main content

Trade

Subscribe to the Event Contract public trade stream. Pushed in real-time after each trade.

Push frequency: real-time

Topic:
publicTrade.{symbol} e.g., publicTrade.ETHUSDT-28AUG26-2450-2570-OUT

Response Parameters

ParameterTypeComments
topicstringTopic name
typestringData type: snapshot
tsnumberTimestamp (ms) when the system generates the data
dataarrayObject. Sorted by trade time in ascending order.
> TnumberTimestamp (ms) when the order is filled
> sstringSymbol name
> rstringPayout ratio (trade price)
> astringTrade amount (order value)
> istringTrade ID
> seqintegerCross sequence

Subscribe Example

{
"op": "subscribe",
"args": [
"publicTrade.ETHUSDT-28AUG26-2450-2570-OUT"
]
}

Response Example

{
"topic": "publicTrade.ETHUSDT-28AUG26-2450-2570-OUT",
"ts": 1787794797536,
"type": "snapshot",
"data": [
{
"T": 1787794797534,
"s": "ETHUSDT-28AUG26-2450-2570-OUT",
"r": "3.5",
"a": "100",
"i": "ea89cadf-6471-5fd4-8248-20b470d8478b",
"seq": 49139
}
]
}