Expand description
Serde types for Questrade REST API request and response bodies.
Structs§
- Account
- A Questrade brokerage account.
- Account
Balances - Current and start-of-day balances for a Questrade account.
- Accounts
Response - Response wrapper for
GET /v1/accounts. - Activities
Response - Response wrapper for
GET /v1/accounts/:id/activities. - Activity
Item - A single account activity (execution, dividend, deposit, etc.).
- Candle
- A single OHLCV price bar.
- Candle
Response - Response wrapper for
GET /v1/markets/candles/:id. - Chain
PerRoot - Option contracts for a single root symbol within an expiry.
- Chain
PerStrike - Call and put symbol IDs at a single strike price.
- Combined
Balance - Combined balance across all currencies, expressed in a single currency.
- Execution
- A single trade execution (fill-level detail) from Questrade.
- Executions
Response - Response wrapper for
GET /v1/accounts/:id/executions. - Market
Info - Metadata for a single market / exchange returned by
GET /v1/markets. - Market
Snapshot - Real-time open/closed status for a market.
- Markets
Response - Response wrapper for
GET /v1/markets. - Option
Chain Response - Response wrapper for
GET /v1/symbols/:id/options. - Option
Expiry - Option contracts grouped by expiry date.
- Option
Quote - Real-time quote and Greeks for a single option contract.
- Option
Quote Request - Request body for
POST /v1/markets/quotes/options. - Option
Quote Response - Response from
POST /v1/markets/quotes/options. - Order
Item - A single order from the Questrade orders endpoint.
- Orders
Response - Response wrapper for
GET /v1/accounts/:id/orders. - PerCurrency
Balance - Balance snapshot for a single currency.
- Position
Item - A single open position in a Questrade account.
- Positions
Response - Response wrapper for
GET /v1/accounts/:id/positions. - Quote
- Real-time level 1 quote for an equity symbol.
- Quote
Response - Response wrapper for
GET /v1/markets/quotes/:id. - Server
Time Response - Response wrapper for
GET /v1/time. - Strategy
Leg - A single leg in a multi-leg option strategy variant.
- Strategy
Quote - Combined quote and Greeks for a multi-leg option strategy.
- Strategy
Quote Request - Request body for
POST /v1/markets/quotes/strategies. - Strategy
Quotes Response - Response from
POST /v1/markets/quotes/strategies. - Strategy
Variant Request - A strategy variant to quote, containing one or more legs.
- Symbol
Detail - Full symbol details returned by
GET /v1/symbols/:id. - Symbol
Detail Response - Response wrapper for
GET /v1/symbols/:id. - Symbol
Result - A single result from a symbol search.
- Symbol
Search Response - Response wrapper for
GET /v1/symbols/search.
Enums§
- Order
State Filter - Filter for order state when querying
GET /v1/accounts/:id/orders.