Description Usage Arguments Details Value Examples
A collection of methods that shift dates according to index conventions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | to_reset(dates, index)
to_value(dates, index)
to_maturity(dates, index)
## Default S3 method:
to_reset(dates, index)
## Default S3 method:
to_value(dates, index)
## Default S3 method:
to_maturity(dates, index)
|
dates |
a vector of dates to shift |
index |
an instance of an object that inherits from the |
The following describes the default methods. to_reset()
treats the input
dates as value dates and shifts these to the corresponding reset or fixing
dates using the index's spot lag; to_value()
treats the input dates as
reset or fixing dates and shifts them to the corresponding value dates using
the index's spot lag; and to_maturity()
treats the input dates as value
dates and shifts these to the index's corresponding maturity date using the
index's tenor.
a vector of shifted dates
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.