pub struct ChartTickUpdate {
pub epic: String,
pub bid: Option<f64>,
pub ofr: Option<f64>,
pub ltp: Option<f64>,
pub ltv: Option<f64>,
pub ttv: Option<f64>,
pub utm: Option<i64>,
pub day_open_mid: Option<f64>,
pub day_net_chg_mid: Option<f64>,
pub day_perc_chg_mid: Option<f64>,
pub day_high: Option<f64>,
pub day_low: Option<f64>,
}Available on crate feature
stream only.Expand description
A single tick from a CHART:<epic>:TICK subscription.
Fields§
§epic: StringThe IG epic this update belongs to.
bid: Option<f64>Bid price for the tick.
ofr: Option<f64>Offer price for the tick.
ltp: Option<f64>Last traded price.
ltv: Option<f64>Last traded volume.
ttv: Option<f64>Total traded volume today.
utm: Option<i64>UTC millisecond timestamp of the tick.
day_open_mid: Option<f64>Mid price at open today.
day_net_chg_mid: Option<f64>Net change mid today.
day_perc_chg_mid: Option<f64>Percentage change mid today.
day_high: Option<f64>Today’s high.
day_low: Option<f64>Today’s low.
Implementations§
Trait Implementations§
Source§impl Clone for ChartTickUpdate
impl Clone for ChartTickUpdate
Source§fn clone(&self) -> ChartTickUpdate
fn clone(&self) -> ChartTickUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChartTickUpdate
impl Debug for ChartTickUpdate
Source§impl Default for ChartTickUpdate
impl Default for ChartTickUpdate
Source§fn default() -> ChartTickUpdate
fn default() -> ChartTickUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChartTickUpdate
impl RefUnwindSafe for ChartTickUpdate
impl Send for ChartTickUpdate
impl Sync for ChartTickUpdate
impl Unpin for ChartTickUpdate
impl UnsafeUnpin for ChartTickUpdate
impl UnwindSafe for ChartTickUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more