Skip to main content

compounded_oas

Function compounded_oas 

pub fn compounded_oas(oas: f64, frequency: Frequency) -> f64
Expand description

Quotes a continuously compounded spread at a periodic frequency: s_m = m·(e^{s/m} − 1) with m the periods per year. The engine’s canonical spread (the OAS the lattice discounts with) is continuous; this conversion is presentation only.