skfolio is a Python library designed for portfolio optimization and financial risk management that integrates closely with the scikit-learn ecosystem. The project provides a unified machine learning-style framework for building, validating, and comparing portfolio allocation strategies using financial data. By following the familiar scikit-learn API design, the library allows quantitative researchers and developers to apply techniques such as model selection, cross-validation, and hyperparameter tuning to portfolio construction workflows. It supports a wide range of allocation methods, from classical mean-variance optimization to modern techniques that rely on clustering, factor models, and risk-based allocations. The framework also includes tools for evaluating portfolio performance under different market conditions, enabling users to test robustness and reduce the risk of overfitting.

Features

  • Portfolio optimization framework compatible with the scikit-learn API
  • Tools for model selection, cross-validation, and hyperparameter tuning in finance
  • Support for multiple portfolio allocation strategies and optimization methods
  • Built-in utilities for backtesting and evaluating investment strategies
  • Integration with Python data science libraries such as NumPy and pandas
  • Visualization and analysis tools for portfolio performance and risk metrics

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

BSD License

Follow skfolio

skfolio Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of skfolio!

Additional Project Details

Programming Language

Python

Related Categories

Python Machine Learning Software

Registered

2026-03-12