User data stream.
Response
Sub order data:
{
"channel": "SUB_ORDER",
"instId": "BINANCE_PERP_ETH_USDT",
"data": {
"portfolioId": "1730798094087000",
"orderId": "1735613056910000",
"algoOrderId": "674712518659",
"clientOrderId": "2024123110441600",
"exchangeType": "BINANCE",
"businessType": "PERP",
"sym": "BINANCE_PERP_ETH_USDT",
"limitPrice": "3343.35923485",
"orderQty": "0.01",
"quoteOrderQty": "0",
"side": "BUY",
"orderType": "DMA",
"exchangeOrderType": "MARKET",
"timeInForce": "GTC",
"executedQty": "0",
"executedAmount": "0",
"executedAvgPrice": "0",
"lastExecutedQty": "0",
"lastExecutedPrice": "0",
"lastExecutedAmount": "0",
"borrowAmount": "0",
"borrowAsset": "",
"fee": "",
"orderState": "OPEN",
"updateAt": "1735613056925",
"createAt": "1735613056910",
"reason": "",
"reduceOnly": False,
"leverage": "3"
}
}
Field | Type | remark |
---|---|---|
channel | String | Channel name:Orders |
instId | String | Trading unique identifier, example: BINANCE_SPOT_BTC_USDT, BINANCE_PERP_BTC_USDT If you want to know other trading unique identifiers, please go to the introduction page. |
data | Object | Data |
>portfolioId | String | Portfolio ID |
>orderId | String | Order ID |
>clientOrderId | String | Customer defined order ID |
>exchangeType | String | Exchange type(BINANCE, OKX) |
>businessType | String | Business type(SPOT, PERP) |
>sym | String | Trading unique identifier, example: BINANCE_SPOT_BTC_USDT, BINANCE_PERP_BTC_USDT If you want to know other trading unique identifiers, please go to the introduction page. |
>limitPrice | String | Order price |
>orderQty | String | Order quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin Note: The trading unit on OKX is measured in the number of contracts, while the trading unit on Binance is measured in the number of coins. |
>quoteOrderQty | String | Order quote quantity, applicable only for spot market buy orders. |
>side | String | Side(BUY,SELL) |
>exchangeOrderType | String | Exchange order type(LIMIT, MARKET) |
>timeInForce | String | Default GTC, enums:GTC,IOC,FOK,GTX |
>executedQty | String | Transaction quantity Note: The trading unit on OKX is measured in the number of contracts, while the trading unit on Binance is measured in the number of coins. |
>executedAmount | String | Transaction amount |
>executedAvgPrice | String | Average transaction price |
>lastExecutedQty | String | Last transaction quantity |
>lastExecutedPrice | String | Last transaction price |
>lastExecutedAmount | String | Last transaction amount |
>fee | String | Executed transaction fee |
>orderState | String | Order state(NEW, OPEN, CANCELLED, FILLED, PARTIALLY_FILLED, REJECT, FAIL) |
>updateAt | String | Update time |
>createAt | String | Create time |
>reason | String | Fail reason |
>borrowAmount | String | Borrow amount |
>borrowAsset | String | Borrow asset |