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)
PS: Make sure to remove client and app specific tokens before sharing the logs.