market.tradeWSS
Endpoint
wss://api.bitkub.com/websocket-api/market.tradeDescription
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
| Field | Type | Description |
|---|---|---|
| stream | string | Stream name |
| sym | string | Symbol |
| txn | string | Transaction ID |
| rat | string | Rate matched (price) |
| amt | float | Amount matched |
| ts | int | Trade timestamp (Unix seconds) |