Skip to main content

rate_index

Function rate_index 

pub(crate) fn rate_index(
    argument: &Bound<'_, PyAny>,
) -> PyResult<(AnyIndex, String)>
Expand description

A rate index as a cross-currency leg takes it: an Index value, keyed under its code, or a registry code as a string, keyed under the spelling given. Whether it is a rate index at all is the leg’s own refusal.