Description Usage Arguments Value Examples
View source: R/interpolate-bey.R
Find the interpolated bond equivalent yield for indemnity calculation.
1 2 | interpolate_bey(issue_date, settlement_date, maturity_date, maturity_dt,
yields_dt, wal, cmhc_audit = TRUE)
|
issue_date |
Issue date. |
settlement_date |
Settlement date. |
maturity_date |
Maturity date. |
yields_dt |
|
wal |
Weighted average life of security (NHA MBS pool). |
bey_interpolated Interpolated BEY for indemnity calculation.
1 2 3 4 5 | issue_date <- lubridate::ymd( "2015-01-30" )
reporting_date <- lubridate::ymd( "2015-01-30" )
data( bloomberg_goc, package = "blpxl" )
data( bloomberg_cad_maturity, package = "blpxl" )
interpolate_bey( issue_date, reporting_date, wal, yields_dt = bloomberg_goc, maturity_dt = bloomberg_cad_maturity )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.