Python backtest

Open-source Python projects categorized as backtest

Top 7 Python backtest Projects

  1. stock

    stock股票.获取股票数据,计算股票指标,筹码分布,识别股票形态,综合选股,选股策略,股票验证回测,股票自动交易,支持PC及移动设备。

  2. Civic Auth

    Simple auth for Python backends. Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django.

    Civic Auth logo
  3. TradingGym

    Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo.

  4. algotrading

    Algorithmic trading framework for cryptocurrencies.

    Project mention: algotrading VS QTradeX-Algo-Trading-SDK - a user suggested alternative | libhunt.com/r/algotrading | 2025-05-28
  5. optopsy

    A nimble options backtesting library for Python

  6. oanda-bot-python

    oanda-bot is a python library for automated trading bot with oanda rest api on Python 3.6 and above.

  7. signal_backtester

    tiny backtester to backtest generated signals

  8. cipher-bt

    Trading strategy backtesting framework supporting multiple concurrent sessions, complex exit strategies, and multi-exchange data sources with simple Python implementation

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python backtest discussion

Log in or Post with

Python backtest related posts

  • algotrading VS QTradeX-Algo-Trading-SDK - a user suggested alternative

    2 projects | 28 May 2025
  • InStock: NEW Data - star count:431.0

    1 project | /r/algoprojects | 6 Sep 2023
  • InStock: NEW Data - star count:431.0

    1 project | /r/algoprojects | 5 Sep 2023
  • InStock: NEW Data - star count:394.0

    1 project | /r/algoprojects | 1 Sep 2023
  • InStock: NEW Data - star count:394.0

    1 project | /r/algoprojects | 31 Aug 2023
  • InStock: NEW Data - star count:394.0

    1 project | /r/algoprojects | 31 Aug 2023
  • InStock: NEW Data - star count:359.0

    1 project | /r/algoprojects | 27 Aug 2023
  • A note from our sponsor - Civic Auth
    www.civic.com | 31 Aug 2025
    Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django. Learn more →

Index

What are some of the best open-source backtest projects in Python? This list will help you:

# Project Stars
1 stock 9,952
2 TradingGym 1,709
3 algotrading 1,380
4 optopsy 1,136
5 oanda-bot-python 35
6 signal_backtester 29
7 cipher-bt 16

Sponsored
Simple auth for Python backends
Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django.
www.civic.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?