Quant & AI

Quant & AI

Quantitative finance, machine learning and model risk: research, analysis and open-source code on how models behave when markets change.

Latest analysis

Research

2 working papers

Model validation

Backtesting machine-learning and conventional VaR models, and whether aggregate tests hide weaknesses in stressed markets.

2 working papers

Tail and systemic risk

Treating extreme losses as episodes: how long they persist, how severe they become and how they spread across markets.

1 working paper

Machine-learning risk models

Liquidity- and regime-aware gradient-boosting Value-at-Risk for US equities.

Browse the Research Library →

Open-source code

GitHub

ml var validation ↗

Replication code and data for When Backtests Lie, the governance-grade validation framework for machine-learning VaR.

GitHub

conditional tail episode risk ↗

Research code, experiments and reproducibility materials for Conditional Tail Episode Risk (CTER).

GitHub

VaR Backtesting SR11 7 ↗

Walk-forward backtest of Historical Simulation, Parametric and Student-t VaR on S&P 500 returns with Kupiec, Christoffersen and Basel traffic-light tests.

GitHub

GARCH Volatility Forecasting ↗

GARCH, EGARCH and HAR-RV volatility forecasting with rolling estimation, regime analysis and forecast evaluation.

GitHub

Statistical Arbitrage Pairs Trading ↗

Cointegration testing, Z-score signals, Kalman filter, Kelly sizing and a full backtest engine for pairs trading.

GitHub

Order Book Microstructure Market Impact ↗

Bid-ask spread decomposition, Kyle lambda market impact, Amihud illiquidity and VWAP/TWAP execution.

All repositories on GitHub ↗

Research and code are by Niraj Neupane. Working papers have not completed journal peer review unless stated. Nothing in this section is investment advice.