Skip to main content

Execution

This topic pushes filled trades information. When an order is filled, you will receive two messages: one from ticketInfo, and one from order / stopOrder

Push frequency: real-time

Topic: ticketInfo

Response Parameters

ParameterTypeComments
topicstringTopic name
tsnumberThe timestamp (ms) that message is sent out
typestringData type. snapshot
dataarrayObject
> estringEvent type
> EstringEvent time
> sstringTrading pair
> qstringFilled quantity
> tstringFilled timestamp (ms)
> pstringFilled price
> TstringTrade ID
> ostringOrder ID
> cstringUser-generated order ID
> OstringOrder ID of the opponent trader
> astringAccount ID
> AstringAccount ID of the opponent trader
> mbooleanIs MAKER. true: maker, false: taker
> SstringSide. BUY, SELL
> bstringParadigm block trade ID

Subscribe Example

{
"req_id": "ticketInfo_1", //optional
"op": "subscribe",
"args": [
"ticketInfo"
]
}

Stream Example

{
"type": "snapshot",
"topic": "ticketInfo",
"ts": "1662348310388",
"data": [
{
"e": "ticketInfo",
"E": "1662348310386",
"s": "BTCUSDT",
"q": "0.001007",
"t": "1662348310373",
"p": "19842.02",
"T": "2100000000002220938",
"o": "1238261807653647872",
"c": "spotx008",
"O": "1238225004531834368",
"a": "533287",
"A": "642908",
"m": false,
"S": "BUY",
"b": ""
}
]
}