Hyperopt参数更新 - 阶段:2 | VM:emma | ResponseID:V943Ulradeca | 2025-11-26 11:18:25

This commit is contained in:
zhangkun 2025-11-26 11:18:25 +08:00
parent f45259b8c7
commit c3fa7cb11e
2 changed files with 11 additions and 11 deletions

View File

@ -10,15 +10,15 @@
},
"params": {
"buy": {
"add_position_callback": 0.035,
"adjust_multiplier": 0.52,
"add_position_callback": 0.044,
"adjust_multiplier": 0.404,
"bb_length": 30,
"bb_lower_deviation": 1.049,
"bb_std": 2.633,
"bb_width_threshold": 0.011,
"h1_max_candles": 246,
"h1_max_consecutive_candles": 2,
"h1_rapid_rise_threshold": 0.147,
"h1_max_candles": 111,
"h1_max_consecutive_candles": 4,
"h1_rapid_rise_threshold": 0.059,
"max_entry_adjustments": 2,
"min_condition_count": 3,
"rsi_bull_threshold": 53,

View File

@ -99,12 +99,12 @@ class FreqaiPrimer(IStrategy):
# [/propertiesGrp]
# [propertiesGrp id="3" name="第三轮优化" epochs="260" space="buy" description="剧烈拉升检测与加仓策略优化"]
h1_max_candles = IntParameter(100, 300, default=260, optimize=False, load=True, space='buy')
h1_rapid_rise_threshold = DecimalParameter(0.05, 0.15, decimals=3, default=0.148, optimize=False, load=True, space='buy')
h1_max_consecutive_candles = IntParameter(1, 4, default=2, optimize=False, load=True, space='buy')
max_entry_adjustments = IntParameter(2, 5, default=4, optimize=False, load=True, space='buy') # 最大加仓次数
add_position_callback = DecimalParameter(0.03, 0.06, decimals=3, default=0.03, optimize=False, load=True, space='buy') # 加仓回调百分比
adjust_multiplier = DecimalParameter(0.05, 0.6, decimals=2, default=0.59, optimize=False, load=True, space='buy') # 加仓金额分母
h1_max_candles = IntParameter(100, 300, default=111, optimize=False, load=True, space='buy')
h1_rapid_rise_threshold = DecimalParameter(0.05, 0.15, decimals=3, default=0.059, optimize=False, load=True, space='buy')
h1_max_consecutive_candles = IntParameter(1, 4, default=4, optimize=False, load=True, space='buy')
max_entry_adjustments = IntParameter(2, 5, default=2, optimize=False, load=True, space='buy') # 最大加仓次数
add_position_callback = DecimalParameter(0.03, 0.06, decimals=3, default=0.044, optimize=False, load=True, space='buy') # 加仓回调百分比
adjust_multiplier = DecimalParameter(0.05, 0.6, decimals=2, default=0.404, optimize=False, load=True, space='buy') # 加仓金额分母
# [/propertiesGrp]
# [propertiesGrp id="4" name="第四轮优化" epochs="150" space="sell" description="出场与减仓策略优化"]