ycurve_for_interpolation: Get the yield curve to interpolate for indemnity calculation

Description Usage Arguments Value Examples

View source: R/ycurve-for-interpolation.R

Description

Get the yield curve to interpolate for indemnity calculation

Usage

1
ycurve_for_interpolation(retrieval_date, ycurve_dt, date_re = "date")

Arguments

retrieval_date

Retrieval (anchor) date.

ycurve_dt

Datatable of historical yield curves.

date_re

Regex to uniquely match the column with dates in yields_dt.

Value

dt Data.table of yield curve for indemnity calculation

Examples

1
2
3
retrieval_date <- lubridate::ymd( "2013-03-01" )
data( bloomberg_goc, package = "blpxl" )
ycurve_for_interpolation( retrieval_date, ycurve_dt = bloomberg_goc )

vathymut/indemnity documentation built on May 3, 2019, 4:35 p.m.