Struct SabrSliceFit
pub struct SabrSliceFit {}Expand description
One fitted slice’s parameters and quality.
Fields§
§expiry: f64The node’s expiry, in years.
tenor: f64The node’s tenor, in years.
forward: f64The forward the slice was fitted at.
atm_vol: f64The fitted (or held) ATM vol.
rho: f64The fitted ρ.
nu: f64The fitted ν.
alpha: f64α implied from the ATM vol at the forward.
atm_quoted: boolWhether the grid quoted the ATM vol (held) or it was fitted.
rms_error: f64The vega-weighted RMS vol error.
max_error: f64The largest absolute vol error at a quoted strike.
restarts: usizeRestarts spent beyond the explicit guess.
accepted: boolWhether the fit met the spec’s acceptance bound.
butterfly_ok: boolWhether the smile’s density is non-negative on the check grid.
Trait Implementations§
§impl Clone for SabrSliceFit
impl Clone for SabrSliceFit
§fn clone(&self) -> SabrSliceFit
fn clone(&self) -> SabrSliceFit
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 more§impl Debug for SabrSliceFit
impl Debug for SabrSliceFit
§impl PartialEq for SabrSliceFit
impl PartialEq for SabrSliceFit
impl StructuralPartialEq for SabrSliceFit
Auto Trait Implementations§
impl Freeze for SabrSliceFit
impl RefUnwindSafe for SabrSliceFit
impl Send for SabrSliceFit
impl Sync for SabrSliceFit
impl Unpin for SabrSliceFit
impl UnsafeUnpin for SabrSliceFit
impl UnwindSafe for SabrSliceFit
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