Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
schwab-sdk
A typed Rust client for the Charles Schwab Trader API, Market Data, and streaming data.
It provides access to every endpoint via a namespace accessor on
SchwabClient. With it, you can:
- List linked accounts, balances, and their positions
- Query quotes, price history, options chains, and other market data
- Stream real-time market data and account activity
- Place, replace, cancel, and preview orders
- List transactions
- Read user preferences
Money and quantity fields use rust_decimal::Decimal. Bearer tokens and
account identifiers are wrapped in secrecy newtypes that redact in Debug
and zeroise on drop.
API documentation: docs.rs/schwab-sdk.
Quickstart
Resolve an account, read a quote, and place a limit buy under the last trade:
use dec;
use ;
use QuoteEntry;
use OrderRequest;
async
License
Licensed under either of
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Disclaimer
This project is an independent, community-maintained client. It is not affiliated with, endorsed by, or sponsored by Charles Schwab & Co., Inc. "Schwab" and related marks are the property of their respective owners.
This software is provided "as is" without warranty of any kind. The authors and contributors are not responsible for any financial loss, missed trades, incorrect or duplicate orders, or other trading outcomes arising from use of this crate. You are solely responsible for the orders your code submits and for verifying its behavior before trading real money. See the MIT and Apache-2.0 license texts for the full warranty disclaimer.