Struct ib_client::models::history_data::HistoryData [−][src]
Fields
symbol: Option<String>
Underlying Symbol of the corresponding contract
text: Option<String>
companyName of the corresponding contract
price_factor: Option<i32>
priceFactor is price increment obtained from display rule
start_time: Option<String>
start date time in the format YYYYMMDD-HH:mm:ss
high: Option<String>
High value during this time series with format %h/%v/%t. %h is the high price (scaled by priceFactor), %v is volume (volume factor will always be 100 (reported volume = actual volume/100)) and %t is minutes from start time of the chart
low: Option<String>
Low value during this time series with format %l/%v/%t. %l is the low price (scaled by priceFactor), %v is volume (volume factor will always be 100 (reported volume = actual volume/100)) and %t is minutes from start time of the chart
time_period: Option<String>
The duration for the historical data request
bar_length: Option<i32>
The number of seconds in a bar
md_availability: Option<String>
Market Data Availability. The field may contain two chars. The first char is the primary code: S = Streaming, R = Realtime, D = Delayed, Z = Frozen, Y = Frozen Delayed. The second char is the secondary code: P = Snapshot Available, p = Consolidated.
mkt_data_delay: Option<i32>
The time it takes, in milliseconds, to process the historical data request
outside_rth: Option<bool>
The historical data returned includes outside of regular trading hours
trading_day_duration: Option<i32>
The number of seconds in the trading day
volume_factor: Option<i32>
price_display_rule: Option<i32>
price_display_value: Option<String>
negative_capable: Option<bool>
message_version: Option<i32>
data: Option<Vec<HistoryDataData>>
points: Option<i32>
total number of points
travel_time: Option<i32>
Implementations
impl HistoryData
[src]
pub fn new() -> HistoryData
[src]
Trait Implementations
impl Clone for HistoryData
[src]
fn clone(&self) -> HistoryData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HistoryData
[src]
impl<'de> Deserialize<'de> for HistoryData
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<HistoryData> for HistoryData
[src]
fn eq(&self, other: &HistoryData) -> bool
[src]
fn ne(&self, other: &HistoryData) -> bool
[src]
impl Serialize for HistoryData
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for HistoryData
[src]
Auto Trait Implementations
impl RefUnwindSafe for HistoryData
impl Send for HistoryData
impl Sync for HistoryData
impl Unpin for HistoryData
impl UnwindSafe for HistoryData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,