Description Usage Arguments Value
This function calculates the following set of dates (then converted into year fractions from the valuation date if needed): 1) future cashflows 2) starting date of the current accrual period 3) the fixing date for the variable rate
1 2 | CashflowCalculation(today, start.date, maturity.date, type, time.unit, dcc,
calendar, currency)
|
today |
The Date at which the analysis is being carried out |
start.date |
The settlement date of the contract |
maturity.date |
The maturity date of the contract |
type |
Type of leg (ie. floating or fixed) |
time.unit |
Number of months for the frequency of the leg (ie. monthly would have a time.unit of 1, quarterly of 3, semiannual of 6 and annual of 12) |
dcc |
Day Count Convention as per the RQuantLib doc |
calendar |
Character with the holiday's calendar as per the RQuantLib doc |
currency |
The ISO code of the swap's currency |
A list which contains 1) future cashflows 2) starting date of the current accrual period 3) the fixing date for the variable rate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.