Hi there,

Unfortunately, I can't get any further here. I always fail with the same problem. It seems that the problem is that the Rebalance method is not present in the MyAlgorithm object. This could indicate that there is a typing error or that the method has not been defined correctly.


 

Error Message

During the algorithm initialization, the following exception has occurred: 'MyAlgorithm' object has no attribute 'Rebalance'  at Initialize    self.Schedule.On(self.DateRules.EveryDay() in main.py: line 39 'MyAlgorithm' object has no attribute 'Rebalance'

Can anybody help?
Thank you!