Can I use exchange_token as primary key in case if I store the instruments in DB?

Hi @siva,

I have a question related to exchange_token value from kite instrument list api.

I am trying to store the instrument list into a DB table and thinking of using exchg_token as primary key…

Will the exchange_token be unique over the time? I mean exchg_token of expired options will be assigned to different option in future?


I had found a thread on Kite Connect Developer Forum which mentioned that exchange_token can be reused by the exchange -

The exchange re-uses an exchange token when an instrument expires.