Trade Count, OHLCV, & VWAP
What is this endpoint for?
This endpoint retrieves the Trade Count, OHLCV and VWAP history for any instrument on an exchange. The interval
parameter is suffixed with s
, m
, h
or d
to specify seconds, minutes, hours or days, respectively. By making use of the sort
parameter, data can be returned in ascending asc
(default) or descending desc
order.
Endpoint
Path Parameters
region
Yes
Choose between eu
and us
.
exchange
Yes
Exchange code.
instrument_class
Yes
instrument
Yes
Query Parameters
continuation_token
No
end_time
No
Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens.
interval
No
The interval parameter is suffixed with s
, m
, h
or d
to specify seconds, minutes, hours or days, respectively.
Any arbitrary value between one second and one day can be used, as long as it sums up to a maximum of 1 day. The suffixes are s
(second), m
(minute), h
(hour) and d
(day).
Default 1d
.
page_size
No
start_time
No
Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens.
sort
No
Return the data in ascending (asc
) or descending (desc
) order. Default desc
Automatically included in continuation tokens.
Fields
timestamp
Timestamp at which the interval begins.
count
Then number of trades. 0
when no trades reported.
open
Opening price of interval. null
when no trades reported.
high
Highest price during interval. null
when no trades reported.
low
Lowest price during interval. null
when no trades reported.
close
Closing price of interval. null
when no trades reported.
volume
Volume traded in interval. 0
when no trades reported.
price
The volume weighted price during the time interval. null
when no trades reported.
Request examples
Response example
Last updated