This commit is contained in:
dsyoon
2021-09-11 00:16:52 +09:00
parent 9de67f63a3
commit 0d9ec3a35d

View File

@@ -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