[−][src]Function black_scholes_pricer::bs_single::bs_price
pub fn bs_price(
dir: OptionDir,
spot: f32,
strike: f32,
years_to_expiry: f32,
risk_free_rate: f32,
volatility: f32,
dividend_yield: f32
) -> f32
Black Scholes single option pricing