pub struct LiveSymbol {
pub symbol: String,
pub bars: Vec<DatedBar>,
pub dates: Vec<NaiveDate>,
pub close: Vec<f64>,
pub sd: Vec<Option<Sd2Reading>>,
pub iv: Vec<f64>,
pub real_iv: bool,
pub liquid: bool,
}Expand description
One symbol, ready for strategies.
Fields§
§symbol: String§bars: Vec<DatedBar>§dates: Vec<NaiveDate>§close: Vec<f64>§sd: Vec<Option<Sd2Reading>>§iv: Vec<f64>§real_iv: bool§liquid: boolIndex ETF with deep option markets (tight spreads).
Implementations§
Source§impl LiveSymbol
impl LiveSymbol
pub fn underlying(&self) -> Underlying<'_>
Auto Trait Implementations§
impl Freeze for LiveSymbol
impl RefUnwindSafe for LiveSymbol
impl Send for LiveSymbol
impl Sync for LiveSymbol
impl Unpin for LiveSymbol
impl UnsafeUnpin for LiveSymbol
impl UnwindSafe for LiveSymbol
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