From 0d9ec3a35dd0578af32aa7ec4d0623ec66efc5a7 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Sat, 11 Sep 2021 00:16:52 +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 1428f68..867d40c 100644 --- a/stockpredictor/analysis/Analyzer.py +++ b/stockpredictor/analysis/Analyzer.py @@ -513,7 +513,7 @@ class Analyzer: isbuy = 0 - if stochastic_score < 30 and bolingerband_score < 0.3: + if stochastic_score < 20 and bolingerband_score < 0.3: # 종가가 240일선 아래에 있으면 매수한다. if isbuy > 0 and STOCK[last_index]['close'] < STOCK[last_index]['avg240']: isbuy = 1