This commit is contained in:
dsyoon
2023-05-21 10:41:36 +09:00
parent 17d9b4df70
commit 1219edc7c7
2 changed files with 18 additions and 15 deletions

View File

@@ -444,7 +444,6 @@ class AnalyzerSqlite:
self.makeDir("monthly_env_상단_volume")
self.makeDir("monthly_mv_5_20")
self.makeDir("monthly_mv_20_60")
self.makeDir("monthly_이격도")
self.makeDir("weekly_env_상단_volume")
self.makeDir("weekly_mv_5_20")
@@ -534,13 +533,6 @@ class AnalyzerSqlite:
log = "RSI_" + "{:.2f}".format(stock_monthly['rsi'][0])
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
# monthly_이격도
check = self.common.check_disparity(stock_monthly)
if check:
dir_name = "monthly_이격도"
log = "이격도_" + str(top)
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
# Weekly 체크
if len(stock_weekly['volume']) > 40:
@@ -569,7 +561,7 @@ class AnalyzerSqlite:
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
# monthly_이격도
check = self.common.check_disparity(stock_weekly)
check = self.common.check_disparity(stock_weekly, 'weekly')
if check:
dir_name = "weekly_이격도"
log = "이격도_" + str(top)
@@ -594,7 +586,7 @@ class AnalyzerSqlite:
self.writeFile(dir_name, CODE, NAME, top, stock_daily, log)
# daily_이격도
check = self.common.check_disparity(stock_daily)
check = self.common.check_disparity(stock_daily, 'daily')
if check:
dir_name = "daily_이격도"
log = "이격도_" + str(top)