Is there way to get S&P 500 current price by using Yahoo API?
I've read through this page, but could not find out how to do it. http://www.gummy-stuff.org/Yahoo-data.htm
I also tried to use YQL to get data, but it seems like YQL doesn't provide finance API currently.
I use their CSV interface.
http://code.google.com/p/yahoo-finance-managed/wiki/csvQuotesDownload
The symbol is ^GSPC
Using wget as a demo:
wget -O - 'http://download.finance.yahoo.com/d/quotes.csv?s=^gspc&f=sl1p2'