Home / Backtesting & trading frameworks

machine-learning-for-trading

Backtesting & trading frameworks★ 21,292 GitHub starsJupyter Notebook⏱ Commits today

Jupyter notebooks companion to Machine Learning for Trading

What it is

A collection of Jupyter notebooks accompanying Stefan Jansen's Machine Learning for Trading book, covering the full path from data sourcing to live strategy execution. The code spans 27 chapters and nine case studies, including gradient boosting, deep time-series models, causal machine learning, reinforcement learning, and live trading via Interactive Brokers, Alpaca, and QuantConnect. Quant traders and developers who want to learn ML-driven strategy research and deployment end to end will find it most useful. As book companion material, the notebooks are research code for study rather than a production-ready trading product.

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
HardwareGPU optional
MaintenanceCommits today

GitHub stars, last 30 days

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

In the author's words

Code and resources for Machine Learning for Algorithmic Trading.

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

Similar tools