Subscribe
- Request
- Response
Snapshot / Update
array
Unsubscribe
- Request
- Response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Subscribe to Open High Low Close candle feed for currency pairs
{
"event": "subscribe",
"pair": [
"XBT/EUR"
],
"subscription": {
"interval": 5,
"name": "ohlc"
}
}
[
42,
[
"1542057314.748456",
"1542057360.435743",
"3586.70000",
"3586.70000",
"3586.60000",
"3586.60000",
"3586.68894",
"0.03373000",
2
],
"ohlc-5",
"XBT/USD"
]
{
"event": "unsubscribe",
"pair": [
"XBT/EUR"
],
"subscription": {
"name": "ohlc"
}
}
subscribe["BTC/USD", "MATIC/GBP"]The currency pairs for this request.Hide elements
channelName and pairChannel identifier.Show elements
"BTC/USD"The symbol of the currency pair.ohlc-[depth]unsubscribe["BTC/USD", "MATIC/GBP"]{
"event": "subscribe",
"pair": [
"XBT/EUR"
],
"subscription": {
"interval": 5,
"name": "ohlc"
}
}
[
42,
[
"1542057314.748456",
"1542057360.435743",
"3586.70000",
"3586.70000",
"3586.60000",
"3586.60000",
"3586.68894",
"0.03373000",
2
],
"ohlc-5",
"XBT/USD"
]
{
"event": "unsubscribe",
"pair": [
"XBT/EUR"
],
"subscription": {
"name": "ohlc"
}
}