NIFTY Index historical data returns None

sourabh
sourabh edited September 23 in Python client
This return None (token for NIFTY 50), when I try instrument_token=738561 (token for Reliance), I get the minute data.

from_date="2024-09-18"
to_date="2024-09-20"
print(from_date, to_date)
instrument_token = 256265
hdict = kite.historical_data(instrument_token,from_date,to_date,"minute")
print(hdict)
  • sujith
    Can you run pykiteconnect with debug log on and share the complete stack trace here?
Sign In or Register to comment.