Historical API syntax

Loki
Loki edited December 2017 in Python client
Dear developing team, kindly publish the examples for the available python APIs. we are having very difficult time figuring out the syntax.

I was trying to access the historical API. I have used the below syntax and none of them are working for me.

kite.historical("408065","2017-12-13 09:15:00","2017-12-13 9:30:00","1minute","0")

the error i'm getting is
in historical "continuous": 1 if continuous else 0
TokenException: Invalid API credentials

so I can make out that the last parameter I'm passing is not correct. I have tried all possible things but no luck yet.

have tried below syntaxes

kite.historical("408065","2017-12-13 09:15:00","2017-12-13 9:30:00","1minute",0)
kite.historical("408065","2017-12-13 09:15:00","2017-12-13 9:30:00","1minute","continuous=0")

can't make out what to be passed.
Sign In or Register to comment.