Python trading-algorithms

Open-source Python projects categorized as trading-algorithms

Top 23 Python trading-algorithm Projects

  • awesome-quant

    A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

  • Project mention: RustQuant: A Library for Quantitative Finance | news.ycombinator.com | 2024-02-01

    No, it looks more like a Rust equivalent of libraries like ffn (financial functions for python) or many of the other ones listed here https://github.com/wilsonfreitas/awesome-quant

    Using rust to do exploratory analysis in python seems like a misguided idea. But using rust to productize models that have performance and accuracy sensitivities, the things that C/C++ is still used for, indeed sounds like a good idea.

    Most of the python libraries used in finance, like numpy/pandas, call out to C for performance reasons; the libraries are essentially python bindings + syntax to C functions. It would be interesting to think about replacing that backend with rust.

  • jesse

    An advanced crypto trading bot written in 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
  • 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:4620.0 | /r/algoprojects | 2023-10-28
  • 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.

  • awesome-systematic-trading

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

  • Project mention: Ask HN: How to Get into Quantitative Trading? | news.ycombinator.com | 2024-01-26
  • eiten

    Statistical and Algorithmic Investing Strategies for Everyone

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

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

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

  • algotrading

    Algorithmic trading framework for cryptocurrencies.

  • Project mention: algotrading: NEW Extended Research - star count:858.0 | /r/algoprojects | 2023-06-10
  • AutoTrader

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

  • crypto-rl

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

  • Project mention: crypto-rl: Retrieve limit order book level data from coinbase pro and bitfinex -> record in [arctic](https://github.com/man-group/arctic) timeseries database then implemented trend following strategies (market orders) and market making (limit orders) | /r/algoprojects | 2023-12-10
  • example-hftish

    Example Order Book Imbalance Algorithm

  • Project mention: example-hftish: NEW Extended Research - star count:604.0 | /r/algoprojects | 2023-05-27
  • lumibot

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

  • LiuAlgoTrader

    Framework for algorithmic trading

  • Binance-Futures-Trading-Bot

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

  • py-market-profile

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

  • stock-bot

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

  • wolfinch

    Wolfinch is your friendly trader Bot written in Python

  • Gym-Trading-Env

    A simple, easy, customizable Gymnasium environment for trading.

  • Project mention: Trading Environment for Reinforcement Learning - Documentation available | /r/quant | 2023-04-25

    Documentation | GitHub repo

  • automating-technical-analysis

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

  • Project mention: automating-technical-analysis: NEW Data - star count:117.0 | /r/algoprojects | 2023-06-05
  • trading-strategy

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

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

Index

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

Project Stars
1 awesome-quant 15,910
2 jesse 5,233
3 quant-trading 5,171
4 backtesting.py 4,797
5 pandas-ta 4,732
6 awesome-systematic-trading 2,893
7 eiten 2,655
8 gym-anytrading 2,015
9 surpriver 1,672
10 robin_stocks 1,615
11 algotrading 993
12 AutoTrader 849
13 crypto-rl 799
14 example-hftish 719
15 lumibot 688
16 LiuAlgoTrader 667
17 Binance-Futures-Trading-Bot 491
18 py-market-profile 330
19 stock-bot 284
20 wolfinch 258
21 Gym-Trading-Env 225
22 automating-technical-analysis 216
23 trading-strategy 154

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