Function discount_key
pub(crate) fn discount_key(
currency: &str,
collateral: Option<&str>,
) -> PyResult<CollateralSpec>Expand description
The discount key for currency under collateral, the currency’s own
where collateral is omitted.