0
$\begingroup$

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?

$\endgroup$
0
$\begingroup$

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

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ 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. $\endgroup$ – Alex C Nov 17 '18 at 4:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.