Function capital_structure
fn capital_structure(
tranches: &[CdoTranche],
recovery: Option<f64>,
) -> Result<(), CalibrationError>Expand description
The shape a tranche bootstrap solves: non-empty, attaching at zero,
contiguous, detachments strictly increasing to at most one, and every
tranche’s recovery stated by its contract or by recovery.