In this Discussion

Instrument csv dump

Hello,I am new to python and kite.trade. I want the list of instruments for BANKNIFTY. I have got the list in response object(as mentioned in documentation) but I am not able to read the data from response object. Also any leads for getting BANKNIFTY specific instruments?

Is there a way to get the old instrument tokens? For example, I want the token for ACC19FEBFUT or ACC19JANFUT. Where can I get them? The instrument csv only have the current, next and far month tokens.

The exchange re-uses the tokens once expired so even though you store tokens for expired instruments. You won't be able to fetch data for expired instruments.You can use continuous data feature of the historical data API. You can refer documentation here.