Skip to main content

policy_spot

Function policy_spot 

fn policy_spot(
    recipe: &CurveRecipe,
    meeting: &MeetingOisTemplate,
    as_of: NaiveDate,
) -> NaiveDate
Expand description

The spot date a policy window is truncated to: the par-swap template’s spot where the recipe has one, two business days on the meeting template’s calendar otherwise.