Skip to content
ResearchOpen sourceMIT

Machine Learning for Trading

Code for Stefan Jansen's book: the most complete open ML-for-trading curriculum

By Stefan Jansen

Not yet reviewed

This project is listed, but we have not yet reviewed its documentation. The description is editorial and the figures come from GitHub.

Live GitHub metrics

Live GitHub data · Nov 27, 2026
Stars
22,092
Stars · 7d
+175
Stars · 30d
+476
30d momentum
+2.2%
Forks
5,820
Open issues
4
Language
Jupyter Notebook
Last push
yesterday

Latest release v3.1.0-artifacts on Sep 20, 2026. Repository created May 9, 2018.

21.3k21.7k22.1kOct 8Nov 27
Cumulative GitHub stars, Oct 8, 2026 to Nov 27, 2026. Source: InvestingStack daily snapshots.

What it is

The repository accompanies the third edition of the book and walks from data sourcing through factor research, deep learning and backtesting with Zipline. It is the best structured reading list for anyone moving from LLM demos to real quant practice.

In the maintainers' words: “Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.”

Tags

  • Book
  • Curriculum
  • Factor research
  • #algorithmic-trading
  • #artificial-intelligence
  • #backtesting
  • #data-science
  • #deep-learning
  • #finance
  • #investment
  • #investment-strategies