Home / Backtesting & trading frameworks

algorithmic-trading-with-python

Backtesting & trading frameworks★ 3,490 GitHub starsPython⏱ No commits in over six months

Python resources for trading simulation, backtesting, and ML

What it is

A collection of free pandas and scikit-learn resources for trading simulation, backtesting, and machine learning on financial data. Stand-alone modules cover performance metrics, technical indicators in pure pandas, ternary signal conversion, grid search optimization, portfolio simulation building blocks, and multi-core repeated K-fold cross-validation, along with simulated EOD stock and alternative data streams. Researchers interested in strategy evaluation and model validation can use these components with or without the companion material. Much of the deeper explanation and context depends on the accompanying book, and much of the code is research-oriented rather than a finished product.

At a glance

Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.

Best forBeginners
Used forBacktesting, Strategy research
MarketsMulti-market
StackPython
Learning curveEasy to start
Practical valueMedium practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceNo commits in over six months

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +5 over the period, now 3,490. Gaps mean no snapshot was taken that day.

In the author's words

Free `pandas` and `scikit-learn` resources for trading simulation, backtesting, and machine learning on financial data.

Open on GitHub ↗This week's trending tools中文页面

Similar tools