Function deposit
pub(crate) fn deposit(
template: &Bound<'_, PyAny>,
valuation: NaiveDate,
tenor: &str,
rate: f64,
notional: f64,
) -> PyResult<PyRung>Expand description
A money-market deposit rung: lent on valuation, maturing tenor on under
the template’s calendar and convention, on its day count, quoted at rate.
Labelled by its tenor.