Repository navigation
Fixes the Heston PDE pricing discrepancy in #112 by retaining drift and discounting at natural variance boundaries ... - #113
Open
cfries wants to merge 1 commit into
Conversation
…n replaces the implicit boundary equation with an identity—even though NONE means the PDE equation should remain active. The fix retains those terms using matching one-sided explicit and implicit stencils. It applies only where diffusion vanishes and drift points inward; prescribed boundary values remain respected.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Heston PDE pricing discrepancy in #112 by retaining drift and discounting at natural variance boundaries where diffusion vanishes. Explicit and implicit boundary calculations use matching one-sided coefficients, while prescribed boundary values remain unchanged.
Adds regression tests in both source trees. Validation: 33 tests passed on JDK 17, six regression tests passed on Java 8, and Checkstyle passed. The separate non-flat-rate issue is outside this change.
What is this PR for?
FIX 112
What type of PR is it?
BUG FIX
How should this be tested?
Unit tests included
Questions:
Does the licenses files need update?
NO
Are there breaking changes for older versions?
NO
Does the change require additional documentation?
NO