pub struct Underlying<'a> {
pub symbol: &'a str,
pub dates: &'a [NaiveDate],
pub close: &'a [f64],
pub iv_index: &'a [f64],
pub real_iv: bool,
pub sd: &'a [Option<Sd2Reading>],
pub costs: Costs,
}Expand description
One underlying’s inputs to the simulator.
Fields§
§symbol: &'a str§dates: &'a [NaiveDate]§close: &'a [f64]Real closes (what trades settle on).
iv_index: &'a [f64]Implied vol index level per bar (annualized fraction, e.g. 0.18).
real_iv: boolTrue if iv_index is a real Cboe index rather than the proxy.
sd: &'a [Option<Sd2Reading>]SD readings as SD saw them (possibly from noisy data).
costs: CostsAuto Trait Implementations§
impl<'a> Freeze for Underlying<'a>
impl<'a> RefUnwindSafe for Underlying<'a>
impl<'a> Send for Underlying<'a>
impl<'a> Sync for Underlying<'a>
impl<'a> Unpin for Underlying<'a>
impl<'a> UnsafeUnpin for Underlying<'a>
impl<'a> UnwindSafe for Underlying<'a>
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