Subject: | 52-Week Range is empty for non-US exchanges |
Date: | Wed, 12 May 2010 23:23:04 +0300 |
To: | bug-Finance-YahooQuote [...] rt.cpan.org |
From: | Ivan D <shumar.ua [...] gmail.com> |
It seems like 52-week range is retrieved only for US exchanges, although in
all cases below it is present on corresponding company pages on yahoo
finance:
#! /usr/bin/perl
Show quoted text
> use Finance::YahooQuote;
@tickers = qw/SSO.TO PZG GOLD ABG.L CRE.AX AME.V SLGLF.OB SLTA.PK/;
Show quoted text> @quotes = getquote @tickers;
foreach (@quotes) {
my $ref = $_;
print "$ref->[0] $ref->[14]\n";
}
Output:
SSO.TO 0.00 - 0.00
PZG 1.09 - 2.02
GOLD 55.06 - 90.76
ABG.L 0.00 - 0.00
CRE.AX 0.000 - 0.000
AME.V 0.00 - 0.00
SLGLF.OB 0.01 - 0.09
SLTA.PK 0.00 - 0.00
Module Version: 0.24
Perl Version: 5.10.0
OS: Mac OS X 10.6.3