[][src]Struct xtp::XTPMarketDataStruct

pub struct XTPMarketDataStruct {
    pub exchange_id: XTPExchangeType,
    pub ticker: String,
    pub last_price: f64,
    pub pre_close_price: f64,
    pub open_price: f64,
    pub high_price: f64,
    pub low_price: f64,
    pub close_price: f64,
    pub pre_total_long_positon: i64,
    pub total_long_positon: i64,
    pub pre_settl_price: f64,
    pub settl_price: f64,
    pub upper_limit_price: f64,
    pub lower_limit_price: f64,
    pub pre_delta: f64,
    pub curr_delta: f64,
    pub data_time: i64,
    pub qty: i64,
    pub turnover: f64,
    pub avg_price: f64,
    pub bid: [f64; 10],
    pub ask: [f64; 10],
    pub bid_qty: [i64; 10],
    pub ask_qty: [i64; 10],
    pub trades_count: i64,
    pub ticker_status: String,
    pub data_type: XTPMarketdataType,
}

Fields

exchange_id: XTPExchangeTypeticker: Stringlast_price: f64pre_close_price: f64open_price: f64high_price: f64low_price: f64close_price: f64pre_total_long_positon: i64total_long_positon: i64pre_settl_price: f64settl_price: f64upper_limit_price: f64lower_limit_price: f64pre_delta: f64curr_delta: f64data_time: i64qty: i64turnover: f64avg_price: f64bid: [f64; 10]ask: [f64; 10]bid_qty: [i64; 10]ask_qty: [i64; 10]trades_count: i64ticker_status: Stringdata_type: XTPMarketdataType

Trait Implementations

impl Clone for XTPMarketDataStruct[src]

impl Debug for XTPMarketDataStruct[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> From<T> 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.