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

Trading Api Python Packages

Python packages with the GitHub topic trading-api. Sorted by monthly downloads, with stars and forks.
da4089
simplefix

Simple FIX protocol implementation for Python

297K 254 67
Sinotrade
shioaji

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

72K 524 41
jmfernandes
robin-stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at

44K 2K 549
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
btschwertfeger
python-kraken-sdk

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

30K 87 32
ericsomdahl
python-bittrex

Python bindings for bittrex

21K 576 269
PLUG-OpenAPI
nhplug

NH투자증권 PLUG Open API 파이썬 SDK — 샘플·종목마스터 파서·AI 규칙 (나무·N2 공용)

16K 14 2
pg56714
dcex

Rust-backed Python/Rust library for low-latency cross-exchange crypto HTTP, WebSocket, and trading APIs.

8K 3 0
5paisa
py5paisa

Official Python SDK for 5paisa APIs natively written in VB .NET

7K 108 86
Synpath-ai
synpath

One open-source API for prediction markets. Trade Kalshi, Polymarket, Polymarket US and Opinion with one Python SDK: unified market data, smart order routing across venues, and advanced order types. Plus tick-level Kalshi order book history.

6K 127 16
otcharts
otcharts

Free Pocket Option, Quotex & IQ Option OTC market-data API: candles, live prices and payouts as JSON. No SSID, no broker login. Python client.

2K 1 0
ashpipe
easyib

Python wrapper for Interactive Brokers Client Portal Web API

1K 111 26
quiknode-labs
hyperliquid-sdk

Hyperliquid SDK

1K 290 9
Tim55667757
tksbrokerapi

TKSBrokerAPI is the trading platform for automation and simplifying the implementation of trading scenarios, as well as working with Tinkoff Invest API server via the REST protocol. The TKSBrokerAPI platform may be used in two ways: from the console, it has a rich keys and commands, or you can use it as Python module. Developers blog (ru):

1K 38 9
Jaeminyx-Stoa
pydbsec

Python wrapper for DB Securities (DB증권) OpenAPI — 국내/해외 주식 잔고, 시세, 매수/매도, 차트 조회

1K 3 0
stephus182
ibkr-core-mcp

Interactive Brokers from Python, end to end: complete Client Portal Web API connectivity (78 endpoints, REST + WebSocket, Docker gateway), market and historical data management with a Google Drive cloud cache, Flex statements, 44 Claude tools + MCP server for any Python or MCP client, backtests and analytics — orders behind Touch ID + confirmation.

973 4 0
shanefontaine
uniswap-python

🦄 The unofficial Python client for the Uniswap exchange.

944 1K 373
unohee
kis-agent

한국투자증권 OpenAPI Python 래퍼 — CLI · Python SDK · LLM Agent · 실시간 WebSocket. 문서: unohee.github.io/kis-agent

790 52 15
aaronmgn
stonepy

Typed Python client for the StoneX / City Index (CIAPI) v2 trading API

703 0 0
Alx90s
tickstream

Python client for the tickstream API — real-time and historical CME futures, options chains, Greeks and dealer gamma.

572 0 0
FXapis
fxapis

Official Python SDK for fxapis, the hosted MetaTrader 5 REST API. Sync and async clients, fully typed, automatic idempotency, typed exceptions. Trade MT5 accounts from code: market/pending orders, positions, history, multi-account orders.

559 0 0
krishnavelu
alice-blue

Official Python library for Alice Blue API trading

549 135 79
FinamWeb
finam-mcp-server

Finam MCP Server

477 11 9
a10102010
north7

Financial intelligence API for autonomous AI agents. Real-time trading signals, risk assessment, regime detection, and supply chain risk analysis.

471 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology