Order Update EventWSS
Authentication Required
This channel requires Private WebSocket authentication before subscribing. View Private WebSocket Authentication →
Description
Received when your order status changes (created, filled, partially filled, cancelled, etc.)
Subscribe
{ "event": "subscribe", "channel": "order_update" }Response
{
"event": "order_update",
"code": "200",
"message": "Success",
"data": {
"user_id": "string",
"order_id": "string",
"client_id": "string | null",
"symbol": "BTC_THB",
"side": "buy | sell",
"type": "limit | stoplimit | market",
"status": "new | open | rejected | partial_filled | filled | partial_filled_canceled | canceled | untriggered",
"price": "1000000.00",
"stop_price": "string | null",
"order_currency": "THB",
"order_amount": "10000.00",
"executed_currency": "THB",
"executed_amount": "5000.00",
"received_currency": "BTC",
"received_amount": "0.005",
"total_fee": "12.50",
"credit_used": "0.00",
"net_fee_paid": "12.50",
"avg_filled_price": "1000000.00",
"post_only": false,
"order_created_at": 1704067200000,
"order_updated_at": 1704067250000
},
"connection_id": "Y33pLftYyQ0CEpQ=",
"timestamp": "2024-01-01T12:00:00.000000000Z"
}Field Descriptions
| Field | Type | Description |
|---|---|---|
| user_id | string | User identifier |
| order_id | string | Unique order identifier |
| client_id | string | null | Client-provided order identifier |
| symbol | string | Trading pair (e.g., BTC_THB) |
| side | string | Order side: buy or sell |
| type | string | Order type: limit, stoplimit, or market |
| status | string | Order status (see Status Mapping below) |
| price | string | null | Limit price (null for market orders) |
| stop_price | string | null | Stop price (for stop-limit orders) |
| order_currency | string | Currency used for the order |
| order_amount | string | Original order amount |
| executed_currency | string | Currency of executed amount |
| executed_amount | string | Total executed amount (including fees for buy orders) |
| received_currency | string | Currency received |
| received_amount | string | Amount received after fees |
| total_fee | string | Total fee (wallet + credit) |
| credit_used | string | Fee paid using credit |
| net_fee_paid | string | Net fee paid from wallet |
| avg_filled_price | string | Average filled price |
| post_only | boolean | Whether the order is post-only |
| canceled_by | string | null | Cancellation source (if cancelled) |
| order_created_at | number | Order creation timestamp (Unix milliseconds) |
| order_triggered_at | number | null | Trigger timestamp for stop orders (Unix milliseconds) |
| order_updated_at | number | null | Last update timestamp (Unix milliseconds) |