Unable to get historical data before current day

samirbrd
Hi, I am trying to historical data. I have subscribed to the Historical Data. My code is
datefrom=datetime(2020,1,20,9,15)
dateto=datetime(2020,1,29,15,30)
hist=kite.historical_data('12247042', datefrom, dateto, '30minute', continuous=True, oi=False)
df = pd.DataFrame(hist)

However, the dataframe only contains 30 minute data for the current day, and not for all dates specified in the datefrom.
Is there something I am doing wrong here?

Sign In or Register to comment.