Problem retrieving "europe" stock quotes
Klaus Dahlke
klaus.dahlke at gmx.de
Fri Jun 1 16:00:59 EDT 2007
On Fri, 01 Jun 2007 13:39:38 -0400
David Hampton <gnucash at love2code.net> wrote:
> On Fri, 2007-06-01 at 17:09 +0100, ChrisW wrote:
> > I have a problem getting stock quotes from Yahoo Europe.
> > I had been getting stock quotes with no problems for a long time. I got
> > the last successful quotes from "europe" on 2nd May 2007. NYSE quotes
> > are still working just fine.
> > I'm running Gnucash V2.0.5 with version 1.13 of Finance::Quote on both
> > debian(etch) & fedora(FC5) machines.
> >
> > ...unfortunately re-installing date::manip & HTNL::TableExtract has not
> > fixed it. Any suggestions appreciated...
>
> Yahoo Europe dorked with their quote application, and I haven't found a
> workaround. It omits both the date and the end of field marker, which
> throws off all the rest of the returned data fields. For now you will
> need to change those stocks to pull from "Yahoo" and not "Yahoo Europe".
>
> David
surprisingly enough, Yahoo Europe works basically okay with ISIN.COUNTRYCODE or STOCKSYMBOL.COUNTRYCODE, but reports on the status line an error.
Cheers,
Klaus
$ perl stockdump.pl europe ABC.DE
Use of uninitialized value in numeric lt (<) at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 637.
Use of uninitialized value in pattern match (m//) at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 655.
Use of uninitialized value in sprintf at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 660.
Use of uninitialized value in sprintf at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 660.
Use of uninitialized value in sprintf at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 661.
Use of uninitialized value in sprintf at /usr/lib64/perl5/site_perl/5.8.8/Finance/Quote.pm line 661.
$VAR1 = {
'ABC.DEdiv_yield' => undef,
'ABC.DEp_change' => '+3.38',
'ABC.DEeps' => '0.00',
'ABC.DEcurrency_set_by_fq' => 1,
'ABC.DEsuccess' => 1,
'ABC.DEmethod' => 'yahoo_europe',
'ABC.DEbid' => '37.40',
'ABC.DEpe' => '0.00',
'ABC.DEdiv' => '0.00',
'ABC.DEyear_range' => undef,
'ABC.DEtime' => '06/01/2007',
'ABC.DEvolume' => '8',
'ABC.DEask' => '38.97',
'ABC.DEdate' => '00/00/2000',
'ABC.DEcap' => '157',
'ABC.DElast' => '40.09',
'ABC.DEnet' => '+1.31',
'ABC.DEdiv_date' => '0.00',
'ABC.DEname' => 'ANHEUSER-BUSCH COS',
'ABC.DEisodate' => '2000-00-00',
'ABC.DEclose' => '38.78',
'ABC.DEprice' => '40.09',
'ABC.DEerrormsg' => 'Error retreiving ABC.DE ',
'ABC.DEday_range' => undef,
'ABC.DEsymbol' => 'ABC.DE',
'ABC.DEex_div' => 'EUR ',
'ABC.DEcurrency' => 'EUR',
'ABC.DEopen' => '40.09'
};
More information about the gnucash-user
mailing list