forked from lballabio/QuantLib
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDS schedule generation changes and tests for issue lballabio#727.
The main addition is a function cdsMaturity(...) that can be used to derive a CDS maturity date given a trade date, a valid CDS tenor and a valid CDS date generation rule. The date generation is tested against the dates provided in the ISDA documentation for CDS2015. It is also tested for CDS and OldCDS. The logic for the 0M tenor is added for the CDS and CDS2015 rules.
- Loading branch information
francis
committed
Nov 16, 2020
1 parent
a2fb7df
commit 72c6064
Showing
4 changed files
with
573 additions
and
47 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.