init
This commit is contained in:
@@ -533,6 +533,14 @@ class AnalyzerSqlite:
|
||||
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:
|
||||
dir_name = "monthly_BB하단_내려옴"
|
||||
log = "BB_" + str(top)
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_monthly, log)
|
||||
|
||||
|
||||
# Weekly 체크
|
||||
if len(stock_weekly['volume']) > 40:
|
||||
|
||||
@@ -567,6 +575,14 @@ class AnalyzerSqlite:
|
||||
log = "이격도_" + str(top)
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
# 볼린저 밴드 하단 아래
|
||||
check = self.common.check_under_BB_Low(stock_weekly)
|
||||
if check:
|
||||
dir_name = "weekly_BB하단_내려옴"
|
||||
log = "BB_" + str(top)
|
||||
self.writeFile(dir_name, CODE, NAME, top, stock_weekly, log)
|
||||
|
||||
|
||||
|
||||
# 2) daily
|
||||
if len(stock_daily['volume']) > 100:
|
||||
|
||||
Reference in New Issue
Block a user