This commit is contained in:
dsyoon
2024-01-25 11:37:32 +09:00
parent ab7a028099
commit b99378a1e1
2 changed files with 4 additions and 4 deletions

View File

@@ -577,7 +577,7 @@ class Common:
rise_rate = param['bull'][0] / (param['bull'][0]+param['bear'][0]+param['bull'][0])
if (
(stock['macd'][-2] < stock['macd'][-1] and stock['rsi'][-1]) < 80 or
(stock['macd'][-2] < stock['macd'][-1] and stock['rsi'][-1] < 80) or
(stock['rsi'][-2] < stock['rsi'][-1] and np.min(stock['rsi'][-3:]) < 35) or
(stock['rsi'][-1:] < 33) or
0.7 <= rise_rate