Skip to main content

tenor_in_years

Function tenor_in_years 

pub(crate) fn tenor_in_years(tenor: Period) -> f64
Expand description

An index tenor as the year fraction the vol surface’s tenor axis is measured in: months over twelve, days over 365.