diff --git a/stockpredictor/analysis/Analyzer.py b/stockpredictor/analysis/Analyzer.py index 8f75600..5ccfedc 100644 --- a/stockpredictor/analysis/Analyzer.py +++ b/stockpredictor/analysis/Analyzer.py @@ -425,10 +425,7 @@ class Analyzer: else: bolingerband_score = round(((STOCK[last_index]['close']-BOLINGERBAND[last_index]['lower'])/(BOLINGERBAND[last_index]['upper']-BOLINGERBAND[last_index]['lower'])), 2) - if item_code == "108230": - print (1) - - if stochastic_score < 50 and bolingerband_score < 0.4: + if stochastic_score < 10 or bolingerband_score < 0.2: # 종목 상태 체크 분석 state, buy_price = self.analyzeFinalScore(last_index, STOCK, STOCHASTIC) diff --git a/stockpredictor/analysis/Common.py b/stockpredictor/analysis/Common.py index 0822722..f95e57a 100644 --- a/stockpredictor/analysis/Common.py +++ b/stockpredictor/analysis/Common.py @@ -536,7 +536,7 @@ class Common: if top - bottom > 0: energy = (price - bottom) / (top - bottom) - if energy < 0.4: + if energy < 0.2: return "p(" + str(round(energy, 2)) + ")_" return ""