Private
Fill Channel
Description
Push real-time fill data.
Push rules:
- No push on first-time subscription
- Push when spot/leveraged/futures orders are filled
Code
Request Parameters
| Parameters | Type | Description |
|---|---|---|
| op | String | Operation: subscribe /unsubscribe |
| args | List<Object> | Subscribed channel |
| > instType | String | Product typeUTA Unified trading account |
| > topic | String | Topic fill |
Code
Response Parameters
| Parameters | Type | Description |
|---|---|---|
| event | String | Operation subscribe / unsubscribe / error |
| arg | Object | Subscribed channel |
| > instType | String | Product type UTA |
| > topic | String | Topic fill |
| code | String | Error code |
| msg | String | Error message |
| connId | String | Connection ID |
Code
Push Parameters
| Parameters | Type | Description |
|---|---|---|
| arg | Object | Subscribed channel |
| > instType | String | product type UTA Unified trading account |
| > topic | String | Topic fill fill |
| action | String | Action snapshot Full data |
| data | List<Object> | Subscribed data |
| > category | String | Product type spot Spot trading margin Margin trading usdt-futures USDT futures coin-futures Coin-M futures usdc-futures USDC futures |
| > orderId | String | Order ID |
| > clientOid | String | Client Order ID |
| > execId | String | Fill ID |
| > execLinkId | String | Execution correlation ID |
| > symbol | String | Symbol name |
| > orderType | String | Order type limit/market |
| > side | String | Trade sidebuy/sell |
| > holdSide | String | Position direction long: Long short: Short |
| > tradeSide | String | Trade side open/close Detailed enumerations can be obtained on the Enumeration page. |
| > execPrice | String | Fill price |
| > execQty | String | Fill quantity The unit is base coin |
| > execValue | String | Fill value The unit is quote coin |
| > execPnl | String | Execution profit and loss |
| > tradeScope | String | Trade scopetaker/maker |
| > feeDetail | String | Fee detail |
| >> feeCoin | String | Fee coin |
| >> fee | String | Total fee |
| > execTime | String | Execution timestamp A Unix timestamp in milliseconds. e.g., 1622697148123 |
| > updatedTime | String | Updated timestamp A Unix timestamp in milliseconds. e.g., 1622697148123 |
| > isRPI | String | Whether it is an RPI fillyes Yesno No |
