Skip to main content

SECONDS_PER_YEAR

Constant SECONDS_PER_YEAR 

Source
const SECONDS_PER_YEAR: f64 = _; // 31536000f64
Expand description

Seconds per year used to convert seconds-to-expiry into Black-76’s time-to-expiry parameter (τ). 365.0 matches the existing calculate_implied_volatility callers in this repo.