Description Usage Arguments Examples
Computes yield to maturity, yield to call, current yield and adjusted current yield.
1 2 3 4 5 | ivt_bond_ytm(face_value, coupon_rate, bond_price, years)
ivt_cyield(face_value, coupon_rate, bond_price)
ivt_adj_cyield(face_value, coupon_rate, bond_price, years)
|
face_value |
Face value of the bond. |
coupon_rate |
Coupon rate of the bond. |
bond_price |
Price/market value of the bond. |
years |
Years to maturity. |
1 2 3 4 5 6 | ## Not run:
ivt_bond_ytm(99.94, 6.25, 139.87, 12)
ivt_cyield(1000, 10, 980)
ivt_adj_cyield(100, 8, 97.26, 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.