Skip to main content

fee

Function fee 

pub(crate) fn fee(
    currency: &str,
    payment_date: NaiveDate,
    amount: f64,
) -> PyResult<PyInstrument>
Expand description

A standalone fee: amount in currency on payment_date, positive received and negative paid, discounted on the currency’s cash collateral — the way an upfront is attached to a structure.