propertyGroup epochs update

This commit is contained in:
zhangkun9038@dingtalk.com 2025-11-21 14:06:01 +08:00
parent 88e45cc958
commit 305ffec920

View File

@ -77,7 +77,7 @@ class FreqaiPrimer(IStrategy):
can_short = False # 禁用做空
# [propertiesGrp_List]--------------------------------------------------------------------------------------------------------------------------------------
# [propertiesGrp id="1" name="第一轮优化" epochs="250" space="buy" description="入场基础条件优化,入场确认条件优化"]
# [propertiesGrp id="1" name="第一轮优化" epochs="100" space="buy" description="入场基础条件优化,入场确认条件优化"]
bb_std = DecimalParameter(1.0, 5.0, decimals=1, default=2.4, optimize=True, load=True, space='buy') # 极致放宽1.0-5.0
rsi_length = IntParameter(5, 35, default=7, optimize=True, load=True, space='buy') # 极致放宽5-35
bb_lower_deviation = DecimalParameter(0.90, 1.20, decimals=2, default=1.04, optimize=True, load=True, space='buy') # 极致放宽0.90-1.20
@ -91,7 +91,7 @@ class FreqaiPrimer(IStrategy):
bb_width_threshold = DecimalParameter(0.001, 0.060, decimals=3, default=0.037, optimize=True, load=True, space='buy') # 极致放宽0.001-0.060
# [/propertiesGrp]
# [propertiesGrp id="2" name="第三轮优化" epochs="250" space="buy" description="剧烈拉升检测与加仓策略优化,加仓精准度与金额管理"]
# [propertiesGrp id="2" name="第三轮优化" epochs="100" space="buy" description="剧烈拉升检测与加仓策略优化,加仓精准度与金额管理"]
h1_max_candles = IntParameter(100, 300, default=246, 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=2, optimize=False, load=True, space='buy')