Hello. I am pretty new to Python and Quantopian. I am trying to implement a stock filter based off of Morningstar sector codes. I have followed some of the posted 'help' notebooks on this topic but I keep getting a 'element_of() missing 1 required positional argument: 'choices' error message with my code. I am not really sure how to proceed from here.
Ideally, I'd like to only filter by one sector (309 = energy) but I included two sectors in my code to help with the 'choices' error. Still nothing.
Any help would be appreciated!
-Chris