Non-deliverable cross currency swap#2413
Conversation
|
@marcin-rybacki, @paolodelia99, may you cross-check this PR and #2248 and see if they're consistent or if something might be useful for both? Thanks! |
|
Actually yes, we can use the |
…ot exchange initial notional
Hi Luigi, I saw only now that I did not reply to your message, apologies. Happy to check this with @paolodelia99, I left a couple of comments in his PR and could help with migrating, if needed. |
|
Ok, thanks — let me know when the two PRs are ok to merge. |
|
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. |
|
Hello @marcin-rybacki, I just merged #2248. When you have time, please have a look at this PR and check if those new features can be useful for it. |
Hi @lballabio, thank you. Will do! |
This PR extends the FX framework with another rate helper for non-deliverable cross currency swaps.
The main difference, compared to deliverable products, lies in the settlement of cash flows. In non-deliverable case, a few days prior to maturity (according to the FX fixing delay) the FX rate is set to convert foreign cash flow to domestic currency. This required implementing another calculator (using the visitor pattern), in the same way we did it for the resetting helper.
Looking forward to your feedback.