Top 23 trading-strategy Open-Source Projects

  • awesome-quant

    A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

    Project mention: Why building profitable trading bot is hard? | | 2022-05-22

    If the financial analyst does not have a (possibly piecewise) software function to at least test with backtesting and paper trading, do they even have an objective relative performance statistic? Your notebook or better should also model fees and have a parametrizable initial balance.

    Here's the awesome-quant link directory:

  • Lean

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

    Project mention: Rant about candles | | 2022-11-22

    I can plot OHCL lines, I can plot OHCL scatter points on the chart, why can't I plot candles? It's just those scatter points put together. This thing has been going on for 8 YEARS.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • machine-learning-for-trading

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

    Project mention: How to become quant from cs | | 2022-10-29
  • 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:5325.0 | | 2022-12-31
  • 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:3509.0 | | 2022-12-10
  • 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.


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

    Project mention: Where/how do I “import backtesting” and other programs? TY! | | 2023-01-02

    But even if you don't know that, you can Google the library to find its documentation and installation instructions - in this case, here where it does indeed tell you to run pip install backtesting.

  • financial-machine-learning

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

    Project mention: financial-machine-learning: NEW Other Models - star count:2967.0 | | 2022-11-19
  • 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: How to turn your Raspberry Pi, or any computer for that matter, into a little money-making machine trading Bitcoin with open-source software | | 2023-01-20

    If you followed the previous recommendation to learn the platform on a full-sized computer, now is the right time to set up your RPI. You will install the same dependencies and the platform following the same instructions you followed originally. Notice that there are specific instructions and commands to install Node.JS and Git under the title Linux (e.g. Ubuntu, or Raspberry Pi running Raspberry Pi OS/Raspbian) Pre-Requisites. You may, of course, reuse the Github fork and token you created during the first installation.

  • PyThalesians

    Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)

    Project mention: Best Backtesting Libraries (Python) | | 2022-03-04

    finmarketpy – finmarketpy is a Python based library that enables you to analyze market data and also to backtest trading strategies using a simple to use API, which has pre-built templates for you to define backtest.

  • 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:2889.0 | | 2022-11-12
  • crypto-trading-bot

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

    Project mention: Open source? | | 2022-03-14

  • 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

  • freqtrade-strategies

    Free trading strategies for Freqtrade bot

  • zvt

    modular quant framework.

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

    C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage

    Project mention: Update on C++ DataFrame fir data analysis | | 2023-01-31
  • ta4j

    A Java library for technical analysis.

    Project mention: Ta4j is an open source Java library for technical analysis | | 2022-02-25
  • gs-quant

    Python toolkit for quantitative finance

    Project mention: Do banks and hedge funds use their own backtesters or pre-built libraries? | | 2023-01-18
  • Awesome-Quant-Machine-Learning-Trading

    Quant/Algorithm trading resources with an emphasis on Machine Learning

    Project mention: Awesome-Quant-Machine-Learning-Trading: curated list of books/online courses/youtube videos/blogs/interviews/papers/code etc. Updates are pretty infrequent Other Models - star count:1677.0 | | 2023-01-14
  • machine-learning-asset-management

    Machine Learning in Asset Management (by @firmai)

  • blankly

    🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.

    Project mention: Unified Quant Ecosystem | | 2022-09-21

    Looks interesting.

    I recently came across this newer platform Blankly with similar goals, it has great docs and easy to get started

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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-01-31.

trading-strategies related posts


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

Project Stars
1 awesome-quant 11,461
2 Lean 7,037
3 machine-learning-for-trading 6,691
4 StockSharp 5,420
5 jesse 4,432
6 Crypto-Signal 4,263
7 quant-trading 3,682
8 3,223
9 financial-machine-learning 3,143
10 Superalgos 3,141
11 PyThalesians 3,047
12 Krypto-trading-bot 2,949
13 crypto-trading-bot 2,695
14 vectorbt 2,537
15 eiten 2,466
16 freqtrade-strategies 2,394
17 zvt 2,321
18 DataFrame 1,741
19 ta4j 1,687
20 gs-quant 1,648
21 Awesome-Quant-Machine-Learning-Trading 1,647
22 machine-learning-asset-management 1,444
23 blankly 1,420
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives