Function redemption
pub(crate) fn redemption(
currency: &str,
payment_date: NaiveDate,
amount: f64,
) -> PyResult<PyAnyCoupon>Expand description
A dated payment of a known amount — a redemption, a fee, a notional exchange. It accrues over nothing and pays no rate.