PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Trading Python Packages

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

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

3.9M 42K 9K
alpacahq
alpaca-py

The Official Python SDK for Alpaca API

1.2M 1K 352
alpacahq
alpaca-trade-api

Python client for Alpaca's trade API

1M 2K 552
bukosabino
ta

Technical Analysis Library using Pandas and Numpy

815K 5K 1K
da4089
simplefix

Simple FIX protocol implementation for Python

609K 255 66
polygon-io
polygon-api-client

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

585K 1K 351
erdewit
ib-insync

Python sync/async framework for Interactive Brokers API

520K 3K 866
polakowo
vectorbt

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

380K 7K 944
mementum
backtrader

Python Backtesting library for trading strategies

267K 21K 5K
ib-api-reloaded
ib-async

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

247K 2K 223
massive-com
massive

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

223K 1K 351
freqtrade
technical

Various indicators developed or collected for the Freqtrade

199K 998 243
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

199K 8K 1K
nautechsystems
nautilus-trader

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

154K 22K 3K
shner-elmo
tradingview-screener

A package that lets you create TradingView screeners in Python

145K 931 138
binance
binance-connector

Simple connector to Binance Public API

141K 3K 677
alexgolec
schwab-py

Unofficial API wrapper for the Schwab HTTP API

97K 413 120
betcode-org
betfairlightweight

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

87K 499 153
dcajasn
riskfolio-lib

Portfolio Optimization and Quantitative Strategic Asset Allocation in Python

85K 4K 653
btschwertfeger
python-kraken-sdk

Command-line tool and SDK to access the Kraken Crypto Asset Exchange API (Spot, xStocks, and Futures, REST and Websocket API)

79K 81 30
Sinotrade
shioaji

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

70K 426 31
Lumiwealth
lumibot

Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more. Lumibot also makes it very easy to run and backtest agentic AI trading strategies in a safer way.

66K 1K 276
xLydianSoftware
qubx

Framework for quantitative strategies development, backtesting and live execution.

64K 68 15
binance
binance-futures-connector

Simple python connector to Binance Futures API

62K 1K 322
    • Data from PyPI, GitHub, ClickHouse, and BigQuery