pyportfolioopt has 174K monthly downloads and 6K GitHub stars. Version 1.6.0, first published in 2018.
It is stably maintained under a permissive license, last released in Feb 2026.
It is built on top of cvxpy, numpy and pandas. It is used by 22 tracked packages, including bbstrader, empyrial and backtrader-contrib-lucidinvestor.
GitHub topics include finance, portfolio-optimization and portfolio-management.
Package Insights
((week_daily_avg - month_daily_avg) / month_daily_avg) * 100Weekly Downloads
GitHub Stars
Downloads by OS
Python Versions
Top Countries
Dependencies
- cvxpy >=1.1.19
- numpy <3.0.0,>=1.26.0
- pandas <4.0.0,>=1.0.0
- scikit-base <0.14.0
- scikit-learn >=0.24.1
- scipy >=1.3.0
9 optional dependencies
- cvxopt[all-extras]
- ecos[all-extras]
- matplotlib[all-extras]
- nbmake[notebook-test]
- plotly[all-extras]
- pytest[dev]
- pytest-cov[dev]
- pytest-rerunfailures[notebook-test]
- yfinance[dev]