Description Usage Arguments Value
compute initial spread of a bond from its market value.
1 | initialSpread(market.value, times, coupons, risk.free, ...)
|
market.value |
a numeric value, the total market value for the bond. |
times |
a numeric vector, the times of the coupons. |
coupons |
a numeric vector, the corresponding coupon cash flows. |
risk.free |
a numeric vector, the corresponding risk-free rates with continuous compounding. |
... |
additional parameters to be passed to |
a numeric value, the corresponding spread.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.