Function yield_moments
pub fn yield_moments(
bond: &FixedRateBond,
y: f64,
settlement: NaiveDate,
basis: YieldBasis,
) -> YieldMomentsExpand description
The YieldMoments of bond at yield y: one Jet2 pricing pass.
pub fn yield_moments(
bond: &FixedRateBond,
y: f64,
settlement: NaiveDate,
basis: YieldBasis,
) -> YieldMomentsThe YieldMoments of bond at yield y: one Jet2 pricing pass.