This commit is contained in:
dsyoon
2025-04-29 18:23:06 +09:00
parent 9426dde64f
commit 294ba4f3d9

View File

@@ -36,7 +36,7 @@ def check_bollinger_bands(symbol, data):
# 과거 10개 봉에서 ALERT_THRESHOLD 아래로 빠진 적이 있는지 체크
check = False
for i in range(-1, -10, -1):
for i in range(-1, -2, -1):
past = data.iloc[i]
upper_band = past['Upper']
lower_band = past['Lower']