fix(agent-office): EOD 16:50 stagger(부분일봉 방지)·idle가드 문서화·proxy/import 정리

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-31 22:28:12 +09:00
parent b94b5973d6
commit cd4fb27d5a
4 changed files with 9 additions and 5 deletions

View File

@@ -2,6 +2,8 @@
import logging
from typing import Any, Dict
from ..telegram.messaging import send_raw
logger = logging.getLogger("agent-office")
_ACTION_KR = {"add": "🟢 추가매수", "hold": "⚪ 보유", "trim": "🟡 축소", "sell": "🔴 매도"}
@@ -33,7 +35,6 @@ def format_holdings_brief(payload: Dict[str, Any]) -> str:
async def send_holdings_brief(payload: Dict[str, Any]) -> None:
from ..telegram.messaging import send_raw
text = format_holdings_brief(payload)
try:
await send_raw(text)