WebSocket · Private
Orders Channel
No push on first subscribe. Data is pushed when an order is placed, filled, cancelled or amended. Subscribe per trading pair only.
Login requiredPush frequency: real-time (on order status change)
Channelorders
instTypeSPOT
Private channels require login with the same ACCESS-KEY, passphrase, timestamp and signature as REST. See Authentication & Signing.
Market buy of BTCUSDT with an example order amount of 10,000 USDT. The order is not yet filled, and the order status is: live
The order is partially filled, and the order status is: partially_filled
{ "action": "snapshot", "arg": { "instType": "SPOT", "channel": "orders", "instId": "BTCUSDT" }, "data": [ { "instId": "BTCUSDT", "orderId": "1398070744520491008", "clientOid": "osl-global-eth-usdtXMRX3ea35dac9002006", "size": "10000.00000", "notional": "10000.0000", "orderType": "market", "force": "gtc", "side": "buy", "fillPrice": "110110.0", "tradeId": "1398070744751144961", "baseVolume": "0.09081", "fillTime": "1769051961124", "fillFee": "-0.00018162", "fillFeeCoin": "BTC", "tradeScope": "T", "accBaseVolume": "0.09081", "priceAvg": "110110.0", "status": "partially_filled", "cTime": "1769051961069", "uTime": "1769051961149", "feeDetail": [ { "feeCoin": "BTC", "fee": "-0.00018162" } ], "enterPointSource": "API", "newSize": "10000.00000" } ], "ts": 1769051961216}The order is fully filled, and the order status is: filled
{ "action": "snapshot", "arg": { "instType": "SPOT", "channel": "orders", "instId": "BTCUSDT" }, "data": [ { "instId": "BTCUSDT", "orderId": "1398070744520491008", "clientOid": "osl-global-eth-usdtXMRX3ea35dac9002006", "size": "10000.00000", "notional": "10000.0000", "orderType": "market", "force": "gtc", "side": "buy", "accBaseVolume": "0.09081", "priceAvg": "110110.0", "status": "filled", "cTime": "1769051961069", "uTime": "1769051961149", "feeDetail": [ { "feeCoin": "BTC", "fee": "-0.00018162" } ], "enterPointSource": "API", "newSize": "10000.00000" } ], "ts": 1769051961217}Subscribe request
{ "op": "subscribe", "args": [ { "instType": "SPOT", "channel": "orders", "instId": "BTCUSDT" } ]}Push data format
{ "action": "snapshot", "arg": { "instType": "SPOT", "channel": "orders", "instId": "BTCUSDT" }, "data": [ { "instId": "BTCUSDT", "orderId": "1398070744520491008", "clientOid": "osl-global-eth-usdtXMRX3ea35dac9002006", "size": "10000.00000", "notional": "10000.0000", "orderType": "market", "force": "gtc", "side": "buy", "accBaseVolume": "0.00000", "priceAvg": "0.0", "status": "live", "cTime": "1769051961069", "uTime": "1769051961069", "feeDetail": [], "enterPointSource": "API", "newSize": "10000.00000" } ], "ts": 1769051961102}Fields
| Field | Type | Description |
|---|---|---|
| instId | String | Product ID |
| orderId | String | Order ID |
| clientOid | String | Client order ID |
| price | String | Order price |
| size | String | Order size |
| notional | String | Order amount (market buy) |
| orderType | String | Order type: limit / market |
| force | String | Time in force: GTC / IOC / FOK |
| side | String | Side: buy / sell |
| fillPrice | String | Latest fill price |
| tradeId | Long | Latest trade ID |
| baseVolume | String | Latest fill size |
| fillTime | Long | Latest fill timestamp (ms) |
| fillFee | String | Latest fill fee |
| fillFeeCoin | String | Fee currency |
| tradeScope | String | Liquidity: taker / maker |
| accBaseVolume | String | Accumulated filled size |
| priceAvg | String | Average fill price |
| status | String | Order status: live / partially_filled / filled / cancelled |
| cTime | String | Created time (ms) |
| uTime | String | Updated time (ms) |
| feeDetail | Array | Fee details |
| enterPointSource | String | Order source |
| newSize | String | New order size |
