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

Trading Python Packages

Python packages with the GitHub topic trading. Sorted by monthly downloads, with stars and forks.
ccxt
ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust

2.4M 44K 9K
alpacahq
alpaca-py

The Official Python SDK for Alpaca API

1.1M 2K 408
bukosabino
ta

Technical Analysis Library using Pandas and Numpy

868K 5K 1K
ib-api-reloaded
ib-async

Python sync/async framework for Interactive Brokers API (replaces ib_insync)

613K 2K 254
erdewit
ib-insync

Python sync/async framework for Interactive Brokers API

537K 3K 865
polygon-io
polygon-api-client

The official Python client library for the Massive.com REST and WebSocket API.

525K 2K 364
nautechsystems
nautilus-trader

Production-grade Rust-native trading engine with deterministic event-driven architecture

406K 30K 4K
polakowo
vectorbt

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

347K 9K 1K
da4089
simplefix

Simple FIX protocol implementation for Python

297K 254 67
massive-com
massive

The official Python client library for the Massive.com REST and WebSocket API.

258K 2K 364
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

183K 9K 2K
mementum
backtrader

Python Backtesting library for trading strategies

170K 23K 5K
alexgolec
schwab-py

Unofficial API wrapper for the Schwab HTTP API

140K 476 129
shner-elmo
tradingview-screener

A package that lets you create TradingView screeners in Python

124K 1K 180
freqtrade
technical

Various indicators developed or collected for the Freqtrade

114K 1K 249
alpacahq
alpaca-trade-api

Python client for Alpaca's trade API

95K 2K 549
marcdemers
py-vollib-vectorized

A vectorized implementation of py_vollib, that supports numpy arrays and pandas Series and DataFrames.

87K 162 40
dcajasn
riskfolio-lib

Portfolio Optimization in Python

84K 5K 718
binance
binance-connector

Simple connector to Binance Public API

81K 3K 708
Sinotrade
shioaji

Shioaji all new cross platform api for trading ( 跨平台證券交易API )

72K 524 41
betcode-org
betfairlightweight

betfairlightweight - Betfair API-NG python wrapper (with streaming)

70K 515 154
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

64K 1K 228
xLydianSoftware
qubx

Framework for quantitative strategies development, backtesting and live execution.

58K 71 18
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
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology