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

Algorithmic Trading Python Packages

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

The Official Python SDK for Alpaca API

1.1M 2K 408
ranaroussi
quantstats

Portfolio analytics for quants, written in Python

543K 8K 1K
polakowo
vectorbt

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

347K 9K 1K
kernc
backtesting

πŸ”Ž πŸ“ˆ 🐍 πŸ’° Backtest trading strategies in Python.

183K 9K 2K
pyportfolio
pyportfolioopt

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

135K 6K 1K
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.

97K 399 184
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

64K 1K 228
freqtrade
freqtrade-client

Free, open source crypto trading bot

53K 55K 11K
freqtrade
freqtrade

Free, open source crypto trading bot

50K 55K 11K
varrdinc
varrd

AI-powered trading research platform. Test any idea on stocks, futures, and crypto with event studies, backtesting, and statistical validation. MCP server with 8 tools. pip install varrd.

49K 24 6
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

44K 1K 335
NeoZorK
monte-neo

Independent verifier for trading strategies written by AI agents and humans: catches look-ahead bias, hidden costs and overfitting. MCP server, CLI, GitHub Action, signed certificates.

43K 8 0
pynesys
pynesys-pynecore

Pine Script-compatible Python runtime for indicators and strategies, validated against TradingView on real published scripts

31K 229 67
Lumiwealth
lumibot

AI agents that actually place the trade. 12 brokers, real backtests, stocks options futures forex crypto and prediction markets.

26K 2K 412
eminsk
yfinance-ta-patterns

Institutional-grade Candlestick & Chart Pattern Scanner with AI Confluence Scoring, Backtesting, Native MCP Server, No-GIL (3.13t-3.16t) & PyPy (3.8-3.12)

18K 1 1
ml4t
ml4t-specs

Serializable, runtime-neutral contracts for market data, artifacts, strategy lifecycles, and execution across ML4T libraries.

15K 3 8
jesse-ai
jesse

An advanced crypto trading bot written in Python

15K 9K 1K
rundef
async-rithmic

Python async framework for Rithmic Protocol Buffer API

15K 122 27
marketcalls
openscript

An open trading language. Write a study or a strategy once, plot it, backtest it, trade it.

14K 16 6
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
ml4t
ml4t-backtest

Event-driven backtesting for quantitative strategies with configurable execution, accounting, risk, and framework-parity validation.

12K 31 24
ml4t
ml4t-diagnostic

Signal diagnostics, statistical validation, and backtest evaluation for quantitative trading workflows.

12K 34 21
londonstrategicedge
lse-data

Live and historical market data for: Stocks, FX, crypto, commodities, indices and ETFs over WebSocket and REST.

11K 279 43
zvtvz
zvt

modular quant framework.

11K 4K 1K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology