trades
HL-compatible real-time trade stream, with optional firehose add-on.
Subscribe
{
"type": "subscribe",
"subscription": {
"type": "trades",
"coin": "BTC", // optional, single-coin (HL-native shape)
"coins": ["xyz:SP500", "BTC"] // optional, multi-coin; omit both for the all-coins firehose
}
}Parameter
Type
Description
Unsubscribe
{
"type": "unsubscribe",
"subscription": {
"type": "trades",
"coins": ["BTC"]
}
}Trade data format
Field
Description
Common errors
Examples
Last updated