Private
Fast Fill Channel
Description
This channel only pushes order fill data for users in UTA mode.
This channel does not currently push strategy and copy trading fill data.
For Reality (rtoken) orders, this channel now pushes fills executed both onshore (internal) and offshore (external). Previously, only onshore fills were pushed.
Push rules:
- No push on first-time subscription
- Push when spot/leveraged/futures orders are filled in the unified trading account
Code
Request Parameters
| Parameters | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | Operation: subscribe /unsubscribe |
| args | List<Object> | Yes | Subscribed channel list |
| > instType | String | Yes | Product typeUTA Unified trading account |
| > topic | String | Yes | Topic fast-fill Fast fill |
| > symbol | String | No | Symbol namedefault All symbols |
Code
Response Parameters
| Parameters | Type | Description |
|---|---|---|
| event | String | Operation subscribe / unsubscribe / error |
| arg | Object | Subscribed channel |
| > instType | String | Product type UTA Unified trading account |
| > topic | String | Topic fast-fill Fast fill |
| code | String | Error code |
| msg | String | Error message |
| connId | String | Connection ID |
Code
Push Parameters
| Parameters | Type | Description | Remarks |
|---|---|---|---|
| arg | Object | Subscribed channel | |
| > instType | String | Product type UTA Unified trading account | |
| > topic | String | Topic fast-fill Fast fill | |
| action | String | Push data actionupdate Incremental | |
| data | Object | Subscribed data | |
| > category | String | Business line 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 | |
| > symbol | String | Symbol name | |
| > execId | String | Fill ID | |
| > side | String | Trade sidebuy Buysell Sell | |
| > holdSide | String | Position direction long Long short Short | |
| > execPrice | String | Fill price | |
| > execQty | String | Fill quantity | |
| > tradeScope | String | Trade scopetaker Takermaker Maker | |
| > execVenue | String | Execution venue identifierinternal_market Internal fill: matched in the internal order booklit_market Lit market fill: routed to an external broker and executed on the public marketOnly returned for Reality (rToken) fills; empty string for fills of other business lines Note: execVenue is where the fill actually took place, which differs from the venue order parameter | |
| > execTime | String | Execution timestamp A Unix timestamp in milliseconds. e.g., 1622697148123 | |
| > updatedTime | String | Updated timestamp A Unix timestamp in milliseconds. e.g., 1622697148123 |
