alpaca-sdk 0.0.0

Unofficial Rust SDK for the Alpaca trading, market data, and broker APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The trading API: orders, positions, assets, watchlists, and account state.

mod client;
mod enums;
mod enums_ext;
mod models;
mod requests;
mod stream;

pub use client::TradingClient;
pub use enums::*;
// Lives in `types` so `data` can use it with this feature off; re-exported here
// because upstream owns it and callers expect it at this path.
pub use crate::types::ContractType;
pub use models::*;
pub use requests::*;
pub use stream::{TradeStreamMessage, TradingStream};