Struct CalibratedSigma
pub struct CalibratedSigma {
pub currency: Currency,
pub mean_reversion: f64,
pub shape: SigmaShape,
pub sigma: SigmaTerm<f64>,
pub piece_ends: Vec<NaiveDate>,
pub d_sigma_d_vol: Vec<Vec<f64>>,
pub fits: Vec<InstrumentFit>,
pub evaluations: usize,
pub surface_points: Vec<StripPoint>,
}Expand description
The calibration result: the fitted volatility, its sensitivity to every quote, and the per-instrument report.
Fields§
§currency: CurrencyThe currency whose parameters were fitted.
mean_reversion: f64The exogenous mean reversion the fit ran under.
shape: SigmaShapeThe shape the fit ran in.
sigma: SigmaTerm<f64>The fitted volatility: flat, or one piece per strip expiry.
piece_ends: Vec<NaiveDate>The date each piece ends on — the strip expiries, in order; empty for a flat fit.
d_sigma_d_vol: Vec<Vec<f64>>∂σ_j/∂ν_i: one row per piece (a single row for a flat fit), one
column per strip quote in the order of fits.
fits: Vec<InstrumentFit>One row per strip instrument — in expiry order for a piecewise fit.
evaluations: usizeHow many strip pricings the fit took, for the record.
surface_points: Vec<StripPoint>The strip points whose vol no pinned quote supplied, read at the money
off the currency’s swaption surface instead. Their columns of
d_sigma_d_vol are sensitivities to a surface
read, not to a quote, so no quote sensitivity is reported for them.
Implementations§
Trait Implementations§
§impl Clone for CalibratedSigma
impl Clone for CalibratedSigma
§fn clone(&self) -> CalibratedSigma
fn clone(&self) -> CalibratedSigma
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more