vacant has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, monks.

There are many services that offer "real-time stock quotes" on the 'net, however, most or all of these are attached to some kind of elaborate charting and analysis software. I would like to do my own perl-based charting and analysis, and would appreciate some help in locating a suitable real-time stock price feed. (Not necessarily a free one!)

I am entirely capable of stripping such data from a streaming web page or other feed (probably with a regex!). One likely suspect is Yahoo! real-time quote service, which _looks like_ a javascript applet fed by a data stream, which probably would be fine.

Many thanks

Replies are listed 'Best First'.
Re: un-fiddled-with stock prices
by superfrink (Curate) on Aug 24, 2005 at 03:32 UTC
Re: un-fiddled-with stock prices
by zentara (Cardinal) on Aug 24, 2005 at 10:58 UTC
    Do a google search for "stock prices rss feed". Then you can use XML::RSS to get the feed and turn it into a hash, and do what you want with it. For an example see ztk-BBC-World-News-Rss-TickerTape.

    Some people have already done stock retreival with LWP, see smtm and in the readmore, is a nifty little program written by someone. I've lost the author's name, but it generates graphs too.


    I'm not really a human, but I play one on earth. flash japh
Re: un-fiddled-with stock prices
by vacant (Pilgrim) on Aug 27, 2005 at 00:45 UTC
    Thank you for the excellent suggestions.