Python trading-algorithms

Open-source Python projects categorized as trading-algorithms

Top 23 Python trading-algorithm Projects

trading-algorithms
  1. 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

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. backtesting.py

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

    Project mention: Show HN: High-Frequency Trading and Market-Making Backtesting Tool with Examples | news.ycombinator.com | 2024-06-21
  4. pandas-ta

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

  5. awesome-systematic-trading

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

  6. eiten

    Statistical and Algorithmic Investing Strategies for Everyone

  7. gym-anytrading

    The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

  8. robin_stocks

    This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. surpriver

    Find big moving stocks before they move using machine learning and anomaly detection

  11. algotrading

    Algorithmic trading framework for cryptocurrencies.

  12. AutoTrader

    A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

  13. lumibot

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

  14. crypto-rl

    Deep Reinforcement Learning toolkit: record and replay cryptocurrency limit order book data & train a DDQN agent

  15. LiuAlgoTrader

    Framework for algorithmic trading

  16. example-hftish

    Example Order Book Imbalance Algorithm

  17. basana

    A Python async and event driven framework for algorithmic trading, with a focus on crypto currencies.

  18. Binance-Futures-Trading-Bot

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

  19. Gym-Trading-Env

    A simple, easy, customizable Gymnasium environment for trading.

  20. py-market-profile

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

  21. automating-technical-analysis

    Using data analytics alongside popular trading strategies and indicators, to identify best trading actions based solely on the price action.

  22. stock-bot

    An application that allows you to design and test your own stock trading algorithms in an attempt to beat the market.

  23. trading-strategy

    Python framework for quantitative financial analysis and trading algorithms on decentralised exchanges

  24. wolfinch

    Wolfinch is your friendly trader Bot written in Python

  25. stockbot

    Alpaca algo stock trading bot

  26. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
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).

Python trading-algorithms discussion

Log in or Post with

Python trading-algorithms related posts

  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 8 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 7 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 6 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 5 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 4 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 3 Jul 2023
  • surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us

    1 project | /r/algoprojects | 2 Jul 2023
  • A note from our sponsor - InfluxDB
    influxdata.com | 23 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Index

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

# Project Stars
1 quant-trading 6,618
2 backtesting.py 6,329
3 pandas-ta 6,027
4 awesome-systematic-trading 5,100
5 eiten 2,889
6 gym-anytrading 2,227
7 robin_stocks 1,834
8 surpriver 1,799
9 algotrading 1,255
10 AutoTrader 1,097
11 lumibot 989
12 crypto-rl 887
13 LiuAlgoTrader 803
14 example-hftish 775
15 basana 707
16 Binance-Futures-Trading-Bot 601
17 Gym-Trading-Env 404
18 py-market-profile 364
19 automating-technical-analysis 296
20 stock-bot 293
21 trading-strategy 286
22 wolfinch 270
23 stockbot 175

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?