From 392effbccd231a1b8b788825e9dee3ee89f00410 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Fri, 8 Aug 2025 02:34:38 +0800 Subject: [PATCH] enable protections --- tools/backtest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/backtest.sh b/tools/backtest.sh index c3877e89..59180c96 100755 --- a/tools/backtest.sh +++ b/tools/backtest.sh @@ -66,6 +66,7 @@ echo "docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \ --config /freqtrade/config_examples/$CONFIG_FILE \ --strategy-path /freqtrade/templates \ --strategy $STRATEGY_NAME \ + --enable-protections \ --timerange $START_DATE-$END_DATE \ --fee 0.0008 \ --cache none >output.log" @@ -77,6 +78,7 @@ docker-compose run --rm freqtrade backtesting $PAIRS_FLAG \ --strategy-path /freqtrade/templates \ --strategy $STRATEGY_NAME \ --timerange $START_DATE-$END_DATE \ + --enable-protections \ --fee 0.0008 \ --breakdown day \ --cache none >output.log 2>&1