Is there any way to get free SP500 historical end-of-day data ideally in API and csv form? Not sure why it seems to be harder than I could imagine.
For example:
Quandl: SPY or SPX symbol not found
rs = requests.get('https://www.quandl.com/api/v3/datasets/WIKI/SPY/data.csv?api_key=<API Keys>')
Is there any API that I could try?
Thank you.