Skip to content
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.

227K 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

38K 2K 544
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

19K 5K 981
jesse-ai
jesse

An advanced trading bot written in Python

17K 9K 1K
peerchemist
finta

Common financial technical indicators implemented in Pandas.

12K 2K 716
paperswithbacktest
pwb-toolbox

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

8K 84 17
kieran-mackle
autotrader

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

5K 1K 296
Drakkar-Software
octobot-evaluators

Library containing the framework that generates trading signals for OctoBot

4K 9 22
ClementPerroud
gym-trading-env

A simple, easy, customizable Gymnasium environment for trading.

2K 499 101
MerlinR
hexital

Hexital - Incremental Technical Analysis Library

2K 28 5
facioquo
stock-indicators

Stock Indicators for Python. Maintained by @LeeDongGeon1996

2K 406 64
pymargot
margot

An algorithmic trading framework for PyData.

2K 14 7
gbeced
basana

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

2K 877 113
bahadirumutiscimen
siliconmetatrader5

MetaTrader 5 + Python on macOS (Apple Silicon), Linux and your own Linux/Windows VPS. Desktop app, setup wizard, official MetaTrader5 API.

1K 47 21
bfolkens
marketprofile

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

1K 413 133
smalinin
backtrader-next

Python Backtesting library for trading strategies

1K 50 10
taylorwilsdon
quantconnect-mcp

QuantConnect Algorithmic Trading Platform Orchestration MCP - Agentic LLM Driven Trading Strategy Design, Research & Implementation

1K 126 32
quick-trade
quick-trade

Convenient library for trading with python.

1K 23 5
alpacahq
alpaca-backtrader-api

Alpaca Trading API integrated with backtrader

905 706 158
Guitheg
mlcf

MLCF - Machine Learning Toolkit for Cryptocurrency Forecasting

792 5 1
tradingstrategy-ai
trading-strategy

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

698 383 63
btschwertfeger
kraken-rebalance-bot

A rebalance trading bot for the Kraken cryptocurrency exchange.

674 9 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.

665 234 73
dmarienko
qube2

Community version of quantitative backtesting framework

654 13 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology