Python algorithmic-trading

Open-source Python projects categorized as algorithmic-trading

Top 23 Python algorithmic-trading Projects

  • freqtrade

    Free, open source crypto trading bot

    Project mention: Question for people who have tried crypto trading bots. Do they work? Have you made any profits with them or is it a scam mostly? | | 2023-05-30
  • zipline

    Zipline, a Pythonic Algorithmic Trading Library

    Project mention: 10 FinTech APIs every Indian developer should bookmark | | 2022-12-23

    Zipline by Quantopian: An Open-Source tool for algorithmic trading. It is a platform for developing and testing quantitative trading strategies using Python.

  • 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.

  • qlib

    Qlib is an AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing productions. Qlib supports diverse machine learning modeling paradigms. including supervised learning, market dynamics modeling, and RL.

    Project mention: qlib: NEW Other Models - star count:10974.0 | | 2023-05-29
  • jesse

    An advanced crypto trading bot written in Python

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

    Going to give a try next week.

  • Crypto-Signal - Trading & Technical Analysis Bot - 4,100+ stars, 1,100+ forks

  • quant-trading

    Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD

    Project mention: quant-trading: NEW Derivatives and Hedging - star count:3983.0 | | 2023-05-20

    :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.

  • 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.

  • mlfinlab

    MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.

    Project mention: mlfinlab: open source library maintained by hudson and thames though much of the content has moved to a subscription model. Idea is to implement academic research in python code and aggregate it as a package. Sources from [Journal of financial data s | | 2022-11-13
  • financial-machine-learning

    A curated list of practical financial machine learning tools and applications.

    Project mention: How come most deep learning courses don't include any content about modeling time series data from financial industry, e.g. stock price? | | 2023-03-19
  • quantstats

    Portfolio analytics for quants, written in Python

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

    Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.

    Project mention: Is there any python libraries to backtest buy and sell signals with dates? | | 2022-06-14

    For exactly this I use this it’s really a powerful tool and you can tons of things with it. Recently the developer decided to maintain it but not adding new features, which from now on will be released on the pro version. However, the free version is still very valuable, incredibly fast and suitable for basic to intermediate tasks.

  • eiten

    Statistical and Algorithmic Investing Strategies for Everyone

  • zvt

    modular quant framework.

    Project mention: Algo trading in matlab / C++ | | 2022-06-09
  • qtpylib

    QTPyLib, Pythonic Algorithmic Trading

  • MachineLearningStocks

    Using python and scikit-learn to make stock predictions

    Project mention: Scikit-learn Stock Prediction: using fundamental and pricing data to predict future stock returns. Sklearn's randomforest classifier is trainded and author claimed positive live trading results. Not actively mainained Other Models - star count:1411.0 | | 2023-04-01
  • algotrading

    Algorithmic trading framework for cryptocurrencies.

    Project mention: algotrading: NEW Extended Research - star count:819.0 | | 2023-04-24
  • pybroker

    Algorithmic Trading in Python with Machine Learning

    Project mention: PyBroker: An Algotrading Framework Built for Machine Learning | | 2023-05-24
  • optopsy

    A nimble options backtesting library for Python

    Project mention: optopsy: NEW Derivatives and Hedging - star count:605.0 | | 2022-08-27
  • example-scalping

    A working example algorithm for scalping strategy trading multiple stocks concurrently using python asyncio

  • 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
  • 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

  • tdameritrade

    Python interface to TD Ameritrade (


    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-30.

Python algorithmic-trading related posts


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

Project Stars
1 freqtrade 21,716
2 zipline 16,148
3 qlib 10,955
4 jesse 4,667
5 Crypto-Signal 4,395
6 quant-trading 4,017
7 3,668
8 mlfinlab 3,404
9 financial-machine-learning 3,388
10 quantstats 3,144
11 vectorbt 2,867
12 eiten 2,523
13 zvt 2,510
14 qtpylib 1,927
15 MachineLearningStocks 1,470
16 algotrading 852
17 pybroker 801
18 optopsy 705
19 example-scalping 612
20 AutoTrader 586
21 trading-server 560
22 LiuAlgoTrader 520
23 tdameritrade 509
TestGPT | Generating meaningful tests for busy devs
Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.