Public Trade Fills
WSProduction
wss://ws.btse.com/ws/spotTestnetwss://testws.btse.io/ws/spotReal-time public trade feed for a market.
Topic: tradeHistoryApi:<symbol> β no authentication required.
Response Contentβ
| Name | Type | Required | Description |
|---|---|---|---|
| topic | String | Yes | WebSocket topic |
| data | Object[] | Yes | Array of data objects |
Data Object:
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | String | Yes | Market symbol |
| side | String | Yes | Trade side β BUY Β· SELL |
| size | Double | Yes | Transacted size |
| price | Double | Yes | Transacted price |
| tradeId | Long | Yes | Trade sequence ID |
| timestamp | Long | Yes | Trade timestamp |
example
Response
{
"topic": "tradeHistoryApi:BTC-USD",
"data": [
{
"symbol": "BTC-USD",
"side": "SELL",
"size": 0.007,
"price": 5302.8,
"tradeId": 118974855,
"timestamp": 1584446020295
}
]
}