pub struct HistoricalPrice {
pub symbol: String,
pub date: NaiveDate,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: f64,
pub change: Option<f64>,
pub change_percent: Option<f64>,
pub vwap: Option<f64>,
}Expand description
A daily OHLCV bar from historical-price-eod/full; prices are split-adjusted.
Fields§
§symbol: String§date: NaiveDate§open: f64§high: f64§low: f64§close: f64§volume: f64§change: Option<f64>§change_percent: Option<f64>§vwap: Option<f64>Trait Implementations§
Source§impl Clone for HistoricalPrice
impl Clone for HistoricalPrice
Source§impl Debug for HistoricalPrice
impl Debug for HistoricalPrice
Source§impl<'de> Deserialize<'de> for HistoricalPrice
impl<'de> Deserialize<'de> for HistoricalPrice
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 PartialEq for HistoricalPrice
impl PartialEq for HistoricalPrice
Source§impl Serialize for HistoricalPrice
impl Serialize for HistoricalPrice
impl StructuralPartialEq for HistoricalPrice
Auto Trait Implementations§
impl Freeze for HistoricalPrice
impl RefUnwindSafe for HistoricalPrice
impl Send for HistoricalPrice
impl Sync for HistoricalPrice
impl Unpin for HistoricalPrice
impl UnsafeUnpin for HistoricalPrice
impl UnwindSafe for HistoricalPrice
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