[][src]Struct questrade_rs::MarketQuote

pub struct MarketQuote {
    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,
}

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

impl Clone for MarketQuote[src]

impl Debug for MarketQuote[src]

impl<'de> Deserialize<'de> for MarketQuote[src]

impl PartialEq<MarketQuote> for MarketQuote[src]

impl Serialize for MarketQuote[src]

impl StructuralPartialEq for MarketQuote[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.