Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Portfolio Optimization Python Packages

Python packages with the GitHub topic portfolio-optimization. Sorted by monthly downloads, with stars and forks.
polakowo
vectorbt

The research engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

398K 10K 1K
skfolio
skfolio

Python library for portfolio optimization and risk models, built on scikit-learn

208K 3K 322
pyportfolio
pyportfolioopt

Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity

166K 6K 1K
dcajasn
riskfolio-lib

Portfolio Optimization in Python

89K 5K 743
cvxgrp
cvxportfolio

Portfolio optimization and back-testing.

29K 1K 309
EleutheroiEdge
finledgerpoli

AI code review for financial software that keeps your code local and backs every finding with evidence. Works with OpenAI, Anthropic, Gemini or Ollama.

16K 0 0
OpenQML-org
openqml

Open-source quantum machine learning library

15K 1 0
polakowo
vectorbt-rust

The research engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

8K 10K 1K
CPZ-Lab
cpz-ai

Open-source quantitative portfolio optimization, risk analytics, and anti-overfitting strategy certification in Python. The research core of the CPZAI systematic trading operating system.

7K 5 0
ArturSepp
optimalportfolios

Production multi-asset portfolio construction and rolling backtesting in Python

6K 100 43
dppalomar
riskparityportfolio

Fast and scalable construction of risk parity portfolios

4K 327 75
fortitudo-tech
fortitudo-tech

Entropy Pooling views and stress testing combined with Conditional Value-at-Risk (CVaR) portfolio optimization in Python.

4K 316 54
cloudQuant
fincore

Quantitative performance & risk analytics: 150+ financial metrics, portfolio optimization, Monte Carlo simulation, and attribution — the actively maintained successor to empyrical, pyfolio, and alphalens.

4K 9 2
tschm
pyhrp

Cluster-based portfolio allocation on an explicit, inspectable tree: hierarchical risk parity, Schur complementary allocation and hierarchical 1/N

3K 55 23
ssantoshp
empyrial

An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎

3K 1K 134
makedirectory
quantred

Layered, broker-agnostic algorithmic trading engine (Alpaca adapter included): scanner → strategy → backtest/live, with parameter optimization and OR-Tools portfolio allocation. Educational.

3K 9 3
JordiCorbilla
riskoptima

The RiskOptima toolkit is a comprehensive Python solution designed to assist investors in evaluating, managing, and optimizing the risk of their investment portfolios. This package implements advanced financial metrics and models to compute key risk indicators, including Value at Risk (VaR), Conditional Value at Risk (CVaR), and volatility assessme

3K 8 0
cvxgrp
cvxcla

critical line algorithm for efficient frontier

3K 26 6
ml4t
ml4t-models

Finance-specific models for asset pricing, prediction, and portfolio learning.

3K 22 12
mbk-dev
okama

Investment portfolio and stocks analyzing tools for Python with free historical data

2K 278 43
SidRichardsQuantum
vqe-portfolio

VQE-based portfolio optimization with PennyLane

2K 1 0
jeevanba273
quantflow-finance

Black-Scholes-Merton, binomial-tree and Monte Carlo option pricing, risk metrics and mean-variance optimisation in Python

2K 2 0
huuan26
polars-anta

Quantitative finance & alpha research in Polars: technical & microstructure features, risk neutralization, multiple-testing checks, portfolio optimization, and backtesting.

2K 34 10
ZhaorongDai
quantlab-py

End-to-end config-driven quant research backend: data -> factors -> return model -> portfolio optimization -> target positions -> backtest.

2K 5 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology