Skip to main content

yield_to_maturity_scenario_of

Function yield_to_maturity_scenario_of 

fn yield_to_maturity_scenario_of(
    bond: &CallableBond,
    dirty: f64,
    settlement: NaiveDate,
    basis: YieldBasis,
) -> Result<f64, YieldSolveError>
Expand description

The yield to maturity scenario: redemption at par on the maturity date.

ยงErrors

As yield_solve.