Channel name : fill
Description : Subscribe to account order execution updates, with real-time pushes whenever trades occur.
Subscription requests :
{
"op": "subscribe",
"args": [
{
"instType": "SPOT",
"channel": "fill",
"instId": "default"
}
]
}Push data format :
{
"action": "update",
"arg": {
"channel": "fill",
"instType": "SPOT",
"instId": "default"
},
"data": [
{
"orderId": "2268962683784329472",
"clientOid": "5f67a425-8261-4fb7-aa2d-fe172c4b602f",
"tradeId": "2268962683784329474",
"symbol": "AVAXHKD",
"baseCoin": "AVAX",
"quoteCoin": "HKD",
"side": "sell",
"orderType": "limit",
"priceAvg": "52.62000000",
"size": "0.30000000",
"amount": "15.78600000",
"tradeScope": "taker",
"timeInForce": "gtc",
"expireTime": null,
"feeDetail": [
{
"feeCoin": "HKD",
"fee": "-0.00315720"
}
],
"cTime": "1785217429547",
"uTime": "1785217429551"
}
],
"ts": 1785217429572 // event push timestamp
}Field description :
| Field | Type | Explanation |
|---|---|---|
| orderId | String | Order ID |
| clientOid | String | Client Order ID |
| tradeId | String | Transaction ID |
| symbol | String | Trading pairs, such as BTCUSDT |
| baseCoin | String | Base asset |
| quoteCoin | String | Quote asset |
| side | String | Order side: buy/sell |
| orderType | String | Order type: limit/market |
| priceAvg | String | Average trade price |
| size | String | base-asset quantity |
| amount | String | Quote Volume |
| tradeScope | String | Liquidity direction: taker/maker |
| timeInForce | String | Time-in-Force (TIF) |
| feeDetail[].feeCoin | String | Asset of transaction fee |
| feeDetail[].fee | String | Amount of transaction fee |
| cTime | String | Create timestamp (milliseconds) |
| uTime | String | Update timestamp (milliseconds) |
| expireTime | String | Expire time |
