Match Update Event
    WSS

    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

    FieldTypeDescription
    order_idstringUnique order identifier
    txn_idstringTransaction/trade identifier
    client_idstring | nullClient-provided order identifier
    symbolstringTrading pair (e.g., BTC_THB)
    typestringOrder type: limit, stoplimit, or market
    statusstringOrder status after this match
    sidestringOrder side: buy or sell
    is_makerbooleanTrue if this order was the maker
    pricestringExecution price
    executed_currencystringCurrency of executed amount
    executed_amountstringAmount executed in this trade
    received_currencystringCurrency received
    received_amountstringAmount received after fees
    fee_ratestringFee rate applied
    total_feestringTotal fee for this trade
    credit_usedstringFee paid using credit
    net_fee_paidstringNet fee paid from wallet
    txn_tsnumberTransaction timestamp (Unix seconds)