This commit is contained in:
dsyoon
2024-01-30 20:18:00 +09:00
parent 9c9bee63cd
commit 6bb2df12fb
2 changed files with 19 additions and 2 deletions

View File

@@ -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):