Skip to main content

oas_solve

Function oas_solve 

fn oas_solve(
    clean_at: impl Fn(f64) -> f64,
    clean_price: f64,
) -> Result<f64, PricingError>
Expand description

The spread at which clean_at, monotone decreasing, reprices clean_price.