1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Unofficial Rust SDK for the [Alpaca](https://alpaca.markets) trading, market
//! data, and broker APIs.
//!
//! This is a port of the official Python SDK, [alpaca-py], with the same feature
//! surface expressed through Rust's type system: money is [`rust_decimal::Decimal`]
//! rather than a string-or-float union, unknown API enum values deserialize into an
//! `Unknown` variant instead of failing, and pagination is a `Stream` rather than a
//! three-way mode flag.
//!
//! It is not affiliated with or endorsed by Alpaca Securities LLC.
//!
//! # Feature flags
//!
//! | Feature | Default | What it enables |
//! |---|---|---|
//! | `trading` | yes | The trading REST client and trade-update stream |
//! | `data` | yes | Historical and live market data |
//! | `broker` | no | The broker API, including its SSE event streams |
//! | `blocking` | no | A synchronous façade over the async clients |
//! | `polars` | no | `DataFrame` conversion for market data collections |
//! | `rustls-tls` | yes | TLS via rustls |
//! | `native-tls` | no | TLS via the platform library |
//!
//! [alpaca-py]: https://github.com/alpacahq/alpaca-py
pub use Credentials;
pub use ;
pub use ;
pub use ;