{"name":"gist: 984524","desc":"Correlation between two assets from Yahoo Finance using Quantmod","actor":"ProbablePattern","url":"https://gist.github.com/984524","snippet":"library(quantmod)\ngetSymbols(c(\"SPY\",\"^DJI\"),src=\"yahoo\")\ndata=data.frame(SPY[,6],DJI[,6])","actor_gravatar":"00ddb867b556124d4d2ce620548c7751","action":"update"}