ToolsOpen sourceMIT
PyPortfolioOpt
Classical and modern portfolio optimisation in Python
By Robert Martin
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, 2026Stars
6,186
Stars · 7d
+12
Stars · 30d
+57
30d momentum
+0.9%
Forks
1,200
Open issues
121
Language
Jupyter Notebook
Last push
4 months ago
Latest release v1.6.0 on Feb 26, 2026. Repository created May 29, 2018.
What it is
PyPortfolioOpt implements mean-variance optimisation, Black-Litterman, hierarchical risk parity and more behind a friendly API. It is the usual last step when an agent has produced views and needs defensible weights.
In the maintainers' words: “Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity”
Tags
- Portfolio optimisation
- Black-Litterman
- HRP
- #algorithmic-trading
- #covariance
- #efficient-frontier
- #finance
- #financial-analysis
- #investing
- #investment
- #investment-analysis