Rust + Alpaca Market Data + Trading
High-Performance Rust Client for Alpaca Market Data and Trading APIs
Typed async access to Alpaca market data and trading HTTP APIs, split across public crates for market data, trading, shared transport, shared primitives, and the executable mock server.
- The official Alpaca HTTP API defines endpoint semantics.
- Primary public entry points are alpaca-data and alpaca-trade.
- Shared foundations live in alpaca-core and alpaca-rest-http.
- alpaca-mock stays executable-first for trade lifecycle verification.
Core Guides
Start with workspace behavior, auth rules, and repository layout before jumping into crate and resource pages.
Get Started
Create a client, pick the public crate entry point, and understand the workspace layering model.
Check Coverage
See which Alpaca market data and trading HTTP endpoints are implemented across the public crates.
Use the API Reference
Open crate guides, resource guides, and the published rustdoc entry points for each public package.
Project Layout
See the workspace source tree, crate boundaries, release layering, and mock-server placement.
API Modules
Each crate page links the public guide to the corresponding published rustdoc and the resource-level reference pages inside this workspace.
alpaca-data
Market data client coverage for stocks, options, news, and corporate actions.
alpaca-trade
Trading client coverage for account, assets, orders, positions, activities, and watchlists.
alpaca-core
Shared primitives, credentials, URL helpers, and common typed foundations.
alpaca-rest-http
Shared HTTP transport, retry behavior, observers, and response metadata handling.
alpaca-mock
Executable mock server flows for trade lifecycle verification and market-data-backed simulations.