[Tutor] retrieving stock quotes
Timothy Wilson
wilson@visi.com
Tue, 11 Dec 2001 19:18:13 -0600 (CST)
On Tue, 11 Dec 2001, dman wrote:
> On Mon, Dec 10, 2001 at 09:57:55PM -0600, Timothy Wilson wrote:
> | On Mon, 10 Dec 2001, Timothy Wilson wrote:
> |
> | > Does anyone know of an ftp site or Web site that has fairly current stock
> | > quotes in an easily parsable format?
> |
> | <lame self-reply>
> | Very cool! I happened upon exactly what I needed. Go to
> | http://finance.yahoo.com/ and enter a ticker symbol (RHAT, for
>
> The only thing to beware of is it seems that yahoo likes to change the
> HTML layout of the page rather often. Depending on the nature of the
> change and the nature of your parser, this may or may not have an
> effect.
That's why I'm retrieving the raw data in CSV form. For example:
http://finance.yahoo.com/d/quotes.csv?s=sgi&f=sl1d1t1c1ohgv&e=.csv
gets the raw data for SGI. That should be a lot less likely to change over
time.
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.com
W. St. Paul, MN | | http://slashdot.org
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com