Force dry-run for webserver backtest mode

closes #6094
This commit is contained in:
Matthias 2021-12-20 19:41:10 +01:00
parent afad9be53f
commit 40036bc710

View File

@ -33,6 +33,9 @@ async def api_start_backtest(bt_settings: BacktestRequest, background_tasks: Bac
if settings[setting] is not None:
btconfig[setting] = settings[setting]
# Force dry-run for backtesting
btconfig['dry_run'] = True
# Start backtesting
# Initialize backtesting object
def run_backtest():