init
This commit is contained in:
@@ -615,6 +615,16 @@ class Common:
|
||||
|
||||
return check
|
||||
|
||||
def buy_stock_candidate(self, param, stock):
|
||||
check = False
|
||||
if len(stock['trend']) < 1:
|
||||
return check
|
||||
|
||||
if (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]) and (stock['avg60'][0] < stock['avg20'][0] and stock['avg5'][0]):
|
||||
if stock['upper'][0] < stock['avg5'][0]:
|
||||
check = True
|
||||
|
||||
return check
|
||||
|
||||
# 낙폭 과대 체크
|
||||
def check_excessive_drop(self, stock):
|
||||
|
||||
Reference in New Issue
Block a user