Function convexity
pub fn convexity(
bond: &FixedRateBond,
y: f64,
settlement: NaiveDate,
basis: YieldBasis,
) -> f64Expand description
Convexity: P″/P.
pub fn convexity(
bond: &FixedRateBond,
y: f64,
settlement: NaiveDate,
basis: YieldBasis,
) -> f64Convexity: P″/P.