Alpaca-py (Alpaca Python SDK)
The Official Python SDK for Alpaca API observed · 2026-10-07
Health v2 · maintenance only
96/100
- Activity 98
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 1704
- days_rel: 70
- days_push: 14
- n_releases_24m: 28
Adoption not part of the score
1544 stars · 409 forks observed · 2026-10-07
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Python SDK for Alpaca's commission-free trading APIs, providing REST and WebSocket/SSE interfaces for trading, account management, and streaming market data (stocks, crypto, options). It supersedes the deprecated alpaca-trade-api-python package and supports building algorithmic trading strategies and brokerage applications.
Use cases
- build algorithmic trading bots in python
- stream real-time stock market data
- place and manage stock orders via api
- fetch historical crypto and stock price data
- manage a brokerage portfolio programmatically
- paper trade strategies before going live
When to choose
- you want the official, actively maintained Alpaca SDK
- you need trading plus market data (stocks, crypto, options) in one library
- you're starting a new Alpaca integration in Python
When to avoid
- you maintain legacy code on the deprecated alpaca-trade-api package and can't migrate yet
- you need a broker other than Alpaca
- you need a non-Python language SDK
Facets
library · maturity active
http-client websocket sdk trading fintech apis developer-tools python cli alpaca stock-market algorithmic-trading market-data rest-api brokerage-api crypto-trading cryptocurrency
4 sources
- readme: https://github.com/alpacahq/alpaca-py · fetched 2026-10-07 · f3757d3eb362
- homepage: https://alpaca.markets/sdks/python/getting_started.html · fetched 2026-08-29 · 2218a654560c
- site_page: https://alpaca.markets/docs · fetched 2026-08-29 · 10e61ad86a74
- registry_pypi: https://pypi.org/pypi/alpaca-py/json · fetched 2026-08-29 · 8281f8092e3b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alpacahq/alpaca-py | main | 96 |
| alpacahq/alpaca-trade-api-python | mirror | 10 |
For agents
markdown · JSON · MCP: product_card(name="alpacahq/alpaca-py")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem