Hi,
Please suggest the api call / endpoint which can fetch last 3 to 4 years data for Nifty50 futures.
Thanks,
Hi,
Please suggest the api call / endpoint which can fetch last 3 to 4 years data for Nifty50 futures.
Thanks,
Hey @risaxen ,
If you are looking for daily historical data, please use the below endpoint
–url https://api.dhan.co/v2/charts/historical
And for intraday historical data
–url https://api.dhan.co/v2/charts/intraday
Please note that due to the large data size, only 90 days of data can be fetched at once for any of the above time intervals.
Also , For a complete list of endpoints and request structure, you may refer to Historical Data - DhanHQ Ver 2.0 / API Document
I don’t think Dhan api offers continuous futures intraday data. We can get only active futures data.
@Shrutika_Poojari pls correct me if am wrong
Hey @t7support ,
Yes , if you are fetching daily candle data for the current active future contract, as we offer continuous chart you can retrieve it from the futures inception date till the current date.
However, for intraday minute data, you can only fetch data for the active future contract — from the contract start date till the current date. Please note that intraday minute data cannot be fetched for past expiries since it is maintained on a contract-wise chart basis.
Hi @Shrutika_Poojari - Is there a possibility to fetch the intraday minute level data for the expired past Futures?
Not possible. Only daily historic candles are available in continuous futures mode.
Yes Fyers provide it. But their UI is not as good as dhan
Can you share the URL?