No data while fetching today's historical daily data

There is no data for fetching data of today’s historical data. Date: 04-06-2024(DD-MM-YYYY)
I am attaching a screenshot of the code and response.

In the morning [Date: 05-06-2024], I’m receiving historical data from the previous day.
Can’t I fetch the current day’s historical daily candle data in the evening of the day?
One more question, my algo is running on 5 min historical candle data at every 5 min in the live market, can I fetch historical min data[which I will resample in 5 mins] in the live market?

Hello @Prem_Patel

No. The data for the current day is updated after the market closes in Daily Historical Data API.
You can use 1 min intraday data (for constructing 5 min candle) but this 1 min data is only available for the current day. You can fetch it in Live Market for sure.

Hi @Hardik ,
Yes, I was fetching historical data evening only. Still, there was no data. Exactly at what time historical daily data is updated?

Hello @Prem_Patel

Daily Historical Data is updated around midnight, so you will only be able to fetch it the next day.


I am fetching the data after midnight, still no data for the previous day.

Now even 1 min candles cannot be accessed?

yahoo finance free scraping and even scraping from NSE is doing a better job providing daily data. why pay you?

Why can’t you just run code to push max, min, open and current from 1 min to day’s data

Hello @Chartronics

Welcome to MadeForTrade community!

You can access 1 min data, only for the current day. We are working on something here, that will simplify this for you.

On the daily data, you can fetch the same since inception.

Hi @Hardik

I would like to clarify whether the Intraday Historical Data API allows fetching current day records, specifically at a 1-minute interval.

My objective is to retrieve all intraday data starting from 9:16 AM up to the current time whenever the API is called. While I’m fine using 1-minute intervals, I’m also open to using 5-minute intervals if supported — the key requirement is to access all available data from market open to the current time during live market hours.

If there is an alternative or more efficient method to achieve this, I would appreciate your guidance on the recommended approach.

Thank you for your support

Yes am doing to bro using intraday fetch day close volume open etc reach me at telegram @nishadts

Hey @aditya3

Yes, it is possible. Do try it out with the DhanHQ APIs and do let us know in case you get stuck anywhere.