Subscribes to fill details. Data is pushed in real time when an order is filled.
Channel name: fill
The fill channel provides execution-level updates for authenticated users. It includes order identifiers, trade identifiers, execution price and size, trade scope, fee details, and timestamps.
Subscription Request
{
"op": "subscribe",
"args": [
{
"instType": "SPOT",
"channel": "fill",
"instId": "default"
}
]
}Push Data Format
{
"action": "snapshot",
"arg": {
"instType": "SPOT",
"channel": "fill",
"instId": "default"
},
"data": [
{
"clientOid": "osl-global-eth-usdtXMRX3ea35dac9002054",
"timeInForce": "gtc",
"orderId": "1410149151286538240",
"tradeId": "1410149151492153345",
"symbol": "ETHUSDT",
"side": "sell",
"orderType": "limit",
"priceAvg": "1000.00",
"size": "0.01000000",
"amount": "10.000000",
"tradeScope": "taker",
"feeDetail": [
{
"feeCoin": "USDT",
"fee": "-0.02000"
}
],
"cTime": "1771931677697",
"uTime": "1771931677697"
}
]
}Field Descriptions
| Field | Type | Description |
|---|---|---|
| orderId | String | Order ID |
| tradeId | Long | Trade ID |
| symbol | String | Trading pair, such as BTCUSDT |
| side | String | Buy/sell direction: buy/sell |
| orderType | String | Order type: limit/market |
| priceAvg | String | Execution price |
| size | String | Executed quantity, base coin |
| amount | String | Executed amount, quote coin |
| tradeScope | String | Liquidity direction: taker/maker |
| feeDetail[].feeCoin | String | Fee currency |
| feeDetail[].fee | String | Fee amount |
| cTime | String | Creation timestamp, in milliseconds |
| uTime | String | Update timestamp, in milliseconds |