Skip to content
TotalFinance

Risk

Value at risk, expected shortfall, covariance, drawdown risk and portfolio optimization.

Measure tail risk with historical, parametric and Monte Carlo VaR and expected shortfall, explain P&L with Taylor expansions, and construct portfolios with mean-variance, risk parity, hierarchical risk parity and Black–Litterman. Research-hygiene tools guard against overfitting.

Try it live

Common APIs

Complete API reference

Browse all public exports, types, and feature imports below.

Edit this page on GitHub ↗Every code block on this site is executed in CI against the library.