[2026-05-15] claude_morning 구현
- app/ai/morning.py: 장전 분석 스크립트 신규 추가 - 네이버 금융 뉴스 크롤링 (BeautifulSoup) → data/news/날짜.json - KIS API 거래량순위/외국인수급/업종동향 수집 → data/market/날짜.json - Claude AI 분석 → data/daily_context.json 생성 - Discord 분석 요약 전송 - app/main.py: 08:30 타임슬롯에 claude_morning 연결 - app/requirements.txt: anthropic>=0.40.0 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+6
-1
@@ -450,8 +450,13 @@ async def run():
|
||||
)
|
||||
bot.risk.set_risk_level(ctx.get("risk_level", "보통"))
|
||||
|
||||
# 08:30 유니버스 갱신
|
||||
# 08:30 장전 분석 → 유니버스 갱신
|
||||
elif now == "08:30":
|
||||
try:
|
||||
from app.ai.morning import main as claude_morning
|
||||
await claude_morning()
|
||||
except Exception as e:
|
||||
logger.error(f"claude_morning 실패 (계속 진행): {e}")
|
||||
await bot.update_universe()
|
||||
|
||||
# 08:50 목표가 계산
|
||||
|
||||
Reference in New Issue
Block a user