Prices
Stream Price bars in an OHLCV chart for pairs or assets in Standard spot exchange
β
Request
{
"id": 1,
"method": "spot.bars.subscribe",
"params": {
"ids": ["ETH/USDC-PairMin", "ETH-TokenMin"]
}
}
π€ Response
{
"result": null,
"id": 1
}
π‘ Streamed Data Format
[
"spotBar",
"ETH/USDC-PairMin",
"1600.18",
1713659300,
1200.12
]
π Field Descriptions
Index
Field
Type
Description
0
eventId
string
Unique event identifier
1
id
string
Unique identifier (e.g. ETH/USDC-PairMin
)
2
price
float
Price
3
timestamp
integer
UNIX timestamp of the event
4
volume
float
Volume (default or placeholder value is 0
)
Last updated