Historical data return error invalid interval

Vipul7779
time_frame : 1minute
from_date_string : 2021-01-21 10:56:43
to_date_string : 2021-02-03 10:56:43
instrument_token : 877057
try:
historical_data= kite.historical_data(instrument_token, from_date_string ,to_date_string,time_frame)
print(historical_data)
except:
print(sys.exc_info())

Output = (, InputException('invalid interval'), )

# Please help I don't know why this error is coming.
Sign In or Register to comment.