Description Usage Arguments Value
This function in particular selects the leg that is paying fixed as the old calculation methodology considers the discount factor curve and the forward curve to be the same. This makes the floating leg always pricing at par. It then interpolates the discount factor over the cashflow dates using the log linear interpolation methodology.
1 | OLDParSwapRateCalculation(swap.dates, swap, df.table)
|
swap.dates |
A list of lists with the main cashflow information for both the legs |
swap |
A list with the swap's charachteristics |
df.table |
A tibble with the discount factor curve information |
A list containing the par swap rate and the annuity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.