Function running_accrual
fn running_accrual(cds: &CreditDefaultSwap, date: NaiveDate) -> f64Expand description
The premium per unit notional the running period has accrued by date:
the coupon c·τ(start, date) of the period whose accrual holds date,
zero on a coupon date.