Home / Backtesting & trading frameworks

pysystemtrade

Backtesting & trading frameworks★ 3,549 GitHub starsPython⏱ Last commit 3 days ago

Open-source systematic futures backtesting and trading engine in Python

What it is

A Python backtesting and trading engine that implements the systematic framework described in Rob Carver's book 'Systematic Trading' and on his blog. It provides an environment for testing book strategies, implements the associated optimisation and system design principles, and can run as a fully automated futures trading system connected to Interactive Brokers via the ib_async library. Traders who are comfortable writing Python code and installing dependencies themselves will get the most out of it. The project is not hosted on PyPI and offers no higher level of support, so it functions as a head start for building your own system rather than a supported product.

At a glance

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

Best forProfessional quants
Used forBacktesting, Live trading
MarketsFutures, Multi-market
StackPython
Learning curveSteep learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceLast commit 3 days ago

GitHub stars, last 30 days

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

In the author's words

pysystemtrade is the open source version of Robert Carver's backtesting and trading engine that implements systems according to the framework outlined in his book "Systematic Trading", whic

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

Similar tools