3rd Edition Coming 2025

Machine Learning
for Trading

The definitive guide to building systematic trading strategies with machine learning.

New in 3rd Edition: GenAI & RAG, Causal Inference, Autonomous Agents, 6 Production Libraries

Machine Learning for Trading Book - 3rd Edition
27
Chapters
9
Case Studies
6
Libraries
200+
Notebooks
6k+
GitHub Stars

Stay up to date with ML4T

Get detailed section summaries, code examples, best practices, and case study introductions delivered to your inbox. No purchase required.

  • Section summaries
  • Code examples
  • Best practices
  • Case studies

Join 5,000+ readers • Free forever • Unsubscribe anytime

The 5-Stage ML4T Workflow

From hypothesis to deployment: A systematic approach to building ML-driven trading strategies.

Hypothesis

Formulate trading ideas from market insights

Ch 1-3

Data

Source and engineer market features

Ch 4-5 ml4t-data

Signal

Engineer features, fit models, and evaluate signal quality

Ch 6-20

Strategy

Design and backtest trading rules

Ch 21-25 ml4t-backtest

Deployment

Go live with monitoring

Ch 26-28 ml4t-live

What's New in the 3rd Edition

24 chapters 27 chapters

6 new chapters on GenAI, causal inference, and production systems

NEW

GenAI & RAG

Chapters 14-15

LLMs for financial analysis and RAG systems for market research

NEW

Causal Inference

Chapters 21-22

Move beyond correlation with causal ML for trading

NEW

Autonomous Agents

Chapter 24

Build AI agents for autonomous trading decisions

NEW

Production Libraries

6 ML4T Libraries

Complete software ecosystem for the ML4T workflow

Live AI Forecasts

Real-time predictions from our multi-agent forecasting system, tracking economic and financial prediction markets.

27 Chapters in 6 Parts

Organized around the complete ML4T workflow.

I

Foundation

Chapters 1-5

ML4T workflow, data sourcing, feature engineering

II

ML Models

Chapters 6-10

Linear, tree-based, and ensemble methods

III

NLP & GenAI

Chapters 11-15

Text analysis, LLMs, RAG, knowledge graphs

IV

Deep Learning

Chapters 16-20

CNNs, RNNs, autoencoders, GANs

V

Causal & Advanced

Chapters 21-24

Causal inference, RL, autonomous agents

VI

Production

Chapters 25-27

Backtesting, live trading, MLOps

Ready to Master Machine Learning for Trading?

Join thousands of quantitative analysts and traders using ML4T.