market.trade
    WSS

    Endpoint
    wss://api.bitkub.com/websocket-api/market.trade

    Description

    Real-time matched order data. Each trade contains buy order id and sell order id. As of 2023-04-19, fields `bid` and `sid` changed type from Integer to String.

    Response

    {
      "stream": "market.trade.thb_eth",
      "sym": "THB_ETH",
      "txn": "ETHSELL0000074282",
      "rat": "5977.00",
      "amt": 1.556539,
      "ts": 1542268567
    }

    Field Descriptions

    FieldTypeDescription
    streamstringStream name
    symstringSymbol
    txnstringTransaction ID
    ratstringRate matched (price)
    amtfloatAmount matched
    tsintTrade timestamp (Unix seconds)