Python algo-trading

Open-source Python projects categorized as algo-trading

Top 18 Python algo-trading Projects

  • hummingbot

    Hummingbot is open source software that helps you build trading bots that run on any exchange or blockchain

    Project mention: Strategies ? | | 2023-05-29

    There are many Script examples here

  • jesse

    An advanced crypto trading bot written in Python

    Project mention: Crypto Algo Platform | | 2022-07-17

    Going to give a try next week.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.


    :mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.

    Project mention: Anyone here built backtest/alpha visualization/exploration dashboard(s)? | | 2023-03-31 offers nice way to zoom backtesting. It has some bugs, but good for visualization.

  • quantstats

    Portfolio analytics for quants, written in Python

    Project mention: Quantstats issue with Google Colab | | 2023-03-22
  • qtpylib

    QTPyLib, Pythonic Algorithmic Trading

  • alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: Simple Martingale Bot (willing to pay) | | 2023-03-05
  • AutoTrader

    A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

    Project mention: Looking for open source Python code for deep learning model to optimize portfolio | | 2022-12-22
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • trading-server

    A multi-asset, multi-strategy, event-driven trading platform for running many strategies at many venues simultaneously with portfolio-based risk management and %-per-strategy capital allocation. Supports event-driven backtesting across all desired instruments, venues and strategies under a single parameterized portfolio.

    Project mention: trading-server: NEW Derivatives and Hedging - star count:516.0 | | 2023-02-04
  • LiuAlgoTrader

    Framework for algorithmic trading

  • ibeam

    IBeam is an authentication and maintenance tool used for the Interactive Brokers Client Portal Web API Gateway.

    Project mention: Actually good APIs? | | 2023-05-25

    Consider IBeam for authenticating with the IBKR API and maintaining it authenticated. It's Docker image, you just run it parallel to your trading app.

  • pipeline-live

    Pipeline Extension for Live Trading

    Project mention: How would I start to recode an old python library only compatible with an older version of python (3.6) to become compatible with a newer python version (3.8+)? | | 2022-11-06
  • stockbot

    Alpaca algo stock trading bot

  • Wizardry

    💫 Wizardry is an open-source CLI for building powerful algorithmic trading strategies 交易框架 (by ssantoshp)

  • cira

    Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.

  • financial-indexes-correlation

    Analyze financial data correlations

    Project mention: Do different financial markets influence each other? Can the trend in the price of Bitcoin be predicted? (Python project) | | 2023-01-09

    Me and Amirreza Shahmiri did a small project which is also on GitHub: Our goal was to see if, for example, when the global gold price goes up, does the Bitcoin price also go up or down. This project can analyze the degree of correlation between different financial indexes and report it to you.

  • sample-trading-bot

    Binance Futures Sample Trading Bot

  • quantclean

    🧹 Quantclean is a program that reformats financial dataset to US Equity TradeBar (Quantconnect format)

  • binance-spot-trading-bot

    Easy-to-use Binance spot trading bot (by Erfaniaa)

    Project mention: "Binance Spot Trading Bot" - A simple, customizable bot for Binance spot trading and high-frequency trading | | 2023-05-09

    Feel free to check out the GitHub repository here:


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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). The latest post mention was on 2023-05-29.

Python algo-trading related posts


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

Project Stars
1 hummingbot 5,886
2 jesse 4,681
3 3,692
4 quantstats 3,144
5 qtpylib 1,927
6 alpaca-trade-api-python 1,578
7 AutoTrader 591
8 trading-server 560
9 LiuAlgoTrader 520
10 ibeam 356
11 pipeline-live 199
12 stockbot 114
13 Wizardry 38
14 cira 21
15 financial-indexes-correlation 19
16 sample-trading-bot 16
17 quantclean 14
18 binance-spot-trading-bot 2
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises