I am trying the historical_data() function by using continuous parameter as 1
data = kite.historical_data("12516098",prevDate,currentDate,interval="60minute",continuous=1) import pandas as pd df = pd.DataFrame(data) df.to_csv("HistoricalDataBankNiftyNOVd2018fe1.csv")
However I am not getting any data in the dataframe.
When I am trying the same code with interval="day" , I am getting daily close,high,low and open price But I want data in this format for every hour. Can anyone please help me to solve this.