Hyperopt参数更新 - 阶段:3 | VM:lisa | ResponseID:UVoLvJmvoklv | 2025-11-27 11:54:00

This commit is contained in:
zhangkun 2025-11-27 11:54:00 +08:00
parent 7763dac25c
commit fedc39ab52
2 changed files with 10 additions and 10 deletions

View File

@ -39,11 +39,11 @@
"4000": 0
},
"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_bb_upper_deviation": 0.986,
"exit_volume_multiplier": 1.846,
"max_reduce_adjustments": 1,
"reduce_coefficient": 0.406,
"reduce_profit_base": 0.117,
"rsi_overbought": 58
},
"stoploss": {

View File

@ -108,12 +108,12 @@ class FreqaiPrimer(IStrategy):
# [/propertiesGrp]
# [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.238, optimize=True, load=True, space='sell')
exit_bb_upper_deviation = DecimalParameter(0.98, 1.02, decimals=2, default=0.986, optimize=True, load=True, space='sell')
exit_volume_multiplier = DecimalParameter(1.5, 3.0, decimals=1, default=1.846, 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.117, space='sell', optimize=True) # 减仓基础盈利阈值触发门槛默认7.5%
reduce_coefficient = DecimalParameter(0.1, 0.6, default=0.406, space='sell', optimize=True) # 减仓金额系数默认0.25,控制初始金额)
max_reduce_adjustments = IntParameter(1, 3, default=1, space='sell', optimize=True) # 最大减仓次数默认1次避免过度减仓
# [/propertiesGrp]
# [/propertiesGrp_List]-----------------------------------------------------------------------------------------------------------------------------