Learn the research process before connecting a broker
Machine Learning for Trading gives you chapter code and connected case studies for learning how a prediction becomes a trading decision. Pick it if you want to examine data availability, validation, portfolio construction and costs together. Someone who already has a strategy and only needs an execution engine should start elsewhere.
The current README follows the third edition, with 27 chapters and nine case studies. Second-edition readers need the second-edition branch. That detail matters more than the long model list: following an older book against today's default branch means looking for material in the wrong place.
What happened when we ran it
Our sandbox installed the recorded environment in 360 seconds and built it in 13 seconds, but the test command timed out at 900 seconds. The run used commit 91c903e on November 9, 2026.
| Recorded step | Result | What it tells you |
|---|---|---|
| Install | Succeeded in 360 s | 527 dependencies recorded, 10,277 MB on disk |
| Build | Succeeded in 13 s | The recorded build step completed |
| Tests | Timed out in 900 s | No completed suite result |
| pip-audit | 16 known vulnerabilities | Dependency remediation needs investigation |
The last supplied test lines show progress through 20% and 21%, with passing markers across scan projection, allocator, Compose and conformal-calibration checks. One line includes a skipped marker. Output stops during tests/test_conftest_autouse_fixtures.py. That tail identifies where reporting stopped, not the cause of the timeout. It supplies neither a final pass count nor a failing assertion.
The checkout was 189.7 MB across 2,065 files, with approximately 675,471 source lines. The scan recorded nine CI workflow files, Compose and a tests directory, but no Dockerfile. Today's README documents Docker environments under envs/; the scan result should not be read as proof that container support is absent.
The configured sandbox had 3 CPUs and 8 GB RAM, using image label ghcr.io/astral-sh/uv:python3.12-bookworm. That label does not establish the actual Python or operating-system version. The disk figure makes the immediate decision easier: reserve space for a substantial research environment before adding datasets.
The notebooks connect modeling to costs and risk
The README's chapter map carries predictions into simulation, portfolio construction, transaction costs and risk management. This is the main reason to choose the material over collecting isolated model examples. A better prediction score is only one input to a strategy that must survive execution costs.
Walk-forward validation and controls for repeated experimentation get explicit coverage. Those are documented teaching topics, not a certification that every example avoids leakage. Follow one case study through the workflow and examine its data dates and evaluation split before changing models. Otherwise, the repository's breadth can turn into a lot of notebooks opened without a research question answered.
Platform and data choices come before the first notebook
The README offers Docker and a local uv environment, with compiler and Python-header requirements for the local route. It directs Windows users to WSL2 and says native Windows Python is unsupported. Its platform table sends Intel Mac users to Docker because the local PyTorch dependency path cannot resolve there.
Free dataset downloads need no API keys, while the data guide covers provider credentials and storage tiers. Start with those free datasets before committing to a case study that needs licensed inputs. The README also offers precomputed artifacts for exploring results without retraining, which is a useful reading route when the experiment itself exceeds your machine.
For local notebooks, the README sets ML4T_DATA_PATH to an absolute path because notebooks run from their chapter folders. A missing-data message can therefore call for checking the configured path before downloading the same files again. Keep the tokenized Jupyter URL private. The documented Docker route opens Jupyter without a token, so check exposure before putting it on a reachable server.
External data can change after code has shipped
Issue #1160 records an automated external-data failure for cot_cftc. Its description says the upstream provider appeared to have changed a location or payload. A follow-up reports a passing weekly run and closes the issue. That is a reported recovery, not a diagnosis we reproduced.
The repository's last push was November 13, 2026; the latest release endpoint returned v3.1.0-artifacts, published September 20. Recent push activity and the closed monitoring thread support ongoing maintenance. Neither establishes response times for a reader's problem or the accuracy of downloaded financial data. A release tag's age alone would miss that distinction.
Backtesting.py and LEAN answer narrower implementation needs
Backtesting.py documents Python strategy backtesting. Choose it when your immediate question is how a defined strategy behaves on historical bars, rather than how to work through a curriculum. LEAN documents backtesting and live trading through its CLI and algorithm engine. Choose it when an operational trading engine is the deliverable. These are differences in purpose, not measured speed comparisons.
The code here carries an MIT license, but the README reserves rights to the book content and separately identifies AlgoSeek data rights. Check the relevant asset's terms before redistributing a notebook's supporting material. The code license does not settle dataset permission.
What we have not tested yet
We have not reproduced a complete notebook pipeline, broker connection, profitable strategy, GPU workload or alternative installation route. The audit total does not identify affected packages or exploitability, and the supplied test tail cannot explain the timeout. Community research was not collected. The public README and issue thread supplement a build/test sandbox run, not a trading-system evaluation.
All score dimensions are unassessed: this review has no numerical rating rubric, supported-platform installation confirmation, documentation execution audit, support study or production reliability run. Start with the chapter and free dataset that match your question, complete that workflow, then decide whether the broader environment earns its disk space.

