Dear Community,

 

I am using Emilio Freire's

https://www.quantconnect.com/forum/discussion/7044/long-only-small-caps-amp-low-pe-ratio-dynamic-universe/p1 

post as a template. and I edited universeselection and

I keep getting this error message as follow:

Runtime Error: Error running OnEndOfAlgorithm(): SystemError : <bound method 'OnEndOfAlgorithm'> returned a result with an error set

would you please help me to figure out what is wrong in the code?

Regards,

Juhwan

https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_7136690c0eac9d784554cff294e4a8c9.html