Repository navigation
Add Lorig reference tests for compounding and cashflow valuation - #69
Closed
alecloudenback wants to merge 1 commit into
Closed
alecloudenback wants to merge 1 commit into
alecloudenback wants to merge 1 commit into
Conversation
Member
Author
|
Closing after comparing this proposal with the existing tests. For clarity, the paper references are Section 2.3 and Exercise 2.2; equation numbers in the original proposal follow the arXiv HTML, whose numbering differs from the PDF. |
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.
Add deterministic regression tests for compounding over a fixed horizon and fair exchanges of certain cashflows. The cases distinguish total compounding count from compounding frequency and check the balancing payment's value and sign using signed
Cashflowschedules.Reference: Matthew Lorig (2026), An Introduction to Financial Derivatives: Open Lecture Notes, arXiv:2611.01355v1.
Test comments link to the versioned source and identify the relevant equations. Parameters are chosen for these regression cases. The new file is included in the standard test runner.
Validation: all 24 new assertions and the full FinanceCore
Pkg.testsuite pass on Julia 1.13.1;git diff --checkpasses.