strategy.strategies.tutorial_hello_world.states.teardown
sleep
TYPE_CHECKING
ActionBundle
teardown
def teardown(strat: "StrategyTemplateHelloWorld") -> ActionBundle
Concludes the strategy by closing any active positions and preparing the system for a reset or shutdown. Leaves the system in a state where it can be cleanly initialized again.
Returns:
ActionBundle | None: An action bundle with the teardown actions.