By madskristensen
via madskristensen.dk
Published: Jan 31 2007 / 11:10
Get real-time stock quotes with this simple class. It updates it self every minute with the latest quotes. Easy to modify.



Comments
pcx99 replied ago:
yahoo actually does allow stock quote download in .csv format, the url is
http://download.finance.yahoo.com/d/quotes.csv?s=MSFT&f=sl1d1t1c1ohgv&e=.csv
s=symbol (MSFT, PRU, etc)
The format of the file is
"PRU",88.97,"1/30/2007","4:01pm",0.00,N/A,N/A,N/A,0
Not as fun as "screen scraping" tho :)
bloid replied ago:
Heh...I was just looking for an RSS feed like a chump! ;-)
madskristensen replied ago:
That's cool. I'll have to implement it.
jola_zm replied ago:
This works well for screen scraping...it's in Java tho :)
http://htmlparser.sourceforge.net/
madskristensen replied ago:
I've made the change so that it no longer uses screen scraping, but parses the CSV file instead. Thanks for the tip pcx99.
Voters For This Link (8)
Voters Against This Link (1)