Python Trading

Open-source Python projects categorized as Trading

Top 23 Python Trading Projects

  1. ccxt

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

    Project mention: 13 GitHub Projects Revolutionizing AI, Data Analysis, and DevOps 🚀 | dev.to | 2025-02-24

    Stars: 34766 Author: ccxt Star the ccxt repository⭐

  2. 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
  3. vnpy

    基于Python的开源量化交易平台开发框架

  4. backtrader

    Python Backtesting library for trading strategies

  5. hummingbot

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

  6. 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
  7. pandas-ta

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

  8. Crypto-Signal

    Github.com/CryptoSignal - Trading & Technical Analysis Bot - 4,100+ stars, 1,100+ forks

  9. SaaSHub

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

    SaaSHub logo
  10. vectorbt

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

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

    A high-performance algorithmic trading platform and event-driven backtester

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

  13. freqtrade-strategies

    Free trading strategies for Freqtrade bot

  14. OctoBot

    Open source crypto trading bot to automate crypto investments with ease.

    Project mention: Creating a ChatGPT crypto trading bot | dev.to | 2024-05-26

    Special thanks to www.octobot.cloud and their open source bot where I found this trick. It looks like they are already using for some of their strategies and it seems to work pretty well.

  15. cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

  16. pybroker

    Algorithmic Trading in Python with Machine Learning

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

  18. gym-anytrading

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

  19. pycryptobot

    Python Crypto Bot (PyCryptoBot)

  20. coinbasepro-python

    The unofficial Python client for the Coinbase Pro API

  21. MachineLearningStocks

    Using python and scikit-learn to make stock predictions

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

  23. surpriver

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

  24. alpaca-trade-api-python

    Python client for Alpaca's trade API

  25. volatility-trading

    A complete set of volatility estimators based on Euan Sinclair's Volatility Trading

  26. SaaSHub

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

    SaaSHub 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 discussion

Log in or Post with

Python Trading related posts

  • Show HN: High-Frequency Trading and Market-Making Backtesting Tool with Examples

    6 projects | news.ycombinator.com | 21 Jun 2024
  • Creating a ChatGPT crypto trading bot

    2 projects | dev.to | 26 May 2024
  • tda-api: NEW Derivatives and Hedging - star count:1219.0

    1 project | /r/algoprojects | 9 Dec 2023
  • tda-api: NEW Derivatives and Hedging - star count:1219.0

    1 project | /r/algoprojects | 8 Dec 2023
  • tda-api: NEW Derivatives and Hedging - star count:1219.0

    1 project | /r/algoprojects | 7 Dec 2023
  • tda-api: NEW Derivatives and Hedging - star count:1219.0

    1 project | /r/algoprojects | 7 Dec 2023
  • Direction Of The Stock Market

    1 project | /r/StockMarket | 6 Dec 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Mar 2025
    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. Learn more →

Index

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

# Project Stars
1 ccxt 35,062
2 vnpy 28,043
3 backtrader 16,365
4 hummingbot 11,924
5 backtesting.py 6,096
6 pandas-ta 5,889
7 Crypto-Signal 5,103
8 vectorbt 4,896
9 nautilus_trader 4,694
10 mlfinlab 4,009
11 freqtrade-strategies 3,914
12 OctoBot 3,850
13 cryptofeed 2,369
14 pybroker 2,326
15 blankly 2,247
16 gym-anytrading 2,227
17 pycryptobot 2,013
18 coinbasepro-python 1,832
19 MachineLearningStocks 1,826
20 robin_stocks 1,817
21 surpriver 1,799
22 alpaca-trade-api-python 1,773
23 volatility-trading 1,656

Sponsored
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.ai