Get interest rates from rates.RData or the Markit website
get_rates returns the deposits and swap rates for the day input, along
with the date conventions for that specific currency. The day input should be
a weekday. If not, go to the most recent previous weekday.
Trade date. The rates for a trade date T are published on T-1 weekday. This date refers to the day on which we want the CDS to be priced, not the date for the interest rates as the interest rates will be used is the day before the trade date. Eg. If we are trying to find the rates used to price a CDS on 2014-04-22, it will return the rates of 2014-04-21
the three-letter currency code. As of now, it works for USD, EUR, and JPY. The default is USD.
a data frame that contains date (the CDS pricing date),
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.