OHLC Candles

Get OHLC candles

get/chart/history

Query parameters

symbolstring required

Symbol should be anyone of following 1. product symbol to get OHLC for given product e.g BTCUSD 2. Spot index symbol to get spot index price. e.g. .DEXBTUSD 3. Mark and symbol to get mark price OHLC data e.g. MARK:BTCUSD 4. Funding and product symbol to get Funding data for given product e.g. FUNDING:BTCUSD

frominteger required

start time for the interval ( in seconds )

tointeger required

end time for the interval ( in seconds )

resolution'1' | '3' | '5' | '15' | '30' | '60' | '120' | '240' | '360' | 'D' | '7D' | '30D' | '1W' | '2W' required

resolution for the candles

Response

OHLC candles

tinteger[]

array of timestamps for which candles are returned

ostring[]

open prices for candles

hstring[]

high prices for candles

lstring[]

low prices for candles

cstring[]

close prices for candles

vinteger[]

volumes for candles

Changes

No recorded changes to this endpoint across all 1 revision of this API.