{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"Alpaca-py is the official Python SDK for interacting with Alpaca's trading, market data, and broker APIs, supporting REST, WebSocket, and SSE endpoints for stock, crypto, and options trading and data access.","skillfed_tags":["trading-api","market-data-streaming","broker-integration"],"use_cases":["Build algorithmic trading strategies that automatically submit orders and stream live market data for stocks, crypto, or options.","Create a robo-advisor or investment app that manages multiple brokerage accounts under your control via the Broker API.","Backtest trading strategies using historical bar data from Alpaca's market data API for multiple asset classes.","Stream real-time market data (quotes, bars, trades) via WebSocket or SSE for live dashboards or monitoring systems.","Validate and parse trading order data from JSON payloads using pydantic-backed request models before execution."],"what_it_does":"Alpaca-py is the official Python SDK that wraps Alpaca's REST, WebSocket, and SSE APIs into a unified, object-oriented interface. It lets you build trading applications, stream live market data, and manage brokerage accounts programmatically. The library uses pydantic for runtime data validation and provides separate client classes for different asset classes and API products\u2014TradingClient for orders, StockHistoricalDataClient for historical data, BrokerClient for account management, and specialized data stream clients for real-time feeds.\n\nThe package depends on msgpack, pandas, pydantic, pytz, requests, sseclient-py, and websockets to handle serialization, data frames, validation, time zones, HTTP requests, server-sent events, and WebSocket connections. It's designed for developers building algorithmic trading strategies, robo-advisors, or full brokerage experiences. Request models (e.g., MarketOrderRequest, CryptoBarsRequest) enforce schema validation before sending to Alpaca's servers, reducing runtime errors.","worth_installing":"Yes. Alpaca-py is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It is the official SDK for Alpaca's APIs and is well-suited for anyone building trading or investment applications that need to interact with Alpaca's services. The OOP design and pydantic validation reduce errors compared to raw HTTP calls."},"id":"alpaca-py","links":{"html":"https://skillfed.io/packages/alpaca-py","md":"https://skillfed.io/packages/alpaca-py.md","pypi":"https://pypi.org/project/alpaca-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":null,"license_treatment":"permissive","name":"alpaca-py","python_support":"supports_current","summary":"The Official Python SDK for Alpaca APIs"},"popularity":{"monthly_downloads":1969763,"position":3399,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.44.0"}
