This commit is contained in:
dsyoon
2023-05-05 16:57:36 +09:00
parent c2183637ae
commit 9fe26cb803
2 changed files with 22 additions and 2 deletions

View File

@@ -506,11 +506,15 @@ class Common:
return True
return False
def check_week_5_20(self, stock):
def check_mv_5_20(self, stock):
if stock['avg5'][1] < stock['avg20'][1] and stock['avg20'][0] < stock['avg5'][0]:
return True
return False
def check_mv_20_60(self, stock):
if stock['avg20'][1] < stock['avg60'][1] and stock['avg60'][0] < stock['avg20'][0]:
return True
return False
# 거래량 체크
# 52주 200일 기준 평균 + 50% 보다 높은 거래량의 경우