INNER CODE UNIT · Python
run_all
GuntharDeNiro/gunbot-quant · gunbot_quant/cli/main.py:120
def run_all():
"""Runs all available backtesting scenarios sequentially."""
print("--- 🚀 Starting Quant Toolbox: Running ALL Scenarios ---")
if not SCENARIOS:
print("No scenarios found to run.")
return
for scenario_def in SCENARIOS:
scenario_name = scenario_def["name"]
print(f"\n{'=' * 70}\n### RUNNING SCENARIO: {scenario_name}\n{'=' * 70}\n")
config = get_scenario_config(scenario_def)
run_batch_backtest(config)
print(f"\n--- ✅ Scenario '{scenario_name}' finished. ---")
print("\n\n🎉 All scenarios completed.")