Skip to content

Bermudan swaption example: vegas through the calibration with the implicit function theorem - #60

Open
auto-differentiation-dev wants to merge 2 commits into
mainfrom
fix/bermudan-sample-ift
Open

auto-differentiation-dev wants to merge 2 commits into
mainfrom
fix/bermudan-sample-ift

Conversation

@auto-differentiation-dev

Copy link
Copy Markdown
Contributor

The vegas were differentiated through the calibration's optimizer iterations, which stop short of the optimum, so they were off by up to 7%. They now come from the implicit function theorem at the calibrated parameters, as in the Heston example.

Tested: a new sample test checks the price and all 25 vegas against bump and recalibrate (within 0.2%); it fails before the change and passes after.

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