Simplest way to download historical data

Dear-

I was wondering easy download for the 500 equities in SnP500 long time.

Here is best(simplest) way so far, with no login and free.

Use free R to down free data using yahoo.com.
http://www.r-project.org/



install.packages("quantmod")
library(quantmod)

NY <- new.env()
tickerNY <-c("ABT" , "ABBV" , "ACE" , "ZION" , "ZTS") ##SnP 500
getSymbols(tickerNY, src="yahoo" , env=NY , from="2014-01-01")
NY$ABT[,4]



Then in the env (similar to folder), you have 500 data.
 
Use it free and save time for, such as API.

I would gladly pay money, if some company provide 1-min or 5-min intra-day data, by using the above simple code (ONLY five lines !!!).
Hope yahoo.com charge me, if they can do it.
 
yahoo gives decent free eod historical data in csv format with stock split and dividend payout information. yahoo also gives up to 5 (or 10 days) 5-min intraday data and the recent day's 1-min data in csv format for free. google gives free up-to 15 days 1-min intraday data but very bad quality trading volume.
 
Back
Top