Since My Last Trip to Disney
[This article was first published on Timely Portfolio, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
My family is off to DisneyWorld for a week, so there will not be any posts while I am there. However, I thought it would be interesting to see how Disney stock has done since my last trip September 2010.
Maybe since Disney has done so poorly, the crowds will be smaller. Of course I know better than that.
Maybe since the Japanese Yen has continued to do so well, there will be more Japanese at the parks.
It is interesting how well XLY (Consumer Discretionary) over the last 1 year. I guess US consumers really are special.
From TimelyPortfolio |
require(quantmod)
require(PerformanceAnalytics)
tckrs <- c("spy","xly","dis","eem","fxy")
getSymbols(tckrs,from=”2010-09-15″,to=Sys.Date(),adjust=TRUE)
stocks <- merge(DIS[,4],SPY[,4],XLY[,4],EEM[,4],FXY[,4])
colnames(stocks) <- c("DIS","SPY","XLY","EEM","FXY")
stocks.roc <- ROC(stocks,n=1,type="discrete")
stocks.roc[1,] <- 0
charts.PerformanceSummary(stocks.roc,lwd=2,
colorset=c(“indianred3″,”steelblue4″,”darkolivegreen3″,”gray70″,”purple”),
main=”Since My Last Trip to Disney”,cex.legend=1.2)
To leave a comment for the author, please follow the link and comment on their blog: Timely Portfolio.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.