From 0366e692ea3555b6ad703b68ba53eed8badf21f8 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Thu, 28 Aug 2025 11:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9protection=E6=9D=A1=E4=BB=B6,?= =?UTF-8?q?=20=E7=94=A8=E6=9D=A5=E6=B5=8B=E8=AF=95=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freqtrade/templates/freqaiprimer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/templates/freqaiprimer.py b/freqtrade/templates/freqaiprimer.py index 993a9c23..88556d3e 100644 --- a/freqtrade/templates/freqaiprimer.py +++ b/freqtrade/templates/freqaiprimer.py @@ -223,11 +223,11 @@ class FreqaiPrimer(IStrategy): { "method": "ConsecutiveLossProtection", # 最大连续亏损次数 - "max_consecutive_losses": 3, + "max_consecutive_losses": 1, # 锁定时长(3小时) - "stop_duration": 180, + "stop_duration": 120, # 回看期(6小时) - "lookback_period": 360 + "lookback_period": 60 } ]