WebSocket · Private
Fills Channel
Subscribe to your own trade executions (fills).
Login requiredPush frequency: real-time (when an order is filled)
Channelfill
instTypeSPOT
Private channels require login with the same ACCESS-KEY, passphrase, timestamp and signature as REST. See Authentication & Signing.
Subscribe request
{ "op": "subscribe", "args": [ { "instType": "SPOT", "channel": "fill", "instId": "default" } ]}Push data format
{ "action": "snapshot", "arg": { "instType": "SPOT", "channel": "fill", "instId": "default" }, "data": [ { "orderId": "1234567890", "tradeId": 9876543210, "symbol": "BTCUSDT", "side": "buy", "orderType": "limit", "priceAvg": "45000.50", "size": "1.5", "amount": "67500.75", "tradeScope": "taker", "feeDetail": [ { "feeCcy": "USDT", "fee": "10.125" } ], "cTime": "1640000000000", "uTime": "1640000001000" } ]}Fields
| Field | Type | Description |
|---|---|---|
| orderId | String | Order ID |
| tradeId | Long | Trade ID |
| symbol | String | Trading pair, e.g. BTCUSDT |
| side | String | Side: buy / sell |
| orderType | String | Order type: limit / market |
| priceAvg | String | Average fill price |
| size | String | Filled size |
| amount | String | Filled value |
| tradeScope | String | Liquidity: taker / maker |
| feeDetail | Array | Fee details |
| feeDetail[].feeCcy | String | Fee currency |
| feeDetail[].fee | String | Fee amount |
| cTime | String | Created time (ms) |
| uTime | String | Updated time (ms) |
