Rust + Alpaca HTTP + Market Semantics
Rust Workspace for Alpaca HTTP SDKs, Time Semantics, and Option Models
Typed async access to Alpaca market data and trading HTTP APIs, plus reusable time semantics, provider-neutral option models, and a high-level convenience facade built on top of the lower layers.
- The official Alpaca HTTP API defines endpoint semantics.
- The published Rust surface is split into foundation, semantic, and facade layers.
- Primary direct HTTP entry points are alpaca-data and alpaca-trade.
- alpaca-time and alpaca-option carry the reusable semantic core.
- Optional TypeScript companions are plus features, not the primary published surface.
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 right published Rust crate, and understand the workspace layering model.
Check Coverage
See which Alpaca market data and trading HTTP endpoints are implemented across the direct HTTP crates.
Use the API Reference
Open crate guides, resource guides, and the published rustdoc entry points for each Rust crate.
Project Layout
See the workspace source tree, crate boundaries, release layering, and the path-versus-package naming map.
Published Rust Crates
Each crate page links the public guide to the corresponding published rustdoc and shows where that crate fits in the workspace layers.
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-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-mock
Executable mock server flows for trade lifecycle verification and market-data-backed simulations.
alpaca-time
New York time, trading-calendar, expiration, and display semantics shared across the Rust workspace.
alpaca-option
Provider-neutral option contracts, snapshots, pricing, payoff, and URL helpers.
alpaca-facade
High-level convenience adapters that compose the lower workspace crates.