Fix caching bug with freqUI backtesting

This commit is contained in:
Matthias 2022-04-30 19:55:13 +02:00
parent 93591f2a7b
commit 5c1ac3cf95

View File

@ -84,6 +84,7 @@ async def api_start_backtest(bt_settings: BacktestRequest, background_tasks: Bac
lastconfig['enable_protections'] = btconfig.get('enable_protections')
lastconfig['dry_run_wallet'] = btconfig.get('dry_run_wallet')
ApiServer._bt.strategylist = [strat]
ApiServer._bt.results = {}
ApiServer._bt.load_prior_backtest()