Hyperopt参数更新 - 阶段:1 | VM:emma | ResponseID:WffuFQiigA2N | 2025-11-25 16:11:06

This commit is contained in:
zhangkun 2025-11-25 16:11:06 +08:00
parent f7754e7bd2
commit 133806cf86
2 changed files with 8 additions and 8 deletions

View File

@ -13,17 +13,17 @@
"bb_length": 45,
"bb_lower_deviation": 1.012,
"bb_std": 2.139,
"bb_width_threshold": 0.005,
"h1_max_candles": 40,
"bb_width_threshold": 0.026,
"h1_max_candles": 20,
"h1_max_consecutive_candles": 2,
"h1_rapid_rise_threshold": 0.08,
"h1_rapid_rise_threshold": 0.102,
"max_entry_adjustments": 6,
"min_condition_count": 2,
"rsi_bull_threshold": 68,
"rsi_bull_threshold": 40,
"rsi_length": 19,
"rsi_oversold": 20,
"rsi_oversold": 26,
"stochrsi_bull_threshold": 43,
"stochrsi_neutral_threshold": 22,
"stochrsi_neutral_threshold": 16,
"volume_multiplier": 1.673
},
"max_open_trades": {

View File

@ -95,11 +95,11 @@ class FreqaiPrimer(IStrategy):
# [propertiesGrp step="2" name="第二轮优化 - 剧烈拉升检测" epochs="160" space="buy" description="防追高核心参数,绝对不能放宽!"]
rsi_oversold = IntParameter(20, 50, default=30, optimize=True, load=True, space='buy') # 安全20-50
rsi_bull_threshold = IntParameter(40, 68, default=58, optimize=True, load=True, space='buy') # 安全40-68
stochrsi_neutral_threshold = IntParameter(15, 40, default=30, optimize=True, load=True, space='buy') # 安全15-40
stochrsi_neutral_threshold = IntParameter(15, 40, default=16, optimize=True, load=True, space='buy') # 安全15-40
bb_width_threshold = DecimalParameter(0.003, 0.030, decimals=3, default=0.012, optimize=True, load=True, space='buy') # 安全0.003-0.030
h1_max_candles = IntParameter(16, 50, default=35, optimize=True, load=True, space='buy') # 黄金区间绝不能超过50
h1_rapid_rise_threshold = DecimalParameter(0.08, 0.22, decimals=3, default=0.15, optimize=True, load=True, space='buy') # 0.08-0.22 实盘最稳
h1_max_consecutive_candles = IntParameter(1, 2, default=1, optimize=True, load=True, space='buy') # 固定为1最稳2也行
h1_max_consecutive_candles = IntParameter(1, 2, default=2, optimize=True, load=True, space='buy') # 固定为1最稳2也行
# [/propertiesGrp]
# [propertiesGrp step="3" name="第三轮优化 - 加仓策略" epochs="160" space="buy" description="加仓精准度与金额管理,严防爆仓"]