Symbol Question

Dustin_LangDustin_Lang Posts: 25
edited March 2017 in FAQs

How do I check to see if a symbol is in a given symbol list?

Tagged:

Comments

  • shayneshayne Posts: 70
    edited August 2016

    it's a two step process

    • get the list handle
    • check to see if it's in the list

    ## #1 - get the list handle self.earnings_today_after = service.symbol_list.get_handle('448CBB9E-CFDE-4A55-BB7B-7521080E5A0B') ## #2 - check to see if it's in the list print service.symbol_list.in_list(self.earnings_today_after, 'AAPL')
Sign In or Register to comment.