Skip to main content

prior_cds_imm_date

Function prior_cds_imm_date 

pub fn prior_cds_imm_date(today: NaiveDate) -> NaiveDate
Expand description

The prior CDS-IMM date strictly before today: a CDS-IMM date rolls to the preceding one.

ยงPanics

Only if today sits in the first year chrono can represent. No market date is near that bound.