How to get S&P 500 current price by using Yahoo API -


Is there a way to get the current price of S & P 500 using the Yahoo API?

I read through this page, but I do not know how to do this.

I also tried to use YQL to get the data, but it seems YQL does not currently provide the finance API.

I use their CSV interface.

The symbol is ^ Using GSPC WGT A Demos:

  wget -O - 'http: /download.finance.yahoo.com/d/quotes.csv? S = ^ gspc & amp; f = sl1p2 ''    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -