Match Update EventWSS
Authentication Required
This channel requires Private WebSocket authentication before subscribing. View Private WebSocket Authentication →
Description
Received when a trade executes (order is matched).
Subscribe
{ "event": "subscribe", "channel": "match_update" }Response
{
"event": "match_update",
"code": "200",
"message": "Success",
"data": {
"order_id": "string",
"txn_id": "string",
"client_id": "string | null",
"symbol": "BTC_THB",
"type": "limit | stoplimit | market",
"status": "partial_filled | filled",
"side": "buy | sell",
"is_maker": true,
"price": "1000000.00",
"executed_currency": "THB",
"executed_amount": "5000.00",
"received_currency": "BTC",
"received_amount": "0.005",
"fee_rate": "0.0025",
"total_fee": "12.50",
"credit_used": "0.00",
"net_fee_paid": "12.50",
"txn_ts": 1704067200
},
"connection_id": "Y33pLftYyQ0CEpQ=",
"timestamp": "2024-01-01T12:00:00.000000000Z"
}Field Descriptions
| Field | Type | Description |
|---|---|---|
| order_id | string | Unique order identifier |
| txn_id | string | Transaction/trade identifier |
| client_id | string | null | Client-provided order identifier |
| symbol | string | Trading pair (e.g., BTC_THB) |
| type | string | Order type: limit, stoplimit, or market |
| status | string | Order status after this match |
| side | string | Order side: buy or sell |
| is_maker | boolean | True if this order was the maker |
| price | string | Execution price |
| executed_currency | string | Currency of executed amount |
| executed_amount | string | Amount executed in this trade |
| received_currency | string | Currency received |
| received_amount | string | Amount received after fees |
| fee_rate | string | Fee rate applied |
| total_fee | string | Total fee for this trade |
| credit_used | string | Fee paid using credit |
| net_fee_paid | string | Net fee paid from wallet |
| txn_ts | number | Transaction timestamp (Unix seconds) |