my code is supposed to scan and print the stocks meeting the criteria without repeating the same stock more than once. the issues I need help with:

  1. Why some stocks are repeated more than once?
  2. why stock.price or stock.adjusted price when uncommented in this line [#stock.AdjustedPrice > self.averages[symbol].EMA20 and] it's cuasing the following error. Runtime Error: TypeError : Cannot get managed object  at CoarseSelectionFunction    stock.AdjustedPrice > self.averages[symbol].EMA20 and ===   at Python.Runtime.Dispatcher.TrueDispatch(Object[] args)   at Python.Runtime.Dispatcher.Dispatch(Object[] args)   at __System_Func`2\[\[System_Collections_Generic_IEnumerable`1\[\[QuantConnect_Data_UniverseSelection_CoarseFundamental\ in main.py: line 31
  3.