Python algorithmic-trading

Open-source Python projects categorized as algorithmic-trading | Edit details

Top 23 Python algorithmic-trading Projects

  • freqtrade

    Free, open source crypto trading bot

    Project mention: 关于本鼠鼠要怎么用一年时间把手上的钱翻倍这件事情 | | 2022-04-21
  • zipline

    Zipline, a Pythonic Algorithmic Trading Library

    Project mention: [D] Doing my (bachelor) thesis on RL. Which topic do you like best? | | 2022-04-08

    (1) I remember there were decent libraries for this setting a while back. Maybe take a look at Quantopian/Zipline.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • qlib

    Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib.

    Project mention: Double Ensemble Model | | 2022-04-19 DoubleEnsemble is a model that ensembles a sample reweighing model and a feature selection model. It seems to perform quite well based off those benchmarks and on the Microsoft qlib benchmarks:

  • Crypto-Signal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks

    Project mention: What do you think of trading bots? | | 2022-01-24

    Step 2: create trading signals that will signal you when go long/short, u have also alot of open source repos for that, like:

  • jesse

    An advanced crypto trading bot written in Python

    Project mention: Thoughts on Jesse trading bot? | | 2021-10-02

    Here’s the repo for those that are interested:

  • 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-05-14
  • 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:2761.0 | | 2022-05-16
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • financial-machine-learning

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

    Project mention: financial-machine-learning: NEW Other Models - star count:2456.0 | | 2022-04-16

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

    Project mention: Any advice on where to start? | | 2022-03-04

    Hey, love the learning attitude! Some things to consider include (how are you actually going to write your code). If you want to spend more time experimenting with a signal (which with your background, seems like you do), try using a framework out there like, backtrader, or blankly (the last one is my favorite because I'm able to actually deploy live in one line whereas the others don't). These frameworks have built-in backtesting, data connections, etc. that should help you speed your dev up.

  • eiten

    Statistical and Algorithmic Investing Strategies for Everyone

    Project mention: Has anyone worked on problems involving "portfolio optimization theory"? | | 2021-07-29
  • quantstats

    Portfolio analytics for quants, written in Python

    Project mention: QuantStats: Portfolio Analytics for Quants | | 2022-02-09
  • vectorbt

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

    Project mention: Why Building a Trading Algorithm is More Than Just the Algorithm - 3 Things | | 2022-02-19

    It’s super easy to get up and running with code. With the rise of data science as a field, datasets are far and wide. Accessible from just about any venue. Take a look at Kaggle, QuiverQuant, Yahoo Finance, or even directly from the brokerages and exchanges. Developers can easily download data directly as a .csv or .json and quickly get up and running by utilizing frameworks like or vectorbt. “Great, it seems like I can get up and running and I’ll have an awesome money making trading algorithm in no time”.... unfortunately, wrong. Why is this wrong? Well, simulation is NOT the real world. The real world is not a CSV file—the real world is a stream of events. Cause and effect. The real world works in a fashion where new data comes in, you make a decision, and then you figure it out, not “I have all of this data, let me run this all through time and figure it out”. Indeed, the data sources that you get in real-time are almost completely different from the data sources you use in simulation. Rather than .csv you use WebSockets; rather than QuiverQuant you use APIs; rather than backtesting frameworks you use more robust, event driven packages. Without it, you’re stuck duplicating code, rewriting it into an event-based system, and ultimately using that to go into production, and who knows if your code is going to change along the way.

  • qtpylib

    QTPyLib, Pythonic Algorithmic Trading

  • finta

    Common financial technical indicators implemented in Pandas.

    Project mention: looking for a python lib | | 2021-11-17
  • 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:1144.0 | | 2022-02-05
  • algotrading

    Algorithmic trading framework for cryptocurrencies.

    Project mention: algotrading: NEW Extended Research - star count:565.0 | | 2022-05-07
  • optopsy

    A nimble options backtesting library for Python

    Project mention: optopsy: NEW Derivatives and Hedging - star count:560.0 | | 2022-04-23
  • tdameritrade

    Python interface to TD Ameritrade (

  • example-scalping

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

    Project mention: Invite to Alpaca crypto trading beta free link, incase you haven’t got in yet. | | 2021-08-30 - Broken - Broken

  • pyEX

    Python interface to IEX and IEX cloud APIs

  • trading-server

    A multi-asset, multi-strategy, event-driven trade execution and management platform for running many algorithms/bots at many venues simultaneously with unified risk management and reporting. Uses MongoDB for storage and Telegram for user notifications/trade consent.

    Project mention: trading-server: NEW Derivatives and Hedging - star count:331.0 | | 2021-11-08
  • LiuAlgoTrader

    Framework for algorithmic trading

    Project mention: Tear-sheet for trading volatility on two leveraged ETFs using LiuAlgoTrader | | 2021-05-30

    LiuAlgoTrader GitHub repo, Trading bands source code

  • dwx-zeromq-connector

    Wrapper library for algorithmic trading in Python 3, providing DMA/STP access to Darwinex liquidity via a ZeroMQ-enabled MetaTrader Bridge EA.

    Project mention: Python - Metatrader Backtesting | | 2021-09-20

    I'm using zeroMQ for communication. Check this out.

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 2022-05-16.

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 17,353
2 zipline 15,134
3 qlib 8,507
4 Crypto-Signal 3,989
5 jesse 3,883
6 mlfinlab 2,933
7 quant-trading 2,751
8 financial-machine-learning 2,544
9 2,426
10 eiten 2,245
11 quantstats 2,019
12 vectorbt 1,898
13 qtpylib 1,641
14 finta 1,554
15 MachineLearningStocks 1,194
16 algotrading 575
17 optopsy 569
18 tdameritrade 494
19 example-scalping 489
20 pyEX 404
21 trading-server 387
22 LiuAlgoTrader 370
23 dwx-zeromq-connector 295
Find remote jobs at our new job board There are 9 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives