skfolio/skfolio
Python library for portfolio optimization built on top of scikit-learn observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 99
- Longevity 70
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10
- age_days: 993
- days_rel: 10
- days_push: 8
- n_releases_24m: 40
Adoption not part of the score
2256 stars · 233 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
skfolio is a Python library for portfolio optimization, factor model construction, and risk management built on top of scikit-learn. It provides a unified scikit-learn-compatible API to build, tune, cross-validate, and stress-test portfolio models.
Use cases
- optimize a stock portfolio with mean-variance optimization in python
- build an efficient frontier for asset allocation
- compute risk parity weights for a portfolio
- run cross-validation on portfolio optimization models
- minimize CVaR for an investment portfolio
- cluster assets hierarchically for portfolio construction
- stress-test and backtest portfolio strategies
When to choose
- you want scikit-learn-style estimators, pipelines, and hyperparameter tuning for portfolio optimization
- you need convex optimization-based allocation (MVO, CVaR, risk budgeting) with cvxpy solvers
- you want a maintained, well-documented open-source quant finance library with BSD licensing
When to avoid
- you need live market data feeds or broker execution - skfolio focuses on optimization, not data or trading infrastructure
- you need a no-code or GUI portfolio tool
- your project is not Python-based
Facets
library · maturity active
machine-learning data-science math fintech data-science machine-learning python portfolio-optimization quantitative-finance asset-allocation risk-management scikit-learn cvxpy efficient-frontier risk-parity cvar hierarchical-clustering optimization
4 sources
- readme: https://github.com/skfolio/skfolio · fetched 2026-08-28 · 8d0e4813cf7d
- homepage: https://skfolio.org · fetched 2026-08-29 · ef9f78ca1c65
- site_page: https://skfolio.org/user_guide/install.html · fetched 2026-08-29 · 5c33ed207a82
- registry_pypi: https://pypi.org/pypi/skfolio/json · fetched 2026-08-29 · 92575c316a02
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| skfolio/skfolio | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem