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

Algorithmic Trading Python Packages

Python packages with the GitHub topic algorithmic-trading. Sorted by relevance, with stars and monthly downloads.
alpacahq
alpaca-py

The Official Python SDK for Alpaca API

1.5M 1K 353
polakowo
vectorbt

The backtesting engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

441K 8K 972
ranaroussi
quantstats

Portfolio analytics for quants, written in Python

288K 7K 1K
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

186K 8K 1K
pyportfolio
pyportfolioopt

Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity

165K 6K 1K
Lumiwealth
lumibot

Backtestable AI trading agents and algorithmic trading strategies for stocks, options, crypto, futures, forex, SEC filings, macro data, and real brokers.

78K 2K 300
pkjmesra
pkscreener

A Python-based stock screener for NSE, India. PKScreener is an advanced free stock screener to find potential breakout stocks from NSE and show its possible breakout values. It also helps to find the stocks which are consolidating and may breakout, or the particular chart patterns that you're looking specifically to make your decisions.

75K 351 154
freqtrade
freqtrade

Free, open source crypto trading bot

57K 50K 11K
freqtrade
freqtrade-client

Free, open source crypto trading bot

51K 50K 11K
quantbelt
ib-fundamental

Interactive Brokers Fundamental data for humans

35K 107 21
alpacahq
alpaca-mcp-server

Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs

32K 747 227
jesse-ai
jesse

An advanced crypto trading bot written in Python

26K 8K 1K
rundef
async-rithmic

Python async framework for Rithmic Protocol Buffer API

23K 95 22
peerchemist
finta

Common financial technical indicators implemented in Pandas.

22K 2K 711
nkaz001
pm-hbtbacktest

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

20K 4K 788
HKUDS
vibe-trading-ai

"Vibe-Trading: Your Personal Trading Agent"

16K 7K 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 4K 788
FLOX-Foundation
flox-py

Modular framework for building trading systems with polyglot strategy bindings and AI-friendly developer tools.

10K 202 38
ArshKA
pykalshi

Unofficial Python client for Kalshi's prediction markets API

9K 92 17
AI4Finance-Foundation
finrl

FinRL®: Financial Reinforcement Learning. 🔥

8K 15K 3K
kieran-mackle
autotrader

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

6K 1K 296
tradingexpert
ordersim

Inspectable, deterministic Python execution simulator for replaying real order-book data

5K 0 0
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

5K 1K 202
smalinin
backtrader-next

Python Backtesting library for trading strategies

5K 36 7
    • Data from PyPI, GitHub, ClickHouse, and BigQuery