From b2736a9f129e3fd26c47a90bf81a434027167999 Mon Sep 17 00:00:00 2001 From: dosangyoon Date: Fri, 18 Feb 2022 02:17:00 +0900 Subject: [PATCH] init --- stockpredictor/analysis/AnalyzerSqlite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stockpredictor/analysis/AnalyzerSqlite.py b/stockpredictor/analysis/AnalyzerSqlite.py index 5473a57..f8fdc26 100644 --- a/stockpredictor/analysis/AnalyzerSqlite.py +++ b/stockpredictor/analysis/AnalyzerSqlite.py @@ -697,7 +697,8 @@ class AnalyzerSqlite: type = "1_거래량_상승" self.writeFile(type, CODE, NAME, stock, state) - if (len(close) > covid_low_ymd_index and close[0] < close[covid_low_ymd_index]*1.1): + if (len(close) > covid_low_ymd_index and + close[0] > close[covid_low_ymd_index]*0.8 and close[0] < close[covid_low_ymd_index]*1.1): type = "1_코로나_근접" self.writeFile(type, CODE, NAME, stock, state)