For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > December 2007 > Retrieving stock data from the web









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Retrieving stock data from the web
Perl

2007-12-05, 10:02 pm

Hi All.

I want to download historical stock financial data (EPS, growth, sales revenue etc.) from the web. My intention is to populate a MYSQL database with these values and then perform a series of calculations against the databasefor my personal investing. A sample of the data I want to retrieve is here: http://moneycentral.msn.com/investo....asp?Symbol=IBM

What is the best way to do this? I'm more interested in the approach vs. specific code. I thought about using Finance::Quote but that doesn't appear to be written to retrieve the historical data I am after.
LWP also comes to mind as well.

Any suggestions would be greatly appreciated.

--Paul


Eric Krause

2007-12-06, 7:02 pm

I think WWW::Mechanize works great. Very easy to understand and use.

-Eric

Perl wrote:
> Hi All.
>
> I want to download historical stock financial data (EPS, growth, sales revenue etc.) from the web. My intention is to populate a MYSQL database with these values and then perform a series of calculations against the database for my personal investing.

A sample of the data I want to retrieve is here: http://moneycentral.msn.com/investo....asp?Symbol=IBM
>
> What is the best way to do this? I'm more interested in the approach vs. specific code. I thought about using Finance::Quote but that doesn't appear to be written to retrieve the historical data I am after.
> LWP also comes to mind as well.
>
> Any suggestions would be greatly appreciated.
>
> --Paul
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com