init
This commit is contained in:
@@ -569,6 +569,13 @@ class Common:
|
|||||||
check = False
|
check = False
|
||||||
if len(stock['trend']) < 10:
|
if len(stock['trend']) < 10:
|
||||||
return check
|
return check
|
||||||
|
for i in range(10):
|
||||||
|
if stock['rsi'][i] is None:
|
||||||
|
return check
|
||||||
|
for i in range(10):
|
||||||
|
if stock['slow_k'][i] is None:
|
||||||
|
return check
|
||||||
|
|
||||||
|
|
||||||
if (stock['close'][1] is None or stock['close'][0] is None or stock['rsi'][1] is None or stock['rsi'][0] is None):
|
if (stock['close'][1] is None or stock['close'][0] is None or stock['rsi'][1] is None or stock['rsi'][0] is None):
|
||||||
return check
|
return check
|
||||||
|
|||||||
Reference in New Issue
Block a user