OHLCV
What is this endpoint for?
This Stream delivers the OHLCV for an instrument on an exchange in real-time.
Endpoints
gateway-v0-grpc.kaiko.ovhgateway-v0-http.kaiko.ovhhttps://gateway-v0-http.kaiko.ovh/api/stream/aggregates_ohlcv_v1Request parameters
aggregate
The period you would like the OHLCV aggregation to be calculated over.
1m
instrumentCriteria
A nested object to configure following properties for your stream:
exchange(String) - The code(s) for the exchange(s)instrument_class(String) - The class(es) of the instrument(s) .code (String) -The Kaiko code for the instrument.
Explore instruments, codes and exchanges in the Instrument Explorer or Reference Data.
cbse
spot
btc-usd
Response fields
aggregate
The period of calculation.
class
The class of instrument.
close
Closing price of interval. null when no trades reported.
exchange
The exchange the OHLCV is referencing.
high
Closing price of interval. null when no trades reported.
low
Lowest price during interval. null when no trades reported.
open
Opening price of interval. null when no trades reported.
code
The instrument code.
timestamp
The timestamp for the interval.
uid
The unique ID for this delivery.
volume
Volume traded in interval. 0 when no trades reported.
sequenceId
Not applicable. Null
Request examples
cURL requests are intended for testing purposes only.
Information from this endpoint can be accessed through Google BigQuery. To get started, read our guide.
For more advanced users, you can access our full SDK here, where you'll find more coding languages, examples and guidance.
Response Example
Last updated
Was this helpful?
