Struct tda_sdk::Client[][src]

pub struct Client {
    pub access_token: Option<AccessToken>,
    // some fields omitted
}
Expand description

Client for interacting with the TDA API.

Most API methods will panic if an access token is not set.

Fields

access_token: Option<AccessToken>

Implementations

Create a new client with a client ID and refresh token.

Set the internal access token of the client.

Get a new access token from the API.

Account balances, positions, and orders for a specific account.

API documentation

Account balances, positions, and orders for all linked accounts.

Api Documentation

Top 10 (up or down) movers by value or percent for a particular market

API Documentation

Get price history for a symbol

API Documentation

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.