Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/handlying of roll convention #274

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Borgomi42
Copy link
Contributor

In cases where there are close tenors (e.g., 2D and 3D) in the aliases of a discount curve configuration, the calendar and roll convention may result in both tenors being mapped to the same date in the date map. Consequently, the number of entries in the date map may be lower than the number of quotes in the quotes vector. This discrepancy leads to a QL_REQUIRE condition evaluating to TRUE, preventing the curve from being built and the code being further processed. The PR avoids this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant