Hyperopt参数更新 - 阶段:2 | VM:rose | ResponseID:meeo8oviGzNV | 2025-11-27 08:53:54
This commit is contained in:
parent
975b5e51ef
commit
7763dac25c
@ -10,16 +10,16 @@
|
||||
},
|
||||
"params": {
|
||||
"buy": {
|
||||
"add_position_callback": 0.035,
|
||||
"adjust_multiplier": 0.52,
|
||||
"add_position_callback": 0.032,
|
||||
"adjust_multiplier": 0.11,
|
||||
"bb_length": 15,
|
||||
"bb_lower_deviation": 1.036,
|
||||
"bb_std": 2.77,
|
||||
"bb_width_threshold": 0.021,
|
||||
"h1_max_candles": 246,
|
||||
"h1_max_consecutive_candles": 2,
|
||||
"h1_max_candles": 221,
|
||||
"h1_max_consecutive_candles": 3,
|
||||
"h1_rapid_rise_threshold": 0.147,
|
||||
"max_entry_adjustments": 2,
|
||||
"max_entry_adjustments": 3,
|
||||
"min_condition_count": 4,
|
||||
"rsi_bull_threshold": 45,
|
||||
"rsi_length": 7,
|
||||
|
||||
@ -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=221, optimize=False, load=True, space='buy')
|
||||
h1_rapid_rise_threshold = DecimalParameter(0.05, 0.15, decimals=3, default=0.147, optimize=False, load=True, space='buy')
|
||||
h1_max_consecutive_candles = IntParameter(1, 4, default=3, optimize=False, load=True, space='buy')
|
||||
max_entry_adjustments = IntParameter(2, 5, default=3, optimize=False, load=True, space='buy') # 最大加仓次数
|
||||
add_position_callback = DecimalParameter(0.03, 0.06, decimals=3, default=0.032, optimize=False, load=True, space='buy') # 加仓回调百分比
|
||||
adjust_multiplier = DecimalParameter(0.05, 0.6, decimals=2, default=0.11, optimize=False, load=True, space='buy') # 加仓金额分母
|
||||
# [/propertiesGrp]
|
||||
|
||||
# [propertiesGrp id="4" name="第四轮优化" epochs="150" space="sell" description="出场与减仓策略优化"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user