init
This commit is contained in:
@@ -313,7 +313,7 @@ class Common:
|
||||
if len(stock['close']) > 60:
|
||||
# 스토케스틱이 15 이하인 경우
|
||||
# 어제보다 slow_k가 상승했고, 오늘 slow_k가 slow_d 위에 있는 경우,
|
||||
if stock['stochastic_slow_k'][0] < 15:
|
||||
if stock['stochastic_slow_k'][0] is not None and stock['stochastic_slow_k'][0] < 15:
|
||||
if stock['stochastic_slow_k'][1] < stock['stochastic_slow_k'][0] and stock['stochastic_slow_d'][0] < stock['stochastic_slow_k'][0]:
|
||||
return "STOCHASTIC_"
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user