Historical data not working...error as "TokenException: Invalid API credentials"

vmanjunathan
import datetime
frmdate = datetime.datetime.strptime('2017-06-23', '%Y-%m-%d')
todate = datetime.datetime.strptime('2017-06-24', '%Y-%m-%d')
kite.historical(instrument_token=1270529, from_date=frmdate, to_date=todate,interval="1 minute")
Tagged:
Sign In or Register to comment.