Skip to main content

atm_forward

Function atm_forward 

fn atm_forward(
    curve: &dyn YieldCurve<f64>,
    u: &Underlying,
) -> Result<(f64, f64), CalibrationError>
Expand description

The ATM forward swap rate and annuity of u, passive (they set the strike and the market leg’s scale; neither carries the fit’s derivative).