This commit is contained in:
dsyoon
2023-11-08 23:09:15 +09:00
parent c14c71de43
commit af7a1f7f37

View File

@@ -584,7 +584,7 @@ class Common:
# 매수전략 #2: RSI 과매도 이후 골든크로스
if (stock['macd'][1] < stock['macds'][1] and stock['macds'][0] < stock['macd'][0]):
canBuy = False
if 10 < len(stock['rsi']):
if 12 < len(stock['rsi']):
for c in range(1, 11):
if stock['rsi'][0 - c] < 10:
canBuy = True