Finance::QuoteHist::YahooFinance::QuoteHist::Yahoo is a Perl module with site-specific subclass for retrieving historical stock quotes. | |
Download |
Finance::QuoteHist::Yahoo Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matthew P. Sisk
- Publisher web site:
- http://search.cpan.org/~stigmata/HTML-CalendarMonthSimple-1.25/CalendarMonthSimple.pm
Finance::QuoteHist::Yahoo Tags
Finance::QuoteHist::Yahoo Description
Finance::QuoteHist::Yahoo is a Perl module with site-specific subclass for retrieving historical stock quotes. Finance::QuoteHist::Yahoo is a Perl module with site-specific subclass for retrieving historical stock quotes.SYNOPSIS use Finance::QuoteHist::Yahoo; $q = new Finance::QuoteHist::Yahoo ( symbols => , start_date => '01/01/1999', end_date => 'today', ); # Values foreach $row ($q->quotes()) { ($symbol, $date, $open, $high, $low, $close, $volume) = @$row; ... } # Splits foreach $row ($q->splits()) { ($symbol, $date, $post, $pre) = @$row; } # Dividends foreach $row ($q->dividends()) { ($symbol, $date, $dividend) = @$row; }Finance::QuoteHist::Yahoo is a subclass of Finance::QuoteHist::Generic, specifically tailored to read historical quotes, dividends, and splits from the Yahoo web site (http://table.finance.yahoo.com/).For quotes and dividends, Yahoo can return data quickly in CSV format. Both of these can also be extracted from HTML tables. Splits are only available embedded in the HTML version of dividends.There are no date range restrictions on CSV queries for quotes and dividends.For HTML queries, Yahoo takes arbitrary date ranges as arguments, but breaks results into pages of 66 entries.Please see Finance::QuoteHist::Generic(3) for more details on usage and available methods. If you just want to get historical quotes and are not interested in the details of how it is done, check out Finance::QuoteHist(3). Requirements: · Perl
Finance::QuoteHist::Yahoo Related Software