mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 04:01:25 +08:00
9bf4855b8c
Move the responsibility of wrapping the main simulation loop in the ZiplineAPI context from the algorithm modules generator setup to the main trade simulation loop, so that different methods of invoking loop do not need to duplicate how the context is set. To make it easier for internal implementation of handle_data to transition off of calling the ZiplineAPI every bar, to only invoking the context once per simulation.