This commit is contained in:
dsyoon
2024-02-06 02:57:23 +09:00
parent 7b8d154f8b
commit d31434d5ee

View File

@@ -569,6 +569,13 @@ class Common:
check = False
if len(stock['trend']) < 10:
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):
return check