Tag Info

Hot answers tagged


You can create the data using the procedure described in the reference manual on pages 31 and 32. The necessary code is copied below: # The following code may be used to generate an empty data set, # which can then be filled with bond data: ISIN <- vector() MATURITYDATE <- vector() STARTDATE <- vector() COUPONRATE <- vector() PRICE <- ...


You are going to need to interpolate in some way shape or form.... Linear is the easiest and most basic, however it may not capture the curvature, you can use splines to better capture the curve. A nice guide to doing so is here: It's a guide to bootstrapping and it has all the components. http://www.business.mcmaster.ca/finance/deavesr/yieldcur.pdf


Assume we have $r(t)$ continuously compounded spot rate for maturity $t$. The price of the 2-year bond with semi-annual coupon $C$ is known to be $P$. We already have $r(0.5)$ and $r(1)$. We need $r(2)$ and $r(1.5) = f(r(1), r(2))$. Then $$ P = C [e^{-0.5 \times r(0.5)} + e^{-r(1)}+e^{-1.5 \times r(1.5)}] + (1+C)e^{-2 \times r(2)} $$ Using linear ...

Only top voted, non community-wiki answers of a minimum length are eligible