Hyperopt参数更新 - 阶段:3 | VM:charming | ResponseID:8fUL4wCaYsGg | 2025-11-26 13:40:08
This commit is contained in:
parent
c3fa7cb11e
commit
6fa5fb6879
@ -40,10 +40,10 @@
|
||||
},
|
||||
"sell": {
|
||||
"exit_bb_upper_deviation": 0.99,
|
||||
"exit_volume_multiplier": 1.7,
|
||||
"max_reduce_adjustments": 3,
|
||||
"reduce_coefficient": 0.289,
|
||||
"reduce_profit_base": 0.05,
|
||||
"exit_volume_multiplier": 1.629,
|
||||
"max_reduce_adjustments": 2,
|
||||
"reduce_coefficient": 0.565,
|
||||
"reduce_profit_base": 0.102,
|
||||
"rsi_overbought": 58
|
||||
},
|
||||
"stoploss": {
|
||||
|
||||
@ -109,11 +109,11 @@ class FreqaiPrimer(IStrategy):
|
||||
|
||||
# [propertiesGrp id="4" name="第四轮优化" epochs="150" space="sell" description="出场与减仓策略优化"]
|
||||
exit_bb_upper_deviation = DecimalParameter(0.98, 1.02, decimals=2, default=0.99, optimize=True, load=True, space='sell')
|
||||
exit_volume_multiplier = DecimalParameter(1.5, 3.0, decimals=1, default=1.251, optimize=True, load=True, space='sell')
|
||||
exit_volume_multiplier = DecimalParameter(1.5, 3.0, decimals=1, default=1.629, optimize=True, load=True, space='sell')
|
||||
rsi_overbought = IntParameter(57, 59, default=58, optimize=True, load=True, space='sell')
|
||||
reduce_profit_base = DecimalParameter(0.05, 0.12, default=0.05, space='sell', optimize=True) # 减仓基础盈利阈值(触发门槛,默认7.5%)
|
||||
reduce_coefficient = DecimalParameter(0.1, 0.6, default=0.289, space='sell', optimize=True) # 减仓金额系数(默认0.25,控制初始金额)
|
||||
max_reduce_adjustments = IntParameter(1, 3, default=3, space='sell', optimize=True) # 最大减仓次数(默认1次,避免过度减仓)
|
||||
reduce_profit_base = DecimalParameter(0.05, 0.12, default=0.102, space='sell', optimize=True) # 减仓基础盈利阈值(触发门槛,默认7.5%)
|
||||
reduce_coefficient = DecimalParameter(0.1, 0.6, default=0.565, space='sell', optimize=True) # 减仓金额系数(默认0.25,控制初始金额)
|
||||
max_reduce_adjustments = IntParameter(1, 3, default=2, space='sell', optimize=True) # 最大减仓次数(默认1次,避免过度减仓)
|
||||
# [/propertiesGrp]
|
||||
# [/propertiesGrp_List]-----------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user