[][src]Struct twsapi::core::common::RealTimeBar

pub struct RealTimeBar {
    pub date_time: String,
    pub open: f64,
    pub high: f64,
    pub low: f64,
    pub close: f64,
    pub volume: i64,
    pub wap: f64,
    pub count: i32,
}

date_time - the bar's date and time (either as a yyyymmss hh:mm:ssformatted string or as system time according to the request) open - the bar's open point high - the bar's high point low - the bar's low point close - the bar's closing point volume - the bar's traded volume if available count - the number of trades during the bar's timespan (only available for TRADES). wap - the bar's Weighted Average Price count - running count of the bars for this request

Fields

date_time: Stringopen: f64high: f64low: f64close: f64volume: i64wap: f64count: i32

Implementations

impl RealTimeBar[src]

pub fn new(
    date_time: String,
    open: f64,
    high: f64,
    low: f64,
    close: f64,
    volume: i64,
    wap: f64,
    count: i32
) -> Self
[src]

Trait Implementations

impl Clone for RealTimeBar[src]

impl Debug for RealTimeBar[src]

impl Default for RealTimeBar[src]

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

impl Display for RealTimeBar[src]

impl Serialize for RealTimeBar[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> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<T> UnsafeAny for T where
    T: Any