Your message dated Sun, 18 Sep 2011 03:02:58 +0000
with message-id <[email protected]>
and subject line Bug#517626: fixed in libfinance-quote-perl 1.17+git20110918-1
has caused the Debian Bug report #517626,
regarding libfinance-quote-perl: Fix for regression in yahoo_europe for mutual 
funds
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
517626: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517626
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libfinance-quote-perl
Version: 1.13-4
Severity: normal

1.13-4 broke retrieval of quotes of (some?) mutual funds (of the Dutch
market) through the yahoo_europe method. Example in case is INGBM.AS.

Here's my test code:

 ------  begin ----------

use Finance::Quote;
use Data::Dumper;

my $q = Finance::Quote->new();
my %data = $q->fetch('yahoo_europe', 'INGBM.AS');
#my %data = $q->fetch('yahoo_europe', 'KPN.AS');

print Dumper( {%data} );

 ------  end ----------

Output with 1.13-4 (with "undef" lines removed for brevity):

          'INGBM.ASlast' => '28.88',
          'INGBM.ASname' => 'IBP ING BASIC MAT 6',
          'INGBM.AStime' => ' 9:46PM',
          'INGBM.ASisodate' => '2009-02-27',
          'INGBM.ASopen' => '28.43',
          'INGBM.ASsuccess' => 1,
          'INGBM.ASvolume' => '+1.58%',
          'INGBM.ASprice' => '28.88',
          'INGBM.ASdate' => '02/27/2009',
          'INGBM.ASp_change' => '+0.45',
          'INGBM.ASmethod' => 'yahoo_europe',
          'INGBM.ASsymbol' => 'INGBM.AS',
          'INGBM.ASdiv_yield' => '0.00',

In particular:

 - currency is undef, which makes it unusable by Gnucash
 - p_change contains a net change, should contain percent
 - net is undef
 - volume contains what should be p_change

Output with 1.13-3 (on another machine):

          'INGBM.ASnet' => '+0.45',
          'INGBM.ASlast' => '28.88',
          'INGBM.ASname' => 'IBP ING BASIC MAT 6',
          'INGBM.AStime' => ' 9:46PM',
          'INGBM.ASisodate' => '2009-02-27',
          'INGBM.ASclose' => '28.43',
          'INGBM.ASprice' => '28.88',
          'INGBM.AScurrency' => 'EUR',
          'INGBM.ASdate' => '02/27/2009',
          'INGBM.ASp_change' => '+1.58',
          'INGBM.ASmethod' => 'yahoo_europe',
          'INGBM.ASsymbol' => 'INGBM.AS',
          'INGBM.ASdiv' => '0.00',

In particular:

 - currency is now set, which saves the day for use with Gnucash
 - p_change is now correct
 - net is correct

But there is indeed something fishy going on with (Dutch) mutual funds
in yahoo UK finance: the yahoo CSV data is not in the same format for
stocks and for mutual funds! Mutual funds have an extra column
inserted between the third and fourth, which shifts all columns after
that one to the right. Apparently 1.13-3 had some magic so that it
still works, but 1.13-4 broke that.

A concrete example. I take a stock:

 GET /d/quotes.csv?f=snl1d1t1c1p2vbapomwerr1dyj1qa2c4&e=.csv&s=KPN.AS HTTP/1.1
 Host: uk.finance.yahoo.com

 HTTP/1.1 200 OK
 Date: Sat, 28 Feb 2009 23:28:17 GMT
 Content-Type: application/vnd.ms-excel

 KPN.AS,KONINKLIJKE KPN NV ,10.19, 
9:46PM,02/27/2009,-0.03,-0.24%,10311130,10.19,10.20,10.22,10.15,N/A,N/A,0.77,0.77,0.35,5.39,N/A,8442941,EUR

Here, the fourth column is last trade time, and yahoo_europe method of
version 1.13-3 makes an OK, if not 100% correct job of decoding it
(e.g. div_date is supposed to contain the dividend pay date, but
contains its amount):

          'KPN.ASclose' => '10.22',
          'KPN.AScap' => '8442941',
          'KPN.ASname' => 'KONINKLIJKE KPN NV ',
          'KPN.ASsuccess' => 1,
          'KPN.ASvolume' => '10311130',
          'KPN.ASdate' => '02/27/2009',
          'KPN.AScurrency_set_by_fq' => 1,
          'KPN.ASnet' => '-0.03',
          'KPN.ASprice' => '10.19',
          'KPN.ASdiv' => '5.39',
          'KPN.AScurrency' => 'EUR',
          'KPN.ASask' => '10.20',
          'KPN.ASopen' => '10.15',
          'KPN.ASpe' => '0.77',
          'KPN.ASisodate' => '2009-02-27',
          'KPN.ASeps' => '0.77',
          'KPN.ASdiv_date' => '0.35',
          'KPN.ASsymbol' => 'KPN.AS',
          'KPN.ASp_change' => '-0.24',
          'KPN.ASlast' => '10.19',
          'KPN.ASmethod' => 'yahoo_europe',
          'KPN.ASex_div' => 'EUR ',
          'KPN.AStime' => ' 9:46PM',
          'KPN.ASbid' => '10.19'


1.13-4 gives exactly the same result.

          'KPN.ASclose' => '10.22',
          'KPN.AScap' => '7905630',
          'KPN.ASname' => 'KONINKLIJKE KPN NV ',
          'KPN.ASsuccess' => 1,
          'KPN.ASvolume' => '10311130',
          'KPN.ASdate' => '02/27/2009',
          'KPN.AScurrency_set_by_fq' => 1,
          'KPN.ASnet' => '-0.03',
          'KPN.ASprice' => '10.19',
          'KPN.ASdiv' => '3.53',
          'KPN.AScurrency' => 'EUR',
          'KPN.ASask' => '10.20',
          'KPN.ASopen' => '10.15',
          'KPN.ASpe' => '0.77',
          'KPN.ASisodate' => '2009-02-27',
          'KPN.ASeps' => '0.77',
          'KPN.ASdiv_date' => '0.36',
          'KPN.ASsymbol' => 'KPN.AS',
          'KPN.ASp_change' => '-0.24',
          'KPN.ASlast' => '10.19',
          'KPN.ASmethod' => 'yahoo_europe',
          'KPN.ASex_div' => 'EUR ',
          'KPN.AStime' => ' 9:46PM',
          'KPN.ASbid' => '10.19'


Now, if I take INGBM.AS (a mutual fund), here's the result:

 GET /d/quotes.csv?f=snl1d1t1c1p2vbapomwerr1dyj1qa2c4&e=.csv&s=INGBM.AS HTTP/1.1
 Host: uk.finance.yahoo.com

 HTTP/1.1 200 OK
 Date: Sat, 28 Feb 2009 23:28:45 GMT
 Content-Type: application/vnd.ms-excel

 INGBM.AS,IBP ING BASIC MAT 6,28.88,N/A, 
9:46PM,02/27/2009,+0.45,+1.58%,N/A,N/A,N/A,28.43,N/A,N/A,N/A,N/A,N/A,N/A,0.00,N/A,N/A,N/A,N/A,EUR

You see? The fourth column, which contains "N/A" pushes the last trade
time & date, the net change, etc one column more to the right, and
gives the results already detailed above.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libfinance-quote-perl depends on:
ii  libcrypt-ssleay-perl          0.57-1+b1  Support for https protocol in LWP
ii  libhtml-tableextract-perl     2.10-3     module for extracting the content 
ii  libwww-perl                   5.820-1    WWW client/server library for Perl
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

libfinance-quote-perl recommends no packages.

libfinance-quote-perl suggests no packages.

-- no debconf information


The other machine (with 1.13-3):

ii  libcrypt-ssleay-perl           0.57-1+b1
ii  libhtml-tableextract-perl      2.10-3
ii  libwww-perl                    5.813-1
ii  perl                           5.10.0-19



--- End Message ---
--- Begin Message ---
Source: libfinance-quote-perl
Source-Version: 1.17+git20110918-1

We believe that the bug you reported is fixed in the latest version of
libfinance-quote-perl, which is due to be installed in the Debian FTP archive:

libfinance-quote-perl_1.17+git20110918-1.debian.tar.gz
  to 
main/libf/libfinance-quote-perl/libfinance-quote-perl_1.17+git20110918-1.debian.tar.gz
libfinance-quote-perl_1.17+git20110918-1.dsc
  to 
main/libf/libfinance-quote-perl/libfinance-quote-perl_1.17+git20110918-1.dsc
libfinance-quote-perl_1.17+git20110918-1_all.deb
  to 
main/libf/libfinance-quote-perl/libfinance-quote-perl_1.17+git20110918-1_all.deb
libfinance-quote-perl_1.17+git20110918.orig.tar.gz
  to 
main/libf/libfinance-quote-perl/libfinance-quote-perl_1.17+git20110918.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bart Martens <[email protected]> (supplier of updated libfinance-quote-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 18 Sep 2011 03:51:13 +0200
Source: libfinance-quote-perl
Binary: libfinance-quote-perl
Architecture: source all
Version: 1.17+git20110918-1
Distribution: unstable
Urgency: low
Maintainer: Bart Martens <[email protected]>
Changed-By: Bart Martens <[email protected]>
Description: 
 libfinance-quote-perl - Perl module for retrieving stock quotes from a variety 
of sources
Closes: 517626 564639 610186
Changes: 
 libfinance-quote-perl (1.17+git20110918-1) unstable; urgency=low
 .
   * New upstream version from git.
     + Online test tsp.t works now.  Closes: #610186.
     + Online test vwd.t works now.  Closes: #564639.
     + Closing bug tagged fixed-upstream.  Closes: #517626.
   * Switch to dpkg-source 3.0 (quilt) format.
   * debian/rules: Skip online test bsero.t.
Checksums-Sha1: 
 5679961830ba65f1e1715bb66a57c5eb2c0f180e 1887 
libfinance-quote-perl_1.17+git20110918-1.dsc
 c28529aa6a63d8c130f1bf55d6990c0648d0f6a6 224894 
libfinance-quote-perl_1.17+git20110918.orig.tar.gz
 22a9b048226e0a04d17c88376845eec5e0d7ce46 8902 
libfinance-quote-perl_1.17+git20110918-1.debian.tar.gz
 ef466058d738e57aeb075af0f935938ce920a1d0 213428 
libfinance-quote-perl_1.17+git20110918-1_all.deb
Checksums-Sha256: 
 c092ec588bf1832d2f4dd232c764317e26dbb3ea83dd19e5259f288ebee16abc 1887 
libfinance-quote-perl_1.17+git20110918-1.dsc
 33d58afb18dd2a5e263407749b67705c09544d583ed9a12aa190b55ece46e9ca 224894 
libfinance-quote-perl_1.17+git20110918.orig.tar.gz
 64aaa997b66bbd178509055fcfa268f852ef3b9225c38bcf7bb7c0dc169fe19d 8902 
libfinance-quote-perl_1.17+git20110918-1.debian.tar.gz
 27d7d3bd526d3c9e4d33453021e6f1b79a0789842a9c342a36922d288300bfc9 213428 
libfinance-quote-perl_1.17+git20110918-1_all.deb
Files: 
 c9159273fd951050dce604bec78c00b5 1887 perl optional 
libfinance-quote-perl_1.17+git20110918-1.dsc
 7db91a767caac7c61f2fce071f07b020 224894 perl optional 
libfinance-quote-perl_1.17+git20110918.orig.tar.gz
 1494f632b746fca7bbb3daacb9307c0e 8902 perl optional 
libfinance-quote-perl_1.17+git20110918-1.debian.tar.gz
 3128d4fb5b78af3fd6a5771bf9112bf8 213428 perl optional 
libfinance-quote-perl_1.17+git20110918-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJOdVxCAAoJEDNV9NY7WCHMdyAQALUxjipc287tUjbCqdYXRPvF
KE/3WGtU+vrPmxoCeitiBx1+eUDM+5/wt5KnFHz47HG+rq12ElPauGKnIKWhr2FI
EJAmbyZO9BR0AFzCrSu7mhU+2NXcyp7yaYl/3+HL1/YkX06vHhJ6+52VMr0uq01u
mNHGJendPtHLp6U6P7ToIM2yCmYxf8kqeSUFL1BamSFw8tAX0whPno+HAcOcU6xi
ml7/aErI+1X4v1lgs2WH0NwImmXbL0lfstcEfi1ZtnG6WKDK5XdhcL75LkYBz2QW
GNX/ecDyk1m9KLK+5NBWhemaBtNXB/qwpfDZEX3DliAImABoYbyoTaW4kfwx2u4Z
xajOeo807QoabDf22eB9YeS3jFdWQaWPOuWsCYMkKvrRoy98UUzXVBGoVLaXk49R
cgoXNSVI2SxK3Mi9Pmua0zB2E0DajqCOkVSfleODiQd0Mao0a0+gPgjtjSdyzlkf
mKmwnzugEWGwhYkzL7Yw85kxc6twSeG0bdkmtDlImSEK/rZaP0HrvWRvDmlrpSc2
H/NQB8nQi6b2G7ZrhtTxCyP8NlHgkw1cCk6BQdzFCG/RxIjoQMOZY0EuZ12NB9fE
DfPK+e/0Yf/vUZRIhtbk1CquQGTAt70GiGuLS//+lC79G7/YTSPdDZ4QRZkvhN3d
hDzpSd/EyJWaMjp4fzb+
=tgYV
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to