pub struct BarData {
pub date: String,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: Decimal,
pub wap: Decimal,
pub bar_count: i32,
}Expand description
Historical bar data.
Fields§
§date: StringDate.
open: f64Open.
high: f64High.
low: f64Low.
close: f64Close.
volume: DecimalVolume.
wap: DecimalWAP.
bar_count: i32Bar count.
Trait Implementations§
impl StructuralPartialEq for BarData
Auto Trait Implementations§
impl Freeze for BarData
impl RefUnwindSafe for BarData
impl Send for BarData
impl Sync for BarData
impl Unpin for BarData
impl UnsafeUnpin for BarData
impl UnwindSafe for BarData
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