Skip to content
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.4M 2K 431
polakowo
vectorbt

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

398K 10K 1K
ranaroussi
quantstats

Portfolio analytics for quants, written in Python

257K 8K 1K
kernc
backtesting

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

227K 9K 2K
pyportfolio
pyportfolioopt

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

166K 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.

104K 415 195
pynesys
pynesys-pynecore

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

92K 286 86
freqtrade
freqtrade

Free, open source crypto trading bot

79K 57K 12K
freqtrade
freqtrade-client

Free, open source crypto trading bot

75K 57K 12K
JerBouma
financetoolkit

Transparent and Efficient Financial Analysis

65K 6K 656
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

58K 1K 374
Lumiwealth
lumibot

Python trading framework with AI agents that actually place the trade. Backtest, paper and live trade on 12 brokers: stocks, options, futures, forex, crypto and prediction markets.

47K 2K 439
marketcalls
openscript

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

35K 19 10
jordantete
grid-trading-bot

πŸ€– Open-source cryptocurrency trading bot designed to perform grid trading strategies using historical data for backtesting

28K 153 62
crisis789
aster-trading-bot

Production-oriented trading bot framework for Aster DEX USDT-margined futures. EIP-712 signed FAPI V3, risk management (stop-loss/timeout/cooldown), anti-wick MARK_PRICE protection, WebSocket account monitor, RSI/Bollinger/EMA example strategies, MIT.

28K 0 0
rundef
async-rithmic

Python async framework for Rithmic Protocol Buffer API

25K 136 29
ml4t
ml4t-specs

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

25K 7 8
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

24K 2K 231
Mattbusel
fin-primitives

One RSI, not three. 700+ trading indicators matched to TA-Lib, exact decimal prices, order book, Greeks and risk limits. Rust, with Python wheels.

22K 19 2
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
ml4t
ml4t-engineer

Feature engineering, labeling, alternative bars, and leakage-safe datasets for financial ML.

14K 34 21
HKUDS
vibe-trading-ai

"Vibe-Trading: Your Personal Trading Agent"

13K 39K 6K
longsizhuo
openinvest

Research-grade investment decision engine for AI agents: isolated multi-agent committee, auditable verdicts, backtests with lookahead protection, published negative results

13K 144 21
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology