Learn algorithmic and AI trading
Books
- Machine Learning for Trading, 3rd ed. (Stefan Jansen, Packt, 2026): End-to-end ML workflow from data to backtest to live trading. Companion site: ml4trading.io.
- Advances in Financial Machine Learning (Marcos López de Prado, Wiley): Labeling, cross-validation and backtest overfitting done properly.
- Quantitative Trading, 2nd ed. (Ernest Chan, Wiley): A practical intro to running your own algorithmic strategies.
Courses
- Machine Learning for Trading Specialization (Google Cloud / NYIF, Coursera): Three courses on ML, deep learning and reinforcement learning for trading.
- EPAT (QuantInsti): Long-form algorithmic trading program with live classes; see the admissions page for current fees.
- QuantConnect Learning Center: Free tutorials and bootcamps on the LEAN engine.
Communities
- r/algotrading: Large, skeptical community; good for sanity checks.
- QuantConnect Forum: Strategy and LEAN help.
- Freqtrade docs and community: Docs with links to the official Discord for the most popular open-source crypto bot.
A sensible order
- Read one book end to end before you build anything. The books above cover the workflow from data to backtest to live trading, and why backtests overfit.
- Backtest on history with a free engine. Our backtesting section lists open-source and hosted options with sources.
- Paper trade the same strategy against live prices. Simulated fills are kinder than real ones, so treat paper results as an upper bound.
- Connect an agent with limits. Check how your broker gates orders on the safety controls table, and keep hard caps outside the agent.
- Go live small, and only after you've read the logs from paper trading.
What to watch for
- Overfitting. A strategy tuned until the backtest looks good usually fails live. López de Prado's book covers cross-validation and backtest overfitting in detail.
- Costs and fills. Fees, slippage and partial fills only show up in live trading.
- Claimed returns. We don't list tools by claimed performance, and courses or signal sellers that promise returns deserve extra scepticism.