i am using this to fetch historical data ,but i only got first day and last days data ,i am missing few days data in between ,can somw one help me to fetch 1 min ohlc data for last 7 days for a specific intstrument_token in python
Hi @Vibhuvan_Krishna, Could you please share the instrument key for which the historical data is missing? I’m able to retrieve the correct candle data for the last 7 days using the cURL request below.
Hi @Vibhuvan_Krishna, please try using the following URL: https://api.upstox.com/v2/historical-candle/NSE_FO|43826/1minute/2025-04-07/2025-04-02. It should return the data you need for the period from 2nd to 7th April.