Description Usage Arguments Value Examples
Given basic bond details like maturity date, call date and price (if callable),
coupon, frequency, settle, daycount convention, and id (e.g. cusip),
this will create an object of type bond
. The constructor can take a
cfs
object, which, if passed, should be a list of tbl_df
s, where each
one has a name that means something. e.g. cfs$maturity
, cfs$call
,
cfs$put
etc. bond
is the basic object in this package. It is used
to calculate prices, yields, risk metrics, and do any other kind of fixed
income analysis.
1 2 3 |
maturity |
Maturity/Workout date |
coupon |
Annnual coupon amount |
dated_date |
Dated date, usually the issue date and the day from which interest accrues. |
conv |
Daycount convention (one of |
freq |
Coupon frequency (number of periods per year) |
redemption |
Redemption value or par amount |
id |
CUSIP or other id |
cfs |
List of cashflow tbl_dfs (id, cf_date, cf_amount) |
bond
object with cashflows
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.