This algorithm is cloned from the example applications on the QuantConnect website: US ETF Constituents - QuantConnect.com and the self.Log() is added to the OnSecurityChanged function for debugging. The backtest result shows nothing on the Log info. So the OnSecurityChanged function never runs? Why?

 

Author

KevinW

February 2023