init
This commit is contained in:
@@ -578,7 +578,7 @@ class Common:
|
|||||||
(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'][-2] < stock['rsi'][-1] and np.min(stock['rsi'][-3:]) < 35) or
|
||||||
(stock['rsi'][-1:] < 33) or
|
(stock['rsi'][-1:] < 33) or
|
||||||
0.9 <= ticker['rise_rate']
|
0.9 <= param['bull'][0] / param['bear'][0]
|
||||||
):
|
):
|
||||||
# trend 상승
|
# trend 상승
|
||||||
if stock['trend'][i - 1] < stock['trend'][i]:
|
if stock['trend'][i - 1] < stock['trend'][i]:
|
||||||
|
|||||||
Reference in New Issue
Block a user