Real and Theoretical DJIA# Stockl*r2009-07-10 07:071 楼I remember a few weeks ago someone asked for such a comparison ...Looks no so much difference recently ...
l*r2009-07-10 07:072 楼in R:library(quantmod) # A library for stock analysisDJIA DD", "XOM", "GE", "CSCO", "HPQ", "HD", "IBM", "INTC", "JNJ", "JPM", "KFT", "MCD", "MRK", "MSFT", "PFE", "PG", "UTX", "VZ", "WMT", "DIS")getSymbols(DJIA) # Download historical data for Dow 30 stocksgetSymbols("^DJI") # Download historical data for Dow indexx close priceplot【在 l*******r 的大作中提到】: I remember a few weeks ago someone asked for such a comparison ...: Looks no so much difference recently ...