Skip to content

fix fxforward to have npv of reference date#2602

Closed
jewonj0620 wants to merge 5 commits into
lballabio:masterfrom
jewonj0620:feature/fix_fx_forward_npv_reference_date
Closed

fix fxforward to have npv of reference date#2602
jewonj0620 wants to merge 5 commits into
lballabio:masterfrom
jewonj0620:feature/fix_fx_forward_npv_reference_date

Conversation

@jewonj0620
Copy link
Copy Markdown
Contributor

@jewonj0620 jewonj0620 commented May 23, 2026

DiscountingFxForwardEngine currently returns a settlement-date value. When settlementDays > 0, this differs from the NPV as of the curve reference date.

This patch discounts the FX forward value back to the reference date so that the result matches the expected Instrument::NPV() convention.

@jewonj0620 jewonj0620 closed this May 23, 2026
@coveralls
Copy link
Copy Markdown

coveralls commented May 23, 2026

Coverage Status

coverage: 74.643% (+0.002%) from 74.641% — jewonj0620:feature/fix_fx_forward_npv_reference_date into lballabio:master

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.

2 participants