I use the Yahoo Stock API to get stock quotes as described here .
Basically, I just put together a link like this:
http://finance.yahoo.com/d/quotes.csv?s=DOW+MSFT+AAPL+GOOG&f=snl1
which will give me a list of the current price for these stocks (DOW, MSFT, AAPL, GOOG).
Everything is nice and dandy, but I would also like to receive information for the NASDAQ and S & P 500 indices, but I have no idea what to use as a symbol for them.
I tried all this:
NASDAQ
INDEXNASDAQ
INDEXNASDAQ: .IXIC
INDEXNASDAQ.IXIC
IXIC
to no avail.
It seems that I have the whole idea wrong (I know little about finance).
Can anyone help me with this?
source share