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,
}Expand description
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: String§open: f64§high: f64§low: f64§close: f64§volume: i64§wap: f64§count: i32Implementations§
Trait Implementations§
Source§impl Clone for RealTimeBar
impl Clone for RealTimeBar
Source§fn clone(&self) -> RealTimeBar
fn clone(&self) -> RealTimeBar
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 RealTimeBar
impl Debug for RealTimeBar
Source§impl Default for RealTimeBar
impl Default for RealTimeBar
Source§fn default() -> RealTimeBar
fn default() -> RealTimeBar
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealTimeBar
impl<'de> Deserialize<'de> for RealTimeBar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RealTimeBar
impl Display for RealTimeBar
Auto Trait Implementations§
impl Freeze for RealTimeBar
impl RefUnwindSafe for RealTimeBar
impl Send for RealTimeBar
impl Sync for RealTimeBar
impl Unpin for RealTimeBar
impl UnwindSafe for RealTimeBar
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