Skip to content
ToolsOpen sourceBSD-3-Clause

Riskfolio-Lib

Portfolio optimisation library with a very wide set of risk measures

By Dany Cajas

Not yet reviewed

This project is listed, but we have not yet reviewed its documentation. The description is editorial and the figures come from GitHub.

Live GitHub metrics

Live GitHub data · Nov 27, 2026
Stars
4,626
Stars · 7d
+13
Stars · 30d
+49
30d momentum
+1.1%
Forks
743
Open issues
21
Language
C++
Last push
23 days ago

No tagged releases. Repository created Mar 2, 2020.

4.5k4.6k4.6kOct 8Nov 27
Cumulative GitHub stars, Oct 8, 2026 to Nov 27, 2026. Source: InvestingStack daily snapshots.

What it is

Riskfolio-Lib covers mean-risk, risk-parity, hierarchical and worst-case optimisation across dozens of risk measures, with reporting built in. It suits research that goes beyond variance as the risk definition.

In the maintainers' words: “Portfolio Optimization in Python”

Tags

  • Portfolio optimisation
  • Risk measures
  • Python
  • #asset-allocation
  • #convex-optimization
  • #cvar-optimization
  • #cvxpy
  • #drawdown-model
  • #duration-matching
  • #efficient-frontier
  • #finance