mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-15 20:31:43 +00:00
fix: backtesting through UI not working consecutive times
closes #12239
This commit is contained in:
@@ -63,7 +63,7 @@ def __run_backtest_bg(btconfig: Config):
|
|||||||
|
|
||||||
ApiBG.bt["bt"] = Backtesting(btconfig)
|
ApiBG.bt["bt"] = Backtesting(btconfig)
|
||||||
else:
|
else:
|
||||||
ApiBG.bt["bt"].config = btconfig
|
ApiBG.bt["bt"].config = deep_merge_dicts(btconfig, ApiBG.bt["bt"].config)
|
||||||
ApiBG.bt["bt"].init_backtest()
|
ApiBG.bt["bt"].init_backtest()
|
||||||
# Only reload data if timeframe changed.
|
# Only reload data if timeframe changed.
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user