Skip to content

OISRateHelper uses index fixing calendar for date generation, should use paymentCalendar #1703

Open
@trentmaetzold

Description

@trentmaetzold

OISRateHelper class does not appear to be using the calendar passed to the paymentCalendar parameter for calculating the start date of the helper. I'm constructing Chile Camara today and 6/19 is a holiday for trading, since local LATAM tends to observe a trading holiday when the US does. I'm passing JointCalendar(UnitedStates(UnitedStates.FederalReserve), Chile) for the paymentCalendar but the helper objects are using 6/19 for the earliestDate attribute. Seems like the helper should either use the paymentCalendar passed or accept a separate tradingCalendar parameter for cases like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions