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 db9abd7786 feat: SEC Form 4 PIT + SC 13D/G activist ownership API
## 신규 엔드포인트
- GET /insider/form4/{ticker} — PIT-safe Form 4 거래 목록 (as_of 필수)
- GET /insider/form4/by-date/{date} — 특정 공시일 cross-ticker 거래
- GET /insider/form4/aggregate/{ticker} — 내부자 매수 집계 (window_days)
- GET /ownership/13dg/{ticker} — SC 13D/G activist 이벤트 (as_of 필수)
- GET /ownership/13dg/active — 현재 활성 activist 포지션 (window function PIT)

## 데이터 인프라
- activist_ownership_events 테이블 (42,329행, 최근 2년 bootstrap 완료)
- insider_transactions: is_ceo/is_cfo/is_c_suite/purchase_pct_of_holding/owner_relationship 컬럼 추가
- SECFullIndexService: company.idx fixed-width 파서, form345.zip 파서
- ActivistOwnershipService: SGML header issuer 해석 + cover-page XML/HTML enrich
- SEC ingest scheduler: 매 영업일 09:00 ET daily ingest + 30분 enrich job
- scripts: bootstrap_form4_by_ticker.py, bootstrap_form4_2y.py, bootstrap_13dg.py

## 버그 수정 (enrich 품질)
- filing_url double edgar/ prefix 제거
- XML: classPercent + amountBeneficiallyOwned + reportingPerson... 태그 추가
- HTML: 태그 제거 후 regex 적용 (CSS 10pt → shares 오인식 방지)
- HTML: ownership_pct > 100 방어 로직

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 months ago
..
5c3d0565afcc_initial_schema.py Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
a1b2c3d4e5f6_add_attention_subsystem_tables.py feat(attention): Attention 서브시스템 추가 — 이벤트 중심 Wikipedia/GDELT 관심도 피처 5 months ago
b3c4d5e6f7a8_add_perf_indexes.py perf: API 성능 개선 — 로그 분석 기반 6개 항목 수정 5 months ago
c4d5e6f7a8b9_add_insider_transactions.py feat: Form 4 내부자 거래 + Earnings Surprise + FINRA 확장 5 months ago
d5e6f7a8b9c0_add_earnings_surprise.py feat: Form 4 내부자 거래 + Earnings Surprise + FINRA 확장 5 months ago
e6f7a8b9c0d1_add_universe_snapshot.py feat: 백테스팅 유니버스 과거 시점 주식 스크리닝 (Historical Stock Universe) 5 months ago
f7a8b9c0d1e2_add_dividend_calendar.py feat: PIT dividend calendar + earnings surprise calendar endpoint 4 months ago
g8a9b0c1d2e3_add_8k_parsing.py feat: 8-K filing parser — Item 추출 + event 생성 4 months ago
h9b0c1d2e3f4_add_interval_to_alpaca_price.py feat: AlpacaPriceData에 interval 컬럼 추가 — 일봉/분봉 DB 충돌 해결 4 months ago
i0a1b2c3d4e5_fix_request_log_path_text.py fix: error_logs.path VARCHAR(500) → TEXT — 서버 응답 불가 해결 4 months ago
j1b2c3d4e5f6_fix_error_log_path_text.py fix: error_logs.path VARCHAR(500) → TEXT — 서버 응답 불가 해결 4 months ago
k2c3d4e5f6g7_companies_add_exchange_country_mcap.py feat: company metadata 안정화 — 실제 sector/industry/exchange 보강 4 months ago
l3d4e5f6g7h8_add_form4_derived_columns.py feat: SEC Form 4 PIT + SC 13D/G activist ownership API 4 months ago
m4e5f6g7h8i9_add_activist_ownership_events.py feat: SEC Form 4 PIT + SC 13D/G activist ownership API 4 months ago