Skip to main content

expiry_years

Function expiry_years 

pub fn expiry_years(valuation: NaiveDate, expiry: NaiveDate) -> f64
Expand description

Year fraction from valuation to the option’s expiry, Act/365F — the T the surface is read at and the formula discounts variance over.