Bond Valuation and Analysis in R
Clifford Ang
Senior Vice President, Compass Lexecon
quantmod
package"DGS10"
) from FREDlibrary(quantmod)
t10yr <- getSymbols("DGS10", src = "FRED", auto.assign = FALSE)
head(t10yr)
DGS10
1962-01-02 4.06
1962-01-03 4.03
1962-01-04 3.99
1962-01-05 4.02
...
quantmod
packageBond Valuation and Analysis in R