综合得分大于60才做多
This commit is contained in:
parent
03a824ea7a
commit
4d7784e6e3
@ -440,7 +440,7 @@ class FreqaiPrimer(IStrategy):
|
||||
logger.debug(f"[{pair}] cond7 (STOCHRSI 非超买) 触发率: {(~stochrsi_overbought_aligned).mean():.2%}, "
|
||||
f"STOCHRSI 超买 K 线数: {stochrsi_overbought_aligned.sum()}")
|
||||
|
||||
buy_condition = cond1 & cond2 & cond3 & cond4 & cond5 & cond6 & cond7
|
||||
buy_condition = cond1 & cond2 & cond3 & cond4 & cond5 & cond6 & cond7 & (trend_score > 60)
|
||||
conditions.append(buy_condition)
|
||||
|
||||
# 调试日志
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user