I was under the impression that all scrips has their unique instrument token.
Last week I update my instruments from Zerodha and comparing it with this week there is a mismatch
Last week instrument_token exchange_token tradingsymbol 9595650 37483 BANKNIFTY1930726000CE
This week instrument_token exchange_token tradingsymbol 11283714 44077 BANKNIFTY1940430100CE
Now if you see the kite application BANKNIFTY1940430100CE (APR Weekly expiry) has the exchange token of march month first week expiry instrument_token.
@ashwin_tay The exchange re-uses the tokens once expired so you can't store tokens for expired instruments. We will recommend you to fetch instrument list daily or post expiry date, check instrument file here.
@rakeshr in that case, could you propose a good method to store data in db for long historical datastore. Is a combination of excange and tradingsymbol unique?
The exchange re-uses the tokens once expired so you can't store tokens for expired instruments.
We will recommend you to fetch instrument list daily or post expiry date, check instrument file here.
Yes,exchange and tradingsymbol (eq: NSE:SBIN) remains unique until there is symbol change corporate action.