Function quantmath::risk::bumped_price[][src]

pub fn bumped_price(
    bump: &Bump,
    pricer: &mut Pricer,
    saveable: Option<&mut Saveable>,
    unbumped: f64
) -> Result<f64, Error>

Useful method for report generators. Bumps a pricer and reprices it if necessary, returning the bumped price.