Foxpond Hollow has asked for the wisdom of the Perl Monks concerning the following question:
Here is the error I get:use Finance::QuoteHist; $q = Finance::QuoteHist->new ( symbols => [qw(IBM UPS AMZN)], start_date => '01/01/2008', # or 'one year ago', see Date::Manip end_date => 'today', ); # Quotes 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; } # Culprit $fetch_class = $q->quote_source('IBM');
I'm not sure if this is an error on my part somehow or a glitch in the module, and I wanted to run it by the monks before submitting a bug report. Because I get the error with the module's sample code, I'm assuming it's not a problem with my own code but let me know if you feel it would be useful to post that too and I will. Thanks.Use of uninitialized value $args[0] in join or string at /usr/local/Ac +tivePerl-5.10/site/lib/Date/Manip.pm line 134. Problem parsing date string '' at splitTest.pl line 15
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem getting splits with Finance::QuoteHist-1.12
by Khen1950fx (Canon) on May 24, 2010 at 06:10 UTC | |
by Anonymous Monk on Jun 10, 2010 at 04:13 UTC | |
|
Re: problem getting splits with Finance::QuoteHist-1.12
by choroba (Cardinal) on May 23, 2010 at 23:09 UTC |