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

Add DatedSwapRateHelper #1912

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eltoder
Copy link
Contributor

@eltoder eltoder commented Feb 16, 2024

Also, move common functionality into SwapRateHelperBase to avoid
duplication. Reuse it between vanilla and overnight swaps.

@eltoder
Copy link
Contributor Author

eltoder commented Feb 16, 2024

@lballabio I'll rebase this on top of the final version of #1911, so please only look at the second commit.

I wanted to get your feedback on the approach -- do you think this is worth it, or should I just copy-paste some code from SwapRateHelper? One nice thing here is that we get custom pillars support for DatedOISRateHelper for free and also fix some inconsistencies in how it sets dates.

@eltoder eltoder marked this pull request as draft February 16, 2024 22:35
@eltoder
Copy link
Contributor Author

eltoder commented Feb 16, 2024

I also noticed that I previously added forwardStart to DatedOISRateHelper by mistake (it has no effect). Do you think it's not too late to remove it?

@coveralls
Copy link

coveralls commented Feb 16, 2024

Coverage Status

coverage: 72.454% (-0.02%) from 72.477%
when pulling c2662ad on eltoder:feature/dated-swap-helper
into 72012a7 on lballabio:master.

@eltoder eltoder marked this pull request as ready for review February 19, 2024 14:56
Also, move common functionality into SwapRateHelperBase to avoid
duplication. Reuse it between vanilla and overnight swaps.
Copy link
Contributor

This PR was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.

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

Successfully merging this pull request may close these issues.

None yet

3 participants