You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
I Luk Kim 8c9abe3e31 feat(attention): Attention 서브시스템 추가 — 이벤트 중심 Wikipedia/GDELT 관심도 피처
## 주요 기능
- Entity resolver: ticker → canonical name → Wikipedia 매칭
  - SEC company_tickers.json fallback으로 placeholder name 자동 수정
  - all-caps SEC 이름 title-case 변환, "Com" suffix 처리
- Wikipedia 페이지뷰 수집 + spike_10d / zscore_20d 피처 계산
- GDELT V2 DOC API 뉴스 기사 수집 (2017-01-01 이후)

## GDELT rate limit 제약 강제
- /event/{ticker} 온디맨드 GDELT 수집 제거 (IP ban 방지)
- 프로세스 전역 asyncio.Lock + 10초 최소 간격 강제
- 429 시 exponential backoff (30→60→120s)
- news.gdelt_status 필드로 클라이언트에 수집 상태 명시
  ('collected' | 'not_collected' | 'not_available')

## API
- GET  /api/v1/attention/event/{ticker}?event_date=YYYY-MM-DD
- GET  /api/v1/attention/entity/{ticker}
- POST /api/v1/attention/admin/resolve/{ticker}
- POST /api/v1/attention/admin/collect/wiki/{ticker}
- POST /api/v1/attention/admin/collect/gdelt/{ticker}  ← scheduler 전용

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 months ago
..
__init__.py Initial commit with full project improvements 5 months ago
alpaca.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
attention.py feat(attention): Attention 서브시스템 추가 — 이벤트 중심 Wikipedia/GDELT 관심도 피처 5 months ago
catalog.py Initial commit with full project improvements 5 months ago
database.py Initial commit with full project improvements 5 months ago
error_logs.py chore: remove SQLite entirely, PostgreSQL only 5 months ago
etf.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
filings.py fix(sec): exhibit timeout 15초 → 25초 (2단계 fetch 고려) 5 months ago
financial.py perf: Phase 1-3 Stock Oracle API 성능 개선 5 months ago
finra.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
fred.py Initial commit with full project improvements 5 months ago
health.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
migration.py Initial commit with full project improvements 5 months ago
news.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
overlay.py Add Phase 5 Attention Overlay API and fix Redis port mismatch 5 months ago
price.py perf: Phase 1-3 Stock Oracle API 성능 개선 5 months ago
request_logs.py chore: remove SQLite entirely, PostgreSQL only 5 months ago
screener.py feat(screener): add stock screener API with yfinance EquityQuery 5 months ago
stocks.py docs: 앱 내부 문서(루트 HTML, OpenAPI)에 index 엔드포인트 추가 5 months ago