Initial commit: FX Risk Terminal

Multi-currency FX risk engine + browser dashboard:
- Live USD valuation of a multi-currency equity book (ECB rates, no API key)
- Value-at-Risk by 3 methods (parametric, historical, Monte Carlo)
- Expected Shortfall, component VaR, diversification ratio
- Monte Carlo via from-scratch Cholesky (pure Python, no numpy)
- Historical stress testing + minimum-variance hedge search
- Interactive in-browser portfolio builder (stateless, localStorage)
- 20 offline unit tests

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sauc
2026-06-16 22:12:00 -04:00
co-authored by Claude Opus 4.8
commit a3817dc462
9 changed files with 1766 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
positions.json
.claude/
__pycache__/
*.py[cod]
.env
venv/
.venv/
*.egg-info/
dist/
.DS_Store