Home / Backtesting & trading frameworks
AlphaPy
Machine learning framework for trading systems and market analysis
What it is
A Python machine learning framework built for speculators and data scientists, combining scikit-learn, pandas, Keras, XGBoost, LightGBM, and CatBoost. Its MarketFlow module supports developing trading systems and analyzing portfolios, including integration with Quantopian's pyfolio, while SportFlow extends the same pipeline to predicting sporting events. Users can run individual models or generate blended and stacked ensembles. Active development has moved to AlphaPy Pro, so this original version is available mainly for those who rely on it, and it remains in maintenance rather than active development.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Strategy research, Backtesting |
| Markets | Multi-market |
| Stack | Python |
| Learning curve | Moderate learning curve |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | GPU optional |
| Maintenance | Last commit 6 days ago |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +14 over the period, now 1,765. Gaps mean no snapshot was taken that day.
Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost.