logo       

Re: How to Get Stock Quotes: msg#03002

lang.realbasic.user

Subject: Re: How to Get Stock Quotes


On Jan 30, 2004, at 2:45 PM, Will Leshner wrote:

Perry Bushong wrote:
I'm starting a new project that will require the ability to import stock
quotes periodically from an online source. Does anyone have an example
class/method for this or is there one available to purchase. In particular,
I need to d/l options chains. I would also appreciate any suggestions for
online sources of quotes (not necessarily real-time). Historical quotes
would be nice as well.

Funny you should mention that. My "From Scratch" column in RB Developer just spent three issues on building a stock quote fetcher using HTTPSocket and an XML parser. The stock feed came from NASDAQ. Unfortunatley, it looks like NASDAQ turned off their feed. So while the examples in the articles are still interesting, they don't work anymore. There is a way to get stock data in CSV format from Yahoo. I'm not sure what the link is but I bet if you hunt around you can find it.
Pretty easily I might add

Go to Yahoo, look at a stock quote, and below it there is a "DOWNLOAD DATA" link

This one is for one of my favorite little airlines here in Canada that has this nasty habit of making me money all the time (WestJest - http://finance.yahoo.com/q?s=WJA.TO&d=t)

http://finance.yahoo.com/d/quotes.csv?s=WJA.TO&f=sl1d1t1c1ohgv&e=.csv

the parameter in the URL
s = yahoo ticker symbol
f=s|1d1t1c1ohgv are all controllable and give you different date ranges etc.
e=.csv (comma separated)


- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise