a02d23de8d
dashboard-api/main.py:
- SCORE_ENGINE_URL/US_MARKET_URL/AUX_SIGNAL_URL 환경변수
- _proxy_get 헬퍼
- 신규 8개 엔드포인트:
/api/formulas/matrix - 10공식 신호 매트릭스 (stock_scores 직접 조회)
/api/weights - 학습된 공식 가중치 proxy
/api/backtest - 추천 백테스트 proxy
/api/sector-concentration - 섹터 집중도 + 30% 경고 proxy
/api/usmarket/etfs - 미국 섹터 ETF
/api/usmarket/pairs - KR↔US 페어 + 60일 회귀 베타
/api/usmarket/signals - 동조 시그널
/api/macro/ecos - 한국 매크로 (USD/KRW, 국고채)
dashboard-api/index.html:
- 탭 4개 추가 (formulas/backtest/usmarket/macro)
- renderFormulas: 매트릭스 테이블 (한글 매수/매도 신호 색상 + 툴팁)
- renderBacktest: 7d/30d 카드 + 등급별 표 + 기간 슬라이드
- renderUsMarket: ETF + 페어 + 시그널 3패널
- renderMacro: KOSPI/USD-KRW/국고채 카드 + 섹터 집중도 막대 + 가중치
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>