전략평가 로직 개선

This commit is contained in:
Macbook
2026-06-05 10:59:23 +09:00
parent 5278177bbb
commit 0aaf4ac19c
14 changed files with 441 additions and 60 deletions
+2 -2
View File
@@ -629,8 +629,8 @@ flowchart TB
4. **실행 방식**`CANDLE_CLOSE` vs `REALTIME_TICK`
5. **데이터**`Ta4jStorage.exists(market, candleType)`, warm-up(`pinCandleWatch`)
6. **포지션 모드**`LONG_ONLY`에서 이미 포지션일 때 BUY 무시
7. **STOMP**구독 토픽 `/sub/charts/{market}/{candleType}` 와 평가 분봉 일치
8. **UI 현황 vs 시그널**`live-conditions` matchRate ≠ 실제 BUY/SELL 발화 조건 (UI는 리프별 Rule, 시그널은 트리 전체)
7. **STOMP**차트 스트림 `/sub/charts/{market}/{candleType}` (하위 호환) + 시그널 전용 `/sub/signals/user/{userId}` 구독 확인
8. **UI 현황 vs 시그널**`live-conditions` `matchRate` = 리프 단순 충족률, `overallEntryMet`/`overallExitMet` = 트리 전체 평가 결과 (실제 시그널 발화와 동일 로직)
9. **마감봉 평가**`BarCloseStrategyEvaluationService` + DSL `usesTimeframe` 게이트; 갭은 `CandleGapBackfillService` 후 보정
10. **프론트 평가 금지** — 가상투자 일치율·자동매매는 백엔드 API/STOMP 만 사용