Python Trading

Open-source Python projects categorized as Trading

Top 23 Python Trading Projects

  • ccxt

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

  • Project mention: JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024 | dev.to | 2024-04-09

    CCXT

  • vnpy

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

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

    InfluxDB logo
  • 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 https://github.com/mementum/backtrader. 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.

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

    An advanced crypto trading bot written in Python

  • backtesting.py

    :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 backtesting.py 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 150+ Indicators

  • SaaSHub

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

    SaaSHub logo
  • Crypto-Signal

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

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

  • freqtrade-strategies

    Free trading strategies for Freqtrade bot

  • OctoBot

    Open source crypto trading bot

  • cryptofeed

    Cryptocurrency Exchange Websocket Data Feed Handler

  • Project mention: cryptofeed: NEW Data - star count:1876.0 | /r/algoprojects | 2023-10-02
  • gym-anytrading

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

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

  • pycryptobot

    Python Crypto Bot (PyCryptoBot)

  • coinbasepro-python

    The unofficial Python client for the Coinbase Pro API

  • Project mention: Unable to connect to coinbase pro API | /r/CoinBase | 2023-05-21

    I'm trying to set up algo trading through the Blankly Python library. I've generated my Coinbase Pro API keys, but when I try to enter them it always tells me that it failed to connect, and to check to make sure my keys are correct. I'm quite certain that they are, and I made a new set of API keys just in case something was wrong with the first set. I also cannot create an "authenticated client" as described on their readme because the cbpro library is out of date and currently incompatible with blankly.

  • alpaca-trade-api-python

    Python client for Alpaca's trade API

  • surpriver

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

  • Project mention: 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 | /r/algoprojects | 2023-07-08
  • MachineLearningStocks

    Using python and scikit-learn to make stock predictions

  • Project mention: Scikit-learn Stock Prediction: using fundamental and pricing data to predict future stock returns. Sklearn's randomforest classifier is trainded and author claimed positive live trading results. Not actively mainained Other Models - star count:1520.0 | /r/algoprojects | 2023-08-28
  • 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

  • pybroker

    Algorithmic Trading in Python with Machine Learning

  • Project mention: pybroker: NEW Other Models - star count:1362.0 | /r/algoprojects | 2023-12-09
  • nautilus_trader

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

  • Project mention: Is NautilusTrader compatible with MetaTrader5 Python Package? | /r/algotrading | 2023-06-21

    I recently found NautilusTrader. According to NautilusTrader, it can be integrated with Brokers/Exchange that provides REST, WebSocket or FIX API. Not sure if there is a work around to integrate MetaTrader5 Python to NautilusTrader.

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

  • 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
  • tda-api: NEW Derivatives and Hedging - star count:1219.0

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

    1 project | /r/algoprojects | 5 Dec 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 ccxt 31,489
2 vnpy 23,505
3 backtrader 13,139
4 hummingbot 7,354
5 jesse 5,263
6 backtesting.py 4,868
7 pandas-ta 4,804
8 Crypto-Signal 4,728
9 mlfinlab 3,792
10 vectorbt 3,776
11 freqtrade-strategies 3,042
12 OctoBot 2,954
13 cryptofeed 2,090
14 gym-anytrading 2,031
15 blankly 1,979
16 pycryptobot 1,944
17 coinbasepro-python 1,820
18 alpaca-trade-api-python 1,690
19 surpriver 1,703
20 MachineLearningStocks 1,658
21 robin_stocks 1,623
22 pybroker 1,617
23 nautilus_trader 1,588

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com