Struct questrade::MarketQuote [−][src]
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for MarketQuote
impl Send for MarketQuote
impl Sync for MarketQuote
impl Unpin for MarketQuote
impl UnwindSafe for MarketQuote
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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