Skip Menu |

This queue is for tickets about the Finance-QuoteHist CPAN distribution.

Report information
The Basics
Id: 18089
Status: resolved
Priority: 0/
Queue: Finance-QuoteHist

People
Owner: MSISK [...] cpan.org
Requestors: jcalkins [...] swcp.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.05
Fixed in: (no value)



Subject: Fatal error when reporting splits on indices.
The changes for splits in 1.05 work great for equity symbols, but a fatal error occurs if any index symbols are in the symbol list. command line: perl -MFinance::QuoteHist -e "@symbols = qw/^DJI ^OEX ^GSPC ^NYA XAX ^IXIC ^VIX/; $q = Finance::QuoteHist->new(symbols => \@symbols, start_date => '01/01/2006', end_date => 'today'); print qq(\nSplits\n); foreach $row ($q->splits()) { print qq(@$row\n); }" Error: "Can't call method "hrow" on an undefined value at C:/Apps/Perl/site/lib/Finance/QuoteHist/Yahoo.pm line 112." (Rarely an index or index-tracking fund really does split. For example, QQQQ split on 20-Mar-00.)