alpacahq/alpaca-py
The Official Python SDK for Alpaca API
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
1 release in the last 90 days, the latest 78 days ago, with 64 contributors on GitHub.
Gained 13% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides a Python SDK to interact with Alpaca's trading, market data, and brokerage APIs for stocks, crypto, and options.
- Offers a comprehensive, object-oriented interface with data validation and multiple specialized clients for different asset classes.
- Use for building algorithmic trading strategies with fast order execution and historical market data access.
- Use for developing full brokerage applications including account management and investment app features via Broker API.
- Use for retrieving and analyzing live and historical market data, news, and options data for quantitative finance projects.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Alpaca-py provides an interface for interacting with the API products Alpaca offers. These API products are provided as various REST, WebSocket and SSE endpoints that allow you to do everything from streaming market data to creating your own investment apps.
Learn more about the API products Alpaca offers at https://alpaca.markets.
Alpaca-py has a supplementary documentation site which contains references for all clients, methods and models found in this codebase. The documentation also contains examples to get started with alpaca-py.
You can find the documentation site here: https://alpaca.markets/sdks/python/getting_started.html
You can also find the API Reference of Alpaca APIs: https://docs.alpaca.markets/reference
Alpaca-py is supported on Python 3.8+. You can install Alpaca-py using pip.
Run the following command in your terminal.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
427+46
Open issues
65-44
Compared with peers in Cryptography
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| MHSanaei/3x-ui | 49.4K | +522 | 53 | 134 days ago |
| caddyserver/caddy | 78.8K | +267 | 60 | 1 day ago |
| XTLS/Xray-core | 42.6K | +213 | 60 | 4 days ago |
| rclone/rclone | 60.8K | +205 | 64 | 27 days ago |
| gchq/CyberChef | 36.2K | — | 63 | 39 days ago |
| alpacahq/alpaca-py | 1.6K | — | 56 | 78 days ago |
| Category median | 49.4K | +240 | 60 | — |
Discover Repositories
Search across tracked repositories by name or description