Not get the NIFTY chart price

Respected @Tradehull_Imran sir I am trying to fetch NIFTY data form the session1 of Advance algo with dhan series but the code is not working.
Can you please suggest me what to do ?
Previously you answered me in this topic but somehow my post is not available.
I will be thank full…

Hi @DEBJYOTI_GHOSE ,

Do use the below code -

data  = tsl.get_historical_data(tradingsymbol = 'NIFTY',exchange = 'INDEX' ,timeframe="DAY")

thank you @Tradehull_Imran sir
it’s working properly

1 Like