Machine Learning for Algorithmic Trading
by Stefan Jansen
4.7 / 5.0 rating

Stefan Jansen's comprehensive practical guide has established itself as one of the most thorough resources available for investment professionals and data scientists who want to apply machine learning techniques to algorithmic trading strategy development. The book covers the entire machine learning for trading pipeline with practical Python code: data sourcing and manipulation, feature engineering from price data, fundamental data, and alternative data sources, supervised learning models for return prediction, unsupervised learning for asset clustering and portfolio construction, natural language processing for news and earnings sentiment analysis, recurrent neural networks and LSTMs for time series modeling, reinforcement learning for dynamic strategy optimization, and the systematic approach to backtesting and portfolio construction that converts ML signals into executable strategies. What distinguishes this book from more theoretical treatments is its rigorous attention to the practical challenges specific to financial ML: lookahead bias in feature construction, the correct use of walk-forward validation rather than random cross-validation, transaction cost modeling, and the realistic assessment of capacity constraints that limit the scalability of strategies that look good in simulation. The second edition significantly expanded coverage of alternative data, deep learning architectures, and reinforcement learning applications. Comprehensive enough to serve as a reference text while practical enough to be genuinely implementable, this is the most complete technical guide to ML-based algorithmic trading currently available.