init
This commit is contained in:
@@ -442,22 +442,24 @@ class AnalyzerSqlite:
|
||||
|
||||
self.makeDir("monthly_env_하단_rsi_50")
|
||||
self.makeDir("monthly_env_상단_volume")
|
||||
self.makeDir("monthly_mv_5_20")
|
||||
self.makeDir("monthly_mv_20_60")
|
||||
self.makeDir("monthly_BB하단_내려옴")
|
||||
self.makeDir("monthly_5월선_돌파")
|
||||
self.makeDir("monthly_5월선_20월선_돌파")
|
||||
self.makeDir("monthly_20월선_60월선_돌파")
|
||||
|
||||
#self.makeDir("weekly_env_상단_volume")
|
||||
#self.makeDir("weekly_mv_5_20")
|
||||
#self.makeDir("weekly_mv_20_60")
|
||||
self.makeDir("weekly_이격도")
|
||||
self.makeDir("weekly_BB하단_내려옴")
|
||||
self.makeDir("weekly_5주선_돌파")
|
||||
self.makeDir("weekly_5주선_20주선_돌파")
|
||||
self.makeDir("weekly_20주선_60주선_돌파")
|
||||
|
||||
#self.makeDir("daily_env_상단_volume")
|
||||
self.makeDir("daily_이전에_없던_거래량")
|
||||
self.makeDir("daily_이격도")
|
||||
self.makeDir("daily_5일선_돌파")
|
||||
self.makeDir("daily_5일선_20일선_돌파")
|
||||
self.makeDir("daily_20일선_60일선_돌파")
|
||||
#self.makeDir("daily_OBV")
|
||||
#self.makeDir("daily_EV하단_내려옴")
|
||||
#self.makeDir("daily_BB하단_내려옴")
|
||||
@@ -524,20 +526,6 @@ class AnalyzerSqlite:
|
||||
log = "RSI_" + "{:.2f}".format(stock_monthly['rsi'][0])
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# 5개월 20개월 선
|
||||
check = self.common.check_mv_5_20(stock_monthly)
|
||||
if check:
|
||||
dir_name = "monthly_mv_5_20"
|
||||
log = "RSI_" + "{:.2f}".format(stock_monthly['rsi'][0])
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# 20개월 60개월 선
|
||||
check = self.common.check_mv_20_60(stock_monthly)
|
||||
if check:
|
||||
dir_name = "monthly_mv_20_60"
|
||||
log = "RSI_" + "{:.2f}".format(stock_monthly['rsi'][0])
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# 볼린저 밴드 하단 아래
|
||||
check = self.common.check_under_BB_Low(stock_monthly)
|
||||
if check:
|
||||
@@ -545,11 +533,25 @@ class AnalyzerSqlite:
|
||||
log = "BB_" + str(top)
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# weekly_5주선_돌파
|
||||
check = self.common.check_5_moving_line(stock_monthly, 'monthly')
|
||||
# monthly_5월선_돌파
|
||||
check = self.common.check_5_moving_line(stock_monthly)
|
||||
if check:
|
||||
dir_name = "monthly_5월선_돌파"
|
||||
log = "5월선돌파_"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# 5개월 20개월 선
|
||||
check = self.common.check_5__20_moving_line(stock_monthly)
|
||||
if check:
|
||||
dir_name = "monthly_5월선_20월선_돌파"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
# 20개월 60개월 선
|
||||
check = self.common.check_20__60_moving_line(stock_monthly)
|
||||
if check:
|
||||
dir_name = "monthly_20월선_60월선_돌파"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
|
||||
@@ -596,12 +598,25 @@ class AnalyzerSqlite:
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
# weekly_5주선_돌파
|
||||
check = self.common.check_5_moving_line(stock_weekly, 'wekkly')
|
||||
check = self.common.check_5_moving_line(stock_weekly)
|
||||
if check:
|
||||
dir_name = "weekly_5주선_돌파"
|
||||
log = "5주선돌파_"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
# 5주 20주 선 돌파
|
||||
check = self.common.check_5__20_moving_line(stock_weekly)
|
||||
if check:
|
||||
dir_name = "weekly_5주선_20주선_돌파"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
# 20주 60주 선 돌파
|
||||
check = self.common.check_20__60_moving_line(stock_weekly)
|
||||
if check:
|
||||
dir_name = "weekly_20주선_60주선_돌파"
|
||||
log = dir_name+"_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
|
||||
|
||||
@@ -630,12 +645,26 @@ class AnalyzerSqlite:
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_daily, log)
|
||||
|
||||
# daily_5일선_돌파
|
||||
check = self.common.check_5_moving_line(stock_daily, 'daily')
|
||||
check = self.common.check_5_moving_line(stock_daily)
|
||||
if check:
|
||||
dir_name = "daily_5일선_돌파"
|
||||
log = "5일선돌파_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_daily, log)
|
||||
|
||||
# 5일 20일 선 돌파
|
||||
check = self.common.check_5__20_moving_line(stock_daily)
|
||||
if check:
|
||||
dir_name = "daily_5일선_20일선_돌파"
|
||||
log = dir_name + "_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_daily, log)
|
||||
|
||||
# 20일 60일 선 돌파
|
||||
check = self.common.check_20__60_moving_line(stock_daily)
|
||||
if check:
|
||||
dir_name = "daily_20일선_60일선_돌파"
|
||||
log = dir_name + "_"
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_daily, log)
|
||||
|
||||
"""
|
||||
# daily_OBV
|
||||
obv = self.common.check_obv(stock_daily)
|
||||
|
||||
Reference in New Issue
Block a user