pub struct AggregatesData {Show 21 fields
pub symbol: String,
pub data_type: Option<String>,
pub exchange: Option<String>,
pub market: Option<String>,
pub date: Option<String>,
pub reference_price: Option<f64>,
pub previous_close: Option<f64>,
pub open_price: Option<f64>,
pub high_price: Option<f64>,
pub low_price: Option<f64>,
pub close_price: Option<f64>,
pub avg_price: Option<f64>,
pub last_price: Option<f64>,
pub last_size: Option<i64>,
pub bids: Vec<PriceLevel>,
pub asks: Vec<PriceLevel>,
pub total: Option<TotalStats>,
pub last_trade: Option<TradeInfo>,
pub time: Option<i64>,
pub serial: Option<i64>,
pub last_updated: Option<i64>,
}Expand description
Aggregates data (comprehensive quote-like)
Fields§
§symbol: StringStock symbol
data_type: Option<String>Data type
exchange: Option<String>Exchange code
market: Option<String>Market
date: Option<String>Trading date
reference_price: Option<f64>Reference price
previous_close: Option<f64>Previous close
open_price: Option<f64>Open price
high_price: Option<f64>High price
low_price: Option<f64>Low price
close_price: Option<f64>Close price
avg_price: Option<f64>Average price
last_price: Option<f64>Last trade price
last_size: Option<i64>Last trade size
bids: Vec<PriceLevel>Bid levels
asks: Vec<PriceLevel>Ask levels
total: Option<TotalStats>Total statistics
last_trade: Option<TradeInfo>Last trade info
time: Option<i64>Unix microseconds
serial: Option<i64>Serial number
last_updated: Option<i64>Last updated timestamp
Trait Implementations§
Source§impl Clone for AggregatesData
impl Clone for AggregatesData
Source§fn clone(&self) -> AggregatesData
fn clone(&self) -> AggregatesData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AggregatesData
impl Debug for AggregatesData
Source§impl<'de> Deserialize<'de> for AggregatesData
impl<'de> Deserialize<'de> for AggregatesData
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
Auto Trait Implementations§
impl Freeze for AggregatesData
impl RefUnwindSafe for AggregatesData
impl Send for AggregatesData
impl Sync for AggregatesData
impl Unpin for AggregatesData
impl UnsafeUnpin for AggregatesData
impl UnwindSafe for AggregatesData
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