auto: 일일 백업 2026-08-26 02:00
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -130,6 +130,15 @@ def _safe_broker_executions(account_label: str, now: datetime) -> tuple[Optional
|
||||
return executions, None
|
||||
|
||||
|
||||
def nxt_eligible(symbol: str) -> bool:
|
||||
"""NXT 거래가능 여부 (종목코드만으로). 캐시 읽기라 API 콜 0.
|
||||
|
||||
collect_market_data 를 거치지 않는 호출자용 — 트레일링 감시 루프가 대기 예약을
|
||||
발동시킬 때 라우팅(_AL/_KRX)을 정하는 데 쓴다.
|
||||
"""
|
||||
return _nxt_eligible(symbol, {})
|
||||
|
||||
|
||||
def collect_market_data(account_label: str, symbol: str, side: str, qty: int) -> dict:
|
||||
now = datetime.now(KST)
|
||||
quote = _safe_quote(symbol, account_label)
|
||||
|
||||
Reference in New Issue
Block a user