Is there a way to distinguish ETFs from individual stocks?

abrohit
I'm using the kite.instruments() function to get all instruments and store them in a pandas data frame. Next, I want to filter the instruments to get only individual stocks and not ETFs. Is there a way to do this?
  • themohammedfaisal
    Hi @abrohit,

    There's isn't a direct identifier offered in the instruments file from the exchange like Series, etc to identify ETFs.
    You will need to maintain a manual list of ETFs available to trade. You can download symbols from here and exclude them from your logic. Since very few ETFs get listed, you could probably update this list once every month or quarter manually.
  • kulguru
    i can do this
  • abrohit
    Thanks!
This discussion has been closed.