Here is a way to monitor bond return sources in R. In the next iteration, I will use CPI to add history to the series.
So right now, you can expect about a 5% return from bonds. How much of that is real return is unknown.
getSymbols("WGS10YR",src="FRED") #load 10yTreasury
getSymbols("WFII10",src="FRED") #load 10yTIP for real return
getSymbols("BAMLC0A0CM",src="FRED") #load Corporate for credit
getSymbols("CPIAUCSL",src="FRED") #load Corporate for credit
ggplot(bondReturnSourcesToGraph, stat="identity", aes(x=Date,y=Yield,fill=ReturnSource,group=ReturnSource)) + geom_area() +scale_x_date(format = "%Y") + opts(title = "Sources of Bond Return")
This is a great blog, thanks for posting this!! What is BAMLC0A0CM? Have you gone back to 1980s (to see what it looked like when interest rates were in high teens? And also, could you post the link that includes your updated post with CPI?ReplyDelete
research.stlouisfed.org/fred2/series/BAMLC0A0CM BAMC0A0CM is the Merrill Lynch/Bank of America US Investment Grade Corporate Index Option Adjusted Spread. Unfortunately, the publicly available data is limited to what is shown. For longer history, see the previous posts. I will update today and post.ReplyDelete
Thanks so much for reading and commenting.