HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 12512 thumbnail
User 204699 avatar

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.
  • 8
  • 1
  • 2859
  • 2

Comments

Add your comment
User 209881 avatar

pcx99 replied ago:

1 votes Vote down Vote up Reply

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 :)

User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

Heh...I was just looking for an RSS feed like a chump! ;-)

User 204699 avatar

madskristensen replied ago:

1 votes Vote down Vote up Reply

That's cool. I'll have to implement it.

User 200965 avatar

jola_zm replied ago:

0 votes Vote down Vote up Reply

This works well for screen scraping...it's in Java tho :)

http://htmlparser.sourceforge.net/

User 204699 avatar

madskristensen replied ago:

1 votes Vote down Vote up Reply

I've made the change so that it no longer uses screen scraping, but parses the CSV file instead. Thanks for the tip pcx99.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)