API dokumentation
Get Instrument Historical Data
get
/api/v1/Instruments/{instrumentType}/{symbol}/historical-dataReturns OHLCV historical bars for charting. Each bar is timestamped at the start of its interval, so a bar and the live prices that continue it share the same timeline.
Instruments
Parametrar
instrumentType
path · string
Nödvändig
symbol
path · string
Nödvändig
barSize
query · integer
Frivillig
version
path · string
Nödvändig
Svar
- 200JSON 2D array: [timestampMs, open, high, low, close, volume] per bar.
- 404Unknown instrument type or symbol.application/json
{ "type": "Deposit", "title": "Example", "status": 1, "detail": "The request could not be completed. Check the values and try again.", "instance": "Example" }