stock prices off the net.

  • Follow


Hey,

    I want to grab stock prices off the net, but I'm not sure how to go
about it. I'm pretty sure I should be able to query the web-server on a
financial web-site and parse the HTML that is returned. Is there some sample
code out there?

Thanks in advance,

//Rob


0
Reply robert.w.love (4) 8/18/2003 5:44:05 PM


Rob Love wrote:
> Hey,
> 
>     I want to grab stock prices off the net, but I'm not sure how to go
> about it. I'm pretty sure I should be able to query the web-server on a
> financial web-site and parse the HTML that is returned. Is there some sample
> code out there?
> 

www.kmethods.org, check the "FULL LIST" and you will find several Web 
Services for stock quotes.  Code up your client using SOAP and have at it

0
Reply dzimm (93) 8/18/2003 6:16:57 PM


On Mon, 18 Aug 2003 10:44:05 -0700, "Rob Love"
<robert.w.love@intel.com> wrote or quoted :

>    I want to grab stock prices off the net, but I'm not sure how to go
>about it. I'm pretty sure I should be able to query the web-server on a
>financial web-site and parse the HTML that is returned. Is there some sample
>code out there?

I snaffle currency exchange rates off the web several times each day
for currcon.  See http://mindprod.com/products.html#CURRCON The basic
tools are an HTTP Get.  See http://mindprod.com/fileio.html

You compose your query to mimic the one the browser would send, then
you get back a great fat HTML page complete with ads and all sorts of
crud you don't want.  You have to figure out a custom way to weed
through it to find what you want, then copy it to a file for further
processing.

Marty Hall's book is the only place I have seen this all explained.
See http://mindprod.com/jgloss/cgi.html for a link.

Your case may be more tricky. If you have a ticker stream coming
constantly updating your screen, typically you talk to the provider
and ask for technical details on how to hook up to that stream.  They
will likely want money.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming. 
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
0
Reply roedy (1019) 8/18/2003 8:57:41 PM

"Rob Love" <robert.w.love@intel.com> wrote in message
news:bhr9io$lsg$1@news01.intel.com...
> I couldn't access www.kmethods.org. ??

Try http://www.xmethods.org/

Arcadius.


0
Reply ahouans (12) 8/18/2003 10:16:43 PM


Rob Love wrote:
> I couldn't access www.kmethods.org. ??
> 
> "David Zimmerman" <dzimm@hiddenmind.com> wrote in message
> news:tK80b.8141$CC6.377473@twister.southeast.rr.com...
> 
>>
>>Rob Love wrote:
>>
>>>Hey,
>>>
>>>    I want to grab stock prices off the net, but I'm not sure how to go
>>>about it. I'm pretty sure I should be able to query the web-server on a
>>>financial web-site and parse the HTML that is returned. Is there some
> 
> sample
> 
>>>code out there?
>>>
>>
>>www.kmethods.org, check the "FULL LIST" and you will find several Web
>>Services for stock quotes.  Code up your client using SOAP and have at it
>>
Sorry, my mistake,   it's xmethods.org

0
Reply dzimm (93) 8/19/2003 1:55:47 AM

"Rob Love" <robert.w.love@intel.com> wrote in message
news:bhr9io$lsg$1@news01.intel.com...
> I couldn't access www.kmethods.org. ??

I think the intended URL was
http://www.xmethods.com/
it even has a stock quote demo.

>
> "David Zimmerman" <dzimm@hiddenmind.com> wrote in message
> news:tK80b.8141$CC6.377473@twister.southeast.rr.com...
> >
> >
> > Rob Love wrote:
> > > Hey,
> > >
> > >     I want to grab stock prices off the net, but I'm not sure how to
go
> > > about it. I'm pretty sure I should be able to query the web-server on
a
> > > financial web-site and parse the HTML that is returned. Is there some
> sample
> > > code out there?
> > >
> >
> > www.kmethods.org, check the "FULL LIST" and you will find several Web
> > Services for stock quotes.  Code up your client using SOAP and have at
it
> >
>
>


0
Reply wbrogden (214) 8/19/2003 3:29:10 PM

5 Replies
26 Views

(page loaded in 0.112 seconds)

Similiar Articles:













7/27/2012 10:28:12 PM


Reply: