Simplest way to download historical data

Discussion in 'Data Sets and Feeds' started by jk90029, May 12, 2015.

  1. 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.
     
  2. The person who made http://www.quantmod.com/

    did save us lots of routine work. Furthermore, it provide data in most countries like UK, Germany, Japan, ... .

    But it does NOT give intraday data.
     
  3. 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.
     
  4. aqtrader

    aqtrader

    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.
     
  5. Thanks for the good info.

    Still, they do NOT give same day data, like every 5 min from 9:30 and 4:00?