PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Trading Algorithms Python Packages

Python packages with the GitHub topic trading-algorithms. Sorted by monthly downloads, with stars and forks.
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

183K 9K 2K
jmfernandes
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

44K 2K 549
jesse-ai
jesse

An advanced crypto trading bot written in Python

15K 9K 1K
nkaz001
hftbacktest

Free, open source, a high frequency trading and market making backtesting and trading bot, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books(Level-2 and Level-3), with real-world crypto trading examples for Binance and Bybit

12K 5K 926
peerchemist
finta

Common financial technical indicators implemented in Pandas.

10K 2K 715
smalinin
backtrader-next

Python Backtesting library for trading strategies

5K 48 10
Drakkar-Software
octobot-evaluators

Library containing the framework that generates trading signals for OctoBot

4K 9 22
kieran-mackle
autotrader

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

3K 1K 298
tradingstrategy-ai
trading-strategy

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

2K 376 64
facioquo
stock-indicators

Stock Indicators for Python. Maintained by @LeeDongGeon1996

2K 402 63
bfolkens
marketprofile

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

2K 408 134
MerlinR
hexital

Hexital - Incremental Technical Analysis Library

1K 27 5
quick-trade
quick-trade

Convenient library for trading with python.

1K 23 5
pymargot
margot

An algorithmic trading framework for pydata.

1K 14 7
gbeced
basana

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

1K 871 113
ClementPerroud
gym-trading-env

A simple, easy, customizable Gymnasium environment for trading.

896 498 104
alpacahq
alpaca-backtrader-api

Alpaca Trading API integrated with backtrader

757 703 160
paperswithbacktest
pwb-toolbox

The toolbox for developing systematic trading strategies. It includes datasets and strategy ideas to assist in developing and backtesting trading algorithms.

739 79 15
dmarienko
qube2

Community version of quantitative backtesting framework

635 12 4
artrdon
dquant

DQuant is an open-source Python library for automated volatility forecasting of financial time series.

579 6 1
maxheltzel
marketquant

MarketQuant, created by Max Heltzel at Florida Gulf Coast University, is a flexible framework for building financial analysis tools, strategies, quantitative algorithms, or whatever you envision. I encourage innovation and collaboration—so feel free to contribute!

553 1 0
btschwertfeger
kraken-rebalance-bot

Rebalance Spot Trading Bot for the Kraken Cryptocurrency Exchange

509 9 1
Guitheg
mlcf

MLCF - Machine Learning Toolkit for Cryptocurrency Forecasting

448 5 1
WISEPLAT
backtrader-binance

Binance API integration with Backtrader. Run strategies for Backtest and Live Trading. Get historical price data for Bitcoin, Ethereum and all coins from Binance. EASY create your strategies.

355 231 76
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology