From 87837dbc25087eb821e0db25f19a79628a01996f Mon Sep 17 00:00:00 2001 From: dosangyoon Date: Sun, 15 Aug 2021 23:49:53 +0900 Subject: [PATCH] init --- stockpredictor/analysis/Analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stockpredictor/analysis/Analyzer.py b/stockpredictor/analysis/Analyzer.py index 7fc7309..c7d1670 100644 --- a/stockpredictor/analysis/Analyzer.py +++ b/stockpredictor/analysis/Analyzer.py @@ -491,7 +491,7 @@ class Analyzer: positionalEnergy = self.getPositionalEnergy(STOCK, last_index) if stochastic_score < 30 or bolingerband_score < 0.3: - if STOCK[last_index]['volume'] > 100000: + if STOCK[last_index]['volume'] > 100000 and STOCK[last_index]['close'] > 1000: # 종목 상태 체크 분석 state, buy_price = self.analyzeFinalScore(last_index, STOCK, STOCHASTIC)