Can we use the symbols like `NSE:INFY` in stead of instrumentId while websocket subscription

dopeddude
It would be easy and nice feature if we can use the symbols like `NSE:INFY` in stead of instrumentId while websocket subscription. It would avoid downloading the instrument_id.csv and then doing a lookup for a symbol.
  • dopeddude
    Hi @sujith, could you please help here, thanks much.
  • sujith
    Kite Ticker only accepts instrument token as the input for subscribing to live market data. Kite Connect doesn't provide any alternatives.
  • dopeddude
    Thanks, will these instrumentId change over time, do we always have to refresh this list every morning?
  • sujith
    Yes, it is recommended to update the file every day. In case of the F&O segment, tokens are re-assigned after the expiry to some other instrument sometimes. In case of the equity segment, when an instrument is moved from EQ segment to T2T segment, the instrument token changes.
  • sujith
    Basically, the file will have changes every day. So it is recommended to update it every day.
  • dopeddude
    Sure, thanks @sujith.
This discussion has been closed.