#72 · Primary category: Education & Research

machine-learning-for-trading

algorithmic-trading artificial-intelligence backtesting data-science deep-learning finance investment investment-strategies large-language-models machine-learning ml4t-workflow polars quantitative-finance reinforcement-learning synthetic-data trading trading-agent trading-strategies

Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.

Project last updated:08/29/26

GitHub Stars

20.7K

Forks

5.6K

Contributors

17

License

MIT

Why we included this project

Anyone learning to apply machine learning to financial markets will find this repository a practical companion to the third edition of Stefan Jansen's Machine Learning for Trading. The code follows one end-to-end path, from managing data and engineering features through training models, backtesting, and accounting for costs and risk, to deploying a strategy that runs live. Nine case studies tie the chapters together. The new edition adds generative AI and autonomous agents, covering retrieval-augmented generation, knowledge graphs, and multi-agent systems for financial research. Because the code is organized around a single pipeline rather than isolated snippets, it also works as a reference for how the pieces of a quant research stack fit together, and the companion site adds primers and production libraries that extend the notebooks.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category