init
This commit is contained in:
@@ -567,7 +567,7 @@ class Common:
|
||||
|
||||
def check_optimal_buy_timeing(self, param, stock):
|
||||
check = False
|
||||
if len(stock['trend']) < 1:
|
||||
if len(stock['trend']) < 10:
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user