auto: 일일 백업 2026-09-23 02:00

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hyowons
2026-09-23 02:00:05 +09:00
parent 408a3e0d4a
commit 0157b24a55
122 changed files with 1751 additions and 1238 deletions
@@ -88,7 +88,13 @@ RT_URL = 'http://127.0.0.1:18790/api/realtime/quotes'
RT_TIMEOUT = 5
MARKET_OPEN = (9, 0)
MARKET_CLOSE = (15, 35) # 15:30 마감 + 최종 체결 버퍼
# 20:00 = NXT 애프터마켓 + KRX 애프터마켓(2026-09-14 시행) 마감.
# ⚠️ 마감 후 버퍼를 두지 않는다 — 데이터원인 realtime_hub 가 20:00 에 종료되므로
# (`_market_open()` → `behive_web._market_phase_state()['active']`) 그 뒤 사이클은
# 시세·VI 를 못 받고 헛돈다. plist 도 19:59 까지만 발화한다.
# ⚠️ 확대가 성립하는 전제는 hub 구독이 `_AL`(통합) 이라는 것 — KRX 애프터마켓 체결이
# 그 구독으로 들어온다. bare 코드면 15:30 이후 시세가 끊겨 감시가 무의미하다.
MARKET_CLOSE = (20, 0)
def load_json(path: Path, default):