Does instrument_token stays same for a tradingsymbol or may change ?

rahultbot
If I cache instrument_tokens for tradingsymbol, for example 341249 for HDFCBANK and 779521 for SBIN, will it ever change ?
Tagged:
  • sujith
    It may change whenever they are moved to T2T segment. It won't change regularly but it may. So best solution is to download instruments file every day and use the instrument token from there.
    If you are asking for making it primary on db then i would suggest using a combination of tradingsymbol and exchange as the key like SBIN:NSE
Sign In or Register to comment.