Skip to main content

zero_coupon_quotes

Function zero_coupon_quotes 

pub fn zero_coupon_quotes(
    instrument: &AnyInstrument,
) -> Result<(f64, f64, f64, f64, f64), BondReadingError>
Expand description

A zero’s five quotes: price, discount yield, money-market yield, bond-equivalent yield and the yield its market quotes.

§Errors

BondReadingError::Product for an instrument that is not a zero.