0

I would like the entire price history of both these indices at an end-of-day level, not intra day. Is there an R api that I can use for such an exercise?

1 Answers1

0

I managed to find the Nasdaq on the following website:

https://fred.stlouisfed.org/series/NASDAQCOM

Not sure how accurate the data is though.I also found S&P data here:

https://finance.yahoo.com/quote/%5EGSPC/history?p=%5EGSPC

  • 1
    Fred is a government service that is considered accurate, and is used by many professional economists in their work. I would be more suspicious of advertiser supported sites like Yahoo. – Alex C Nov 17 '18 at 04:02