Skip to main content

note_dirty_price

Function note_dirty_price 

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

A structured note’s dirty price per 100 against market.

§Errors

BondReadingError::Product for an instrument that is not a structured note; otherwise as the note’s valuation.