finding issues while fetching historical_data

SanoopJacob
SanoopJacob edited November 2023 in Python client
When passing instrument_token to fetch historical data for options data using for loop it returns only one, am I missing something? Can somebody help me?
tradingsymbol - has all the required instrument tokens .

to_date = datetime.datetime.now().date()
from_date = to_date - datetime.timedelta(days=1)
for i in tradingsymbol:
candle_data = kite.historical_data(i,from_date, to_date,"minute")
candle_data = pd.DataFrame(candle_data)
  • sujith
    Can you enable debug logs for pykiteconnect and paste the complete stack trace?

    PS: Make sure to remove client and app specific tokens before sharing the logs.
Sign In or Register to comment.