Home / Risk & portfolio

skfolio

Risk & portfolio★ 2,474 GitHub starsPython⏱ Commits today

scikit-learn compatible Python library for portfolio optimization

What it is

A Python library for portfolio optimization, factor model construction, and risk management built on top of scikit-learn. It provides a unified interface and sklearn-compatible tools to build, tune, and cross-validate portfolio models. Quant developers who already work in the scikit-learn ecosystem will find the API familiar. As an open-source library rather than a product, it requires users to supply their own data pipelines and Python expertise.

At a glance

RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forStrategy research, Data analysis
MarketsMulti-market
StackPython
Learning curveModerate learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceCommits today

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +95 over the period, now 2,474. Gaps mean no snapshot was taken that day.

In the author's words

Python library for portfolio optimization built on top of scikit-learn. It provides a unified interface and sklearn compatible tools to build, tune and cross-validate portfolio models.

Open on GitHub ↗This week's trending tools中文页面

Similar tools