fix: backtesting through UI not working consecutive times

closes #12239
This commit is contained in:
Matthias
2025-09-11 20:14:12 +02:00
parent 8d965d4833
commit ecd66f8a64

View File

@@ -63,7 +63,7 @@ def __run_backtest_bg(btconfig: Config):
ApiBG.bt["bt"] = Backtesting(btconfig)
else:
ApiBG.bt["bt"].config = btconfig
ApiBG.bt["bt"].config = deep_merge_dicts(btconfig, ApiBG.bt["bt"].config)
ApiBG.bt["bt"].init_backtest()
# Only reload data if timeframe changed.
if (