Trade updates

The server sends TRADE_UPDATE when an order executes. The payload includes the order state and a trades list of executions. Events are pushed automatically after login; no subscription is needed.

{
  "event": "TRADE_UPDATE",
  "code": 0,
  "data": {
    "orderType": "L",
    "updatedTime": "2026-08-31 11:41:00",
    "orderNo": "23965-S",
    "extendedTrading": "Y",
    "orderStatus": "PEX",
    "trades": [
      {
        "tradeTime": "2026-08-31 11:41:00",
        "exchTradeRref": "xxxxxx",
        "price": "0.6",
        "qty": "2",
        "tradeId": "xxxxxx"
      }
    ],
    "lastOrderActionCode": "Exec",
    "bsFlag": "B",
    "inputChannel": "I",
    "reference": "clientOrderId-1091",
    "productCode": "FENG",
    "createTime": "2026-08-31 11:40:30",
    "price": "0.6",
    "execPrice": "0.6",
    "qty": "6",
    "outstandQty": "4",
    "ccy": "USD",
    "execQty": "2",
    "t1Session": "N",
    "exchangeCode": "US"
  }
}