def OnEndOfDay(self,SPY):
        self.Debug(self.ActiveSecurities.Keys[:5])
        pass 

and I don't have any idea where I did wrong, I am a newbie in QuantConnect and Coding. Can anyone give me some suggestions? 🙇🏻 thanks a lot