웹소켓 연결 완료

This commit is contained in:
2026-02-26 11:19:23 +09:00
parent ec02f27200
commit dbd2c4648b
9 changed files with 312 additions and 70 deletions

View File

@@ -137,8 +137,8 @@ class ShortTermStrategy:
if rsi_15m is None or rsi_15m > self.M15_RSI_ENTRY:
return None
# 조건 3: RSI 반등 방향 확인 — 바닥에서 회복 중인지 확인 (승률 햵심)
rsi_prev = calculate_rsi(m15_closes[:-RSI_DIRECTION_LOOKBACK], 14)
# 조건 3: RSI 반등 방향 확인 — 바닥에서 회복 중인지 확인 (승률 핵심)
rsi_prev = calculate_rsi(m15_closes[:-settings.SHORT_TERM_RSI_LOOKBACK], 14)
if rsi_prev is not None and rsi_15m <= rsi_prev:
# RSI가 여전히 하락 중 → 변곡점 전이므로 진입 금지
return None