update epochs

This commit is contained in:
zhangkun9038@dingtalk.com 2025-11-29 20:26:39 +08:00
parent 5531658268
commit 7bbaf8f96c

View File

@ -82,14 +82,14 @@ class FreqaiPrimer(IStrategy):
can_short = False # 禁用做空
# [propertiesGrp_List]--------------------------------------------------------------------------------------------------------------------------------------
# [propertiesGrp step="1" name="第一轮优化" epochs="300" space="buy " description="自定义指标参数 - 使用Hyperopt可优化参数"]
# [propertiesGrp step="1" name="第一轮优化" epochs="50" space="buy " description="自定义指标参数 - 使用Hyperopt可优化参数"]
bb_length = IntParameter(10, 30, default=20, optimize=True, load=True, space='buy')
bb_std = DecimalParameter(1.5, 3.0, decimals=1, default=2.0, optimize=True, load=True, space='buy')
rsi_length = IntParameter(7, 21, default=14, optimize=True, load=True, space='buy')
rsi_oversold = IntParameter(30, 50, default=42, optimize=True, load=True, space='buy')
# [/propertiesGrp]
# [propertiesGrp step="2" name="第二轮优化 - 剧烈拉升检测" epochs="300" space="buy" description="入场条件阈值参数"]
# [propertiesGrp step="2" name="第二轮优化 - 剧烈拉升检测" epochs="200" space="buy" description="入场条件阈值参数"]
bb_lower_deviation = DecimalParameter(1.01, 1.05, decimals=2, default=1.03, optimize=True, load=True, space='buy')
rsi_bull_threshold = IntParameter(45, 55, default=50, optimize=True, load=True, space='buy')
stochrsi_bull_threshold = IntParameter(30, 40, default=35, optimize=True, load=True, space='buy')