pub struct Questrade { /* private fields */ }
Expand description

Questrade client

Implementations

Creates a new API instance with the default client.

Creates a new API instance with the specified client

Creates a new API instance with the specified auth info.

Creates a new API instance with the specified auth info.

Authenticates using the supplied token.

Retrieves the current authentication info (if set).

List all accounts associated with the authenticated user.

Retrieve account activities, including cash transactions, dividends, trades, etc.

Search for account orders.

Parameters: - start_time optional start of time range. Defaults to start of today, 12:00am - end_time optional end of time range. Defaults to end of today, 11:59pm - state_filter optionally filters order states

Retrieve details for an order with a specific id

Retrieves executions for a specific account.

Parameters: - start_time optional start of time range. Defaults to start of today, 12:00am - end_time optional end of time range. Defaults to end of today, 11:59pm

Retrieves per-currency and combined balances for a specified account.

Retrieves positions in a specified account.

Retrieves a single Level 1 market data quote for one or more symbols.

IMPORTANT NOTE: Questrade user needs to be subscribed to a real-time data package, to receive market quotes in real-time, otherwise call to get quote is considered snap quote and limit per market can be quickly reached. Without real-time data package, once limit is reached, the response will return delayed data. (Please check “delay” parameter in response always)

Searches for the specified symbol.

params

  • prefix Prefix of a symbol or any word in the description.
  • offset Offset in number of records from the beginning of a result set.

Retrieves current server time.

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more