Thursday, October 15, 2009

Yahoo Stock Data Download

I am writing a WPF program to download a display stock data ( primarily price ). All I wanted to do is to get the price at regular intervals and display the data. In this what i needs was given the price to get
  • Latest price
  • Time

It probably sounds trival for most of the application programers using web services, but not for me. I program embedded systems and uses programs written by others which use the web services.

So I used the best means to learn how to do this a quick google search. Did not yeild the desired aka a simple way of doing this, nor did the visit to the yahoo developer sit. At last I came across this site that explains how to do it, in the way I can understand easily.

All that needs to be done is get the data using the following formal:

http://finance.yahoo.com/d/quotes.csv?s= a BUNCH of STOCK SYMBOLS separated by "+" &f=a bunch of special tags

The tags definition are there is the linked website.

Now that my blocker is resolved, I get back to programming the app.