From 23b7d1967756d9d9c52c311379079257b7edb269 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Sat, 17 Sep 2022 22:06:48 +0900 Subject: [PATCH] init --- stock/analysis/AnalyzerSqlite.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stock/analysis/AnalyzerSqlite.py b/stock/analysis/AnalyzerSqlite.py index 80302aa..8f42d88 100644 --- a/stock/analysis/AnalyzerSqlite.py +++ b/stock/analysis/AnalyzerSqlite.py @@ -483,10 +483,10 @@ class AnalyzerSqlite: final_status_count += 1 self.writeFile(type, CODE, NAME, top, stock_monthly, status) - # RSI가 30 이하인 경우 + # RSI가 20 이하인 경우 if len(stock_monthly['close']) > 1: if stock_monthly['rsi'][0] is not None: - if stock_monthly['rsi'][0] <= 30: + if stock_monthly['rsi'][0] <= 20: type = "monthly_rsi_30이하" final_status += " " + type final_status_count += 1 @@ -544,10 +544,10 @@ class AnalyzerSqlite: final_status_count += 1 self.writeFile(type, CODE, NAME, top, stock_weekly, status) - # RSI가 25 이하인 경우 + # RSI가 15 이하인 경우 if len(stock_monthly['close']) > 1: if stock_weekly['rsi'][0] is not None: - if stock_weekly['rsi'][0] <= 25: + if stock_weekly['rsi'][0] <= 15: type = "weekly_rsi_25이하" final_status += " " + type final_status_count += 1 @@ -579,9 +579,9 @@ class AnalyzerSqlite: # 3) daily if len(stock_daily['volume']) > 5: - # RSI가 25 이하인 경우 + # RSI가 10 이하인 경우 if stock_daily['rsi'][0] is not None: - if stock_daily['rsi'][0] <= 25: + if stock_daily['rsi'][0] <= 10: type = "daily_rsi_25이하" final_status += " " + type final_status_count += 1