Skip to main content

rungs_for

Function rungs_for 

pub fn rungs_for(
    recipe: &CurveRecipe,
    sheet: &QuoteSheet,
    market: &MarketContext,
    notional: f64,
) -> Result<Vec<Rung>, RecipeQuoteError>
Expand description

The rungs a sheet binds to a recipe: one per entry, dispatched on the template’s family and the locator’s shape; a template the recipe does not name is refused by name, a shape the template cannot take by shape, and a window the recipe fixes must be on the sheet. The market supplies the as-of date, the FX spots a cross segment reads, and the bank schedules that name a policy window’s decision.

§Errors

RecipeQuoteError as each variant says.