OHLC Candles

Get OHLC candles

Changed on
get/chart/history

Request

  • Base URL
    https://api.india.delta.exchange
  • Auth
    none declared

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

    • breaking

      the query request parameter from became required

    • breaking

      the query request parameter resolution became required

    • breaking

      the query request parameter symbol became required

    • breaking

      the query request parameter to became required