mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 19:46:38 +08:00
9b01d78f5d
Created a new flag in TradingAlgorithm that enables subclasses to decide if they want to handle setting self.initialized = True. Before it was the responsibility of an overriding subclass to set initalized = True. This was causing problems because it's easy to forget this. Now it is the responsibility of TradingAlgorithm unless explicity stated otherwise.