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的开源量化交易平台开发框架

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS 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

  • Project mention: Help recreating ta-lib python MACDFIX in pure python | /r/algotrading | 2023-05-03

    I do not know what is the difference between MACD and MACDFIX but maybe you can take a look how MACD is implemented in pandas_ta library and modify it a bit to achive a behavior you want.

  • 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
  • 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
  • Binance-News-Sentiment-Bot

    This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.

  • 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). The latest post mention was on 2024-04-09.

Python Trading related posts

Index

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

Project Stars
1 ccxt 31,291
2 vnpy 23,344
3 backtrader 12,922
4 hummingbot 7,238
5 jesse 5,218
6 backtesting.py 4,797
7 pandas-ta 4,708
8 Crypto-Signal 4,700
9 mlfinlab 3,763
10 vectorbt 3,711
11 freqtrade-strategies 3,001
12 OctoBot 2,873
13 cryptofeed 2,062
14 gym-anytrading 2,011
15 blankly 1,967
16 pycryptobot 1,937
17 coinbasepro-python 1,815
18 alpaca-trade-api-python 1,683
19 surpriver 1,672
20 MachineLearningStocks 1,642
21 robin_stocks 1,615
22 pybroker 1,580
23 Binance-News-Sentiment-Bot 1,557
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com