Skip to main content

money_duration

Function money_duration 

pub fn money_duration(
    bond: &FixedRateBond,
    y: f64,
    settlement: NaiveDate,
    basis: YieldBasis,
) -> f64
Expand description

Money duration at the bond’s own face: modified duration times the money price.