Learn Advanced Algo Trading Series | Codes | Youtube


sir , iam facing this problm in ( session 7 ) 13. option buying algo.py

Hi,
Can someone please look into this and help identify the issue?

I am using Codebase Version 2.1
The get_historical_data() function is not fetching the correct OHLC and EMA values.
When I cross-check the data, it appears to be picking data from the previous day instead of the current one.

This issue occurred when I fetched the data on Thursday, 08-May-2025 at 19:37 PM.
@RahulDeshpande @Tradehull_Imran
Any help would be appreciated!

@Tradehull_Imran Can you please help with this concern?

I am using Codebase Version 2.1

While cross-checking in the live market on Friday, 09-May-2025 at 10:40 AM, I noticed that the OHLC and EMA values being fetched are from Wednesday, 07-May-2025, i.e., two days prior.

Please note that I am fetching data specifically for NFO (NSE Futures & Options) instruments.

Could you kindly look into this and help identify the reason for this outdated data?

Thank you. @Tradehull_Imran