Skip to main content

bs_price

Function bs_price 

Source
pub fn bs_price(
    kind: Kind,
    spot: f64,
    strike: f64,
    t: f64,
    sigma: f64,
    rate: f64,
) -> f64
Expand description

Black-Scholes price per share. t in years, sigma annualized.