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
Parameter | Type | Comments |
---|---|---|
topic | string | Topic name |
ts | number | The timestamp (ms) that message is sent out |
type | string | Data type. snapshot |
data | array | Object |
> e | string | Event type |
> E | string | Event time |
> s | string | Trading pair |
> q | string | Filled quantity |
> t | string | Filled timestamp (ms) |
> p | string | Filled price |
> T | string | Trade ID |
> o | string | Order ID |
> c | string | User-generated order ID |
> O | string | Order ID of the opponent trader |
> a | string | Account ID |
> A | string | Account ID of the opponent trader |
> m | boolean | Is MAKER. true : maker, false : taker |
> S | string | Side. BUY , SELL |
> b | string | Paradigm 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": ""
}
]
}