Python trading-strategies

Open-source Python projects categorized as trading-strategies

Top 23 Python trading-strategy 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:

  • 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

    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.

  • 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

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

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

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

  • MoniGoMani

    Isn't that what we all want? Our money to go many? Well that's what this framework/strategy hopes to do for you! By giving you & HyperOpt a lot of signals to alter the weights from.

  • AlphaPy

    Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost

    Project mention: Monte Carlo Simulator feature request. | | 2023-01-26
  • 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
  • TradingView-Machine-Learning-GUI

    Let Python optimize the best stop loss and take profits for your TradingView strategy.

    Project mention: TradingView-Machine-Learning-GUI: NEW Other Models - star count:470.0 | | 2023-01-14
  • LiuAlgoTrader

    Framework for algorithmic trading

  • lumibot

    Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more

    Project mention: lumibot: NEW Derivatives and Hedging - star count:314.0 | | 2023-02-03
  • Binance-Futures-Bot

    A Technical Analysis Bot that trades leveraged USDT futures markets on Binance.

  • qf-lib

    Modular Python library that provides an advanced event driven backtester and a set of high quality tools for quantitative finance. Integrated with various data vendors and brokers, supports Crypto, Stocks and Futures.

    Project mention: qf-lib: NEW Data - star count:227.0 | | 2022-10-08
  • py-market-profile

    A library to calculate Market Profile (aka Volume Profile) for financial data from a Pandas DataFrame.

    Project mention: py-market-profile: NEW Data - star count:247.0 | | 2022-12-20
  • awesome-systematic-trading

    A curated list of awesome libraries, packages, strategies, books, blogs, tutorials for systematic trading. (by edarchimbaud)

    Project mention: awesome-systematic-trading: NEW Alternative Finance - star count:99.0 | | 2022-12-03
  • FAIG

    Fully Automated IG Trading

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

Python trading-strategies related posts


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

Project Stars
1 awesome-quant 11,461
2 jesse 4,432
3 Crypto-Signal 4,263
4 quant-trading 3,682
5 3,223
6 financial-machine-learning 3,143
7 PyThalesians 3,047
8 vectorbt 2,537
9 eiten 2,466
10 freqtrade-strategies 2,394
11 zvt 2,321
12 blankly 1,420
13 MoniGoMani 976
14 AlphaPy 845
15 AutoTrader 506
16 TradingView-Machine-Learning-GUI 479
17 LiuAlgoTrader 477
18 lumibot 314
19 Binance-Futures-Bot 290
20 qf-lib 276
21 py-market-profile 242
22 awesome-systematic-trading 135
23 FAIG 133
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives