Historical Data API not working.

mohitk
Although I'm able to see my account information using API( kite.holdings() works !), I'm unable to fetch historic data. Error: 'kiteconnect.exceptions.InputException: invalid token'. I've already lost 3 days to the issue. Please suggest what might be going wrong ? Is the method for generating access token for historical data different than regular API access token ? Thank you !
  • rakeshr
    Is the method for generating access token for historical data different than regular API access token ?
    No, it's the same.
    Error: 'kiteconnect.exceptions.InputException: invalid token
    You are using wrong instrument token used to fetch historical data for the respective contract. You can fetch latest instrument data using instrument-list.
  • sujith
    You seem to be passing an invalid instrument token. You can refer to the correct one from the instruments master dump.
Sign In or Register to comment.