This commit is contained in:
dosangyoon
2021-08-15 19:56:51 +09:00
parent d9e8c0e8a9
commit 5adf586675
2 changed files with 2 additions and 5 deletions

View File

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