pub struct MarketQuote {
Show 17 fields pub symbol: String, pub symbol_id: u32, pub tier: Option<String>, pub bid_price: Option<Number>, pub bid_size: u32, pub ask_price: Option<Number>, pub ask_size: u32, pub last_trade_price_tr_hrs: Number, pub last_trade_price: Number, pub last_trade_size: u32, pub last_trade_tick: TickType, pub volume: u32, pub open_price: Number, pub high_price: Number, pub low_price: Number, pub delay: bool, pub is_halted: bool,
}
Expand description

Spot quote for a certain Equity

Fields

symbol: String

Symbol name following Questrade’s symbology.

symbol_id: u32

Internal symbol identifier.

tier: Option<String>

Market tier.

bid_price: Option<Number>

Bid price.

bid_size: u32

Bid quantity.

ask_price: Option<Number>

Ask price.

ask_size: u32

Ask quantity.

last_trade_price_tr_hrs: Number

Price of the last trade during regular trade hours. The closing price.

last_trade_price: Number

Price of the last trade.

May include after-hours trading.

last_trade_size: u32

Quantity of the last trade.

last_trade_tick: TickType

Trade direction.

volume: u32

Daily trading volume

open_price: Number

Opening trade price.

high_price: Number

Daily high price.

low_price: Number

Daily low price.

delay: bool

Whether a quote is delayed or real-time.

If true then the quote is delayed 15 minutes

is_halted: bool

Whether trading in the symbol is currently halted.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Serialize this value into the given Serde serializer. 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

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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