riskengine: An Open-Source Market-Risk Library and an Honest Out-of-Sample Validation of Seven VaR Methods
Technical report on riskengine, an open-source Python library for portfolio market risk (MIT licensed): Value-at-Risk and Expected Shortfall by seven methods plus EVT, covariance estimation, Euler risk decomposition, factor risk, stress and reverse stress testing, limit monitoring and backtesting. The report includes a strictly out-of-sample backtest of seven one-day 99% VaR models on a static eight-ETF portfolio (4,528 test days, 2006 to 2026). Six of seven models are rejected by the Christoffersen conditional coverage test at the 5% level. The EVT model is not rejected but was evaluated on only 906 days with 10 exceptions, so the test has low power. Linear (delta-one) exposures only; not audited; not investment advice. Code: https://github.com/ahmedpdf445-stack/riskengine
Authors
- Ahmed Emad
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24715685
- Primary Topic
- Financial Risk and Volatility Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00