disable custom stoploss

This commit is contained in:
zhangkun9038@dingtalk.com 2025-08-28 11:36:56 +08:00
parent 972f80785c
commit 124a2c0c4b
2 changed files with 6 additions and 5 deletions

View File

@ -21,23 +21,25 @@
"AAVE/USDT",
"ADA/USDT",
"ARB/USDT",
"BCH/USDT",
"AVAX/USDT",
"BERA/USDT",
"BNB/USDT",
"BTC/USDT",
"CRO/USDT",
"DOGE/USDT",
"DORA/USDT",
"ETH/USDT",
"FIL/USDT",
"IP/USDT",
"LINK/USDT",
"LPT/USDT",
"LTC/USDT",
"NMR/USDT",
"OMI/USDT",
"PENGU/USDT",
"PEPE/USDT",
"PI/USDT",
"PROMPT/USDT",
"SD/USDT",
"RAY/USDT",
"SOL/USDT",
"SUI/USDT",
"TON/USDT",
@ -45,7 +47,6 @@
"TRX/USDT",
"UNI/USDT",
"VINE/USDT",
"WIF/USDT",
"WLD/USDT",
"XRP/USDT"
],

View File

@ -91,7 +91,7 @@ class FreqaiPrimer(IStrategy):
# --- 🛠️ 固定配置参数 ---
stoploss = -0.15
timeframe = "3m"
use_custom_stoploss = True
use_custom_stoploss = False
position_adjustment_enable = True # 启用动态仓位调整
trailing_stop = True
trailing_stop_positive = 0.0125 # 🎯 降低锁定利润到2.5%