diff --git a/freqtrade/rpc/api_server/api_backtest.py b/freqtrade/rpc/api_server/api_backtest.py index edbc39772..d110134d7 100644 --- a/freqtrade/rpc/api_server/api_backtest.py +++ b/freqtrade/rpc/api_server/api_backtest.py @@ -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():