Expand description
Async Rust client for the Alpaca Market Data HTTP API.
The crate follows a mirror layer plus thin convenience layer design: resource methods track the official Alpaca HTTP API closely, while stable helpers such as pagination aggregators remain opt-in.
Environment variables:
ALPACA_DATA_API_KEYALPACA_DATA_SECRET_KEY
use alpaca_data::Client;
let client = Client::builder().credentials_from_env()?.build()?;
let _stocks = client.stocks();See the workspace docs site at https://wmzhai.github.io/alpaca-rust/.