Skip to main content

clean_price_at_oas_with

Function clean_price_at_oas_with 

pub fn clean_price_at_oas_with<R: Scalar>(
    bond: &CallableBond,
    view: &PricingView<'_, R>,
    oas: R,
) -> Result<R, PricingError>
Expand description

The clean price per 100 face of bond at a given continuous OAS, in the caller’s mode.

§Errors

PricingError from the lattice build or the curve queries.