ls kiwoom 구독 히스토리 모두 적재

This commit is contained in:
Your Name
2026-07-30 20:23:37 +09:00
parent 67eab24603
commit 7050f788c5
18 changed files with 1379 additions and 120 deletions

View File

@@ -48,7 +48,11 @@ def resolve_universe_source(strategy_id: str, *, default: str | None = None) ->
def universe_source_active(strategy_id: str, want: str) -> bool:
"""현재 active UNIVERSE_SOURCE 가 want 와 같을 때만 True (REST/WS 반영 gate)."""
"""현재 active UNIVERSE_SOURCE 가 want 와 같을 때만 True (실매 RAM/구독 gate).
주의: 키움 조건 **이력** 이중 적재는 ``KIWOOM_CONDITION_DUAL_HISTORY`` 로
이 게이트와 분리된다 (실매 소스가 ls 여도 target_candidates_history 적재).
"""
want_norm = (want or "").strip().lower()
if want_norm not in VALID_UNIVERSE_SOURCES:
return False