fix(ops): live 신호 누락 방어 — bar 재정렬·datetime catch-up·N봉 재시도

lookback 롤링으로 bar_index가 밀려 매도/매수가 스킵되던 문제를 tick마다 재정렬하고,
last_processed_datetime 기반 catch-up과 OPS_CATCHUP_BARS(10) 2층 방어를 추가한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dsyoon
2026-06-14 13:46:31 +09:00
parent be9ea53875
commit ae536ff66c
4 changed files with 194 additions and 21 deletions

View File

@@ -90,6 +90,8 @@ OPS_SYNC_CANDLES=true
# 비우면 DOWNLOAD_INTERVALS 전체 증분 sync
# OPS_SYNC_INTERVALS=
OPS_SIGNAL_TAIL_BARS=800
# live 2층 방어: 최근 N봉(3분봉 기준) 미체결 신호 재시도 (10=30분)
OPS_CATCHUP_BARS=10
# OPS_PERSIST_SIGNAL_CACHE=false
OPS_STATE_JSON=data/spot/operations/fractal_ops_state.json
OPS_REPORT_JSON=docs/spot/3_operations/fractal_ops_report.json