init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user