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

MultipleResetsSwap instrument and rate helper #2138

Open
eltoder opened this issue Jan 16, 2025 · 0 comments
Open

MultipleResetsSwap instrument and rate helper #2138

eltoder opened this issue Jan 16, 2025 · 0 comments

Comments

@eltoder
Copy link
Contributor

eltoder commented Jan 16, 2025

QuantLib now has MultipleResetsCoupon and MultipleResetsLeg, but it does not provide a ready-made instrument that uses these or a rate helper that can be used to bootstrap a curve using such instruments. That should be easy to add, but I have a question -- should these be added as new classes or as an option into VanillaSwap (or another existing instrument)?

The downside of the former is more code duplication, for example, I'd probably need a MakeMultipleResetsSwap class copy-pasted from MakeVanillaSwap, MultipleResetsSwapRateHelper copy-pasted from SwapRateHelper etc. The downside of the latter is that it will break code that expects VanillaSwap to always have IborCoupons.

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

No branches or pull requests

1 participant