Skip to content
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.7M 45K 9K
alpacahq
alpaca-py

The Official Python SDK for Alpaca API

1.4M 2K 431
bukosabino
ta

Technical Analysis Library using Pandas and Numpy

968K 5K 1K
nautechsystems
nautilus-trader

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

791K 32K 4K
ib-api-reloaded
ib-async

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

748K 2K 262
erdewit
ib-insync

Python sync/async framework for Interactive Brokers API

447K 3K 862
polakowo
vectorbt

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

398K 10K 1K
polygon-io
polygon-api-client

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

337K 2K 363
massive-com
massive

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

248K 2K 363
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

227K 9K 2K
mementum
backtrader

Python Backtesting library for trading strategies

215K 24K 5K
da4089
simplefix

Simple FIX protocol implementation for Python

204K 255 66
alexgolec
schwab-py

Unofficial API wrapper for the Schwab HTTP API

127K 488 129
betcode-org
betfairlightweight

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

106K 514 156
freqtrade
technical

Various indicators developed or collected for the Freqtrade

95K 1K 253
shner-elmo
tradingview-screener

A package that lets you create TradingView screeners in Python

92K 1K 189
dcajasn
riskfolio-lib

Portfolio Optimization in Python

89K 5K 743
Sinotrade
shioaji

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

83K 537 41
alpacahq
alpaca-trade-api

Python client for Alpaca's trade API

83K 2K 546
binance
binance-connector

Simple connector to Binance Public API

74K 3K 720
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
metaapi
metaapi-cloud-sdk

Python SDK for MetaApi, a professional cloud forex trading API for MetaTrader platform which supports both MetaTrader MetaTrader 5 and MetaTrader 4. Free usage tier available.

52K 101 21
openfeed-org
openfeed

Python SDK for Barchart Openfeed

52K 9 0
metaapi
metaapi-cloud-copyfactory-sdk

Python SDK for CopyFactory trade copying API. Can copy trades both between MetaTrader 5 (MT5) and MetaTrader 4 (MT4)

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