ls증권 히스토리 구독 넣음

This commit is contained in:
Your Name
2026-07-30 18:05:07 +09:00
parent 61bec4bd1d
commit 67eab24603
1593 changed files with 135733 additions and 1232 deletions

View File

@@ -4,7 +4,8 @@ kis_trader/utils/universe_source.py — {SID}_UNIVERSE_SOURCE 단일 해석
매니저 폴링·history·전략 후보 로드가 같은 규칙을 쓰도록 공통 helper.
운영 스위치는 env **하나**:
``{STRATEGY_ID}_UNIVERSE_SOURCE`` → ``ranking`` | ``condition`` | ``kiwoom_condition``
``{STRATEGY_ID}_UNIVERSE_SOURCE`` →
``ranking`` | ``condition`` | ``kiwoom_condition`` | ``ls_condition``
비활성 전략(``STRATEGY_{SID}_ENABLED=false``)은 main 이 매니저에 등록하지 않으므로
별도 UNIVERSE_SOURCE 설정 불필요.
@@ -16,7 +17,7 @@ from typing import FrozenSet
from .env import get_env_from_db
VALID_UNIVERSE_SOURCES: FrozenSet[str] = frozenset(
{"ranking", "condition", "kiwoom_condition"}
{"ranking", "condition", "kiwoom_condition", "ls_condition"}
)
# BaseStrategy.DEFAULT_UNIVERSE_SOURCES · main._DEFAULT_SOURCE 와 동기화