Function strip
fn strip(
terms: &RepoTerms,
index: &str,
from: NaiveDate,
to: NaiveDate,
spread: f64,
) -> Result<OvernightCoupon, RepoError>Expand description
The compounding strip of index over [from, to] at unit notional,
carrying spread, accruing on the repo’s day count.