Top 23 Trading Open-Source Projects

  • ccxt

    A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges

    Project mention: Crypto Trading Bot API workaround | /r/learnpython | 2023-12-08

    I would sincerely advise you to use a ready to use python library for this like

  • vnpy


  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • backtrader

    Python Backtesting library for trading strategies

    Project mention: [HIRING] Develop template code for crypto backtesting using backtrader | /r/Jobs4Bitcoins_OG | 2023-07-08

    You need to create a template code using 1. Get the 1m candlestick data from binance for a period of 1 month for two symbols and store it in a data folder with data for each day and symbol in a different csv file. Read data for the symbols BTC & ETH. 2. Read the data for 1 month in python and put it in a dataframe for each symbol. 3. Import backtrader and feed data for these two symbols. 4. Create a basic strategy to check the ratio of prices and take trades accordingly. 5. Get the results using library. I am not much interested in the trading logic, just want to get the system to backtest up. It's a straightforward task for someone who has used backtrader before or 30-min job to read the documentation and do it. Project compensation : 5$ Can transfer directly to your binance account.

  • machine-learning-for-trading

    Code for Machine Learning for Algorithmic Trading, 2nd edition.

    Project mention: Machine Learning for Trading: Notebooks, resources and references accompanying the book Machine Learning for Algorithmic Trading. Courses - star count:10678.0 | /r/algoprojects | 2023-11-20
  • Lean

    Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

    Project mention: What Happened to Quantconnect? | /r/algotrading | 2023-05-18

    6.) You cant maximize position size of spread options strategies, LEAN always assumes naked margin first and ON THE NEXT DATA FRAME - you get your reg-t margin for spreads. We're running into 2 years of this issue being reported.

  • hummingbot

    Open source software that helps you create and deploy high-frequency crypto trading bots

    Project mention: hummingbot: NEW Extended Research - star count:6122.0 | /r/algoprojects | 2023-08-06
  • StockSharp

    Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

    Project mention: StockSharp: NEW Derivatives and Hedging - star count:6089.0 | /r/algoprojects | 2023-11-10
  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • jesse

    An advanced crypto trading bot written in Python

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


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

    Project mention: Python developers -- what broker and api do you use? | /r/algotrading | 2023-06-08

    We chose for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.

  • pandas-ta

    Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators

    Project mention: Help recreating ta-lib python MACDFIX in pure python | /r/algotrading | 2023-05-03

    I do not know what is the difference between MACD and MACDFIX but maybe you can take a look how MACD is implemented in pandas_ta library and modify it a bit to achive a behavior you want.

  • ta

    Technical Analysis Library using Pandas and Numpy

  • tribeca

    A high frequency, market making cryptocurrency trading platform in node.js

    Project mention: tribeca: NEW Extended Research - star count:3902.0 | /r/algoprojects | 2023-12-10
  • Superalgos

    Free, open-source crypto trading bot, automated bitcoin / cryptocurrency trading software, algorithmic trading bots. Visually design your crypto trading bot, leveraging an integrated charting system, data-mining, backtesting, paper trading, and multi-server crypto bot deployments.

    Project mention: Superalgos: NEW Data - star count:3568.0 | /r/algoprojects | 2023-10-28
  • 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 | /r/algoprojects | 2023-11-21
  • vectorbt

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

  • ghostfolio

    Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

    Project mention: Hacktoberfest 2023 with Ghostfolio | | 2023-09-26

    At Ghostfolio, we are very excited to participate in Hacktoberfest for the second time, looking forward to connecting with new and enthusiastic open-source contributors. Hacktoberfest is a month-long celebration of open-source projects, their maintainers, and the entire community of contributors. Each October, open source maintainers from all over the world give extra attention to new contributors while guiding them through their first pull requests on GitHub. This year the event celebrates its 10th anniversary.

  • Krypto-trading-bot

    Self-hosted crypto trading bot (automated high frequency market making) written in C++

    Project mention: Krypto-trading-bot: NEW Extended Research - star count:3058.0 | /r/algoprojects | 2023-07-01
  • wondertrader


    Project mention: wondertrader: NEW Extended Research - star count:2767.0 | /r/algoprojects | 2023-10-24
  • crypto-trading-bot

    Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, Bybit ... (public edition)

  • freqtrade-strategies

    Free trading strategies for Freqtrade bot

  • OctoBot

    Open source crypto trading bot

  • ib_insync

    Python sync/async framework for Interactive Brokers API

    Project mention: IBKR Trading | /r/algorithmictrading | 2023-05-12
  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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-12-10.

Trading related posts


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

Project Stars
1 ccxt 30,459
2 vnpy 22,898
3 backtrader 12,532
4 machine-learning-for-trading 11,368
5 Lean 8,436
6 hummingbot 6,916
7 StockSharp 6,398
8 jesse 5,078
9 Crypto-Signal 4,628
10 4,563
11 pandas-ta 4,503
12 ta 3,946
13 tribeca 3,898
14 Superalgos 3,705
15 mlfinlab 3,687
16 vectorbt 3,578
17 ghostfolio 3,252
18 Krypto-trading-bot 3,173
19 wondertrader 3,170
20 crypto-trading-bot 2,959
21 freqtrade-strategies 2,882
22 OctoBot 2,660
23 ib_insync 2,593
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.