Finance::Quote cannot download information from tickers with + or - in the symbol

Bug #451470 reported by Sanchola
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GnuCash
New
Undecided
Unassigned
libfinance-quote-perl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: libfinance-quote-perl

Finance::Quote will not get information from Yahoo! when the stock tickers contain either the plus (+) or minus (-) sign in the stock symbol. I have seen this in funds listed on the Mexican market, but I assume this is true for any market. This happens with various different symbols, e.g. ACTICOBB-1.MX, ACTIVCOB-1.MX, I+GLOBDB-F.MX, and others. Also, GnuCash does not report data on the MXN currency, but this may be another bug altogether. When getting quotes in GnuCash I get the following message box:

Unable to retrieve quotes for these items:
  FUND:IXEEUROBF1.MX
  FUND:ACTIVCOB-1.MX
  FUND:ACTICOBB-1.MX
  FUND:IXEMPM+BF1.MX
  CURRENCY:MXN
Continue using only the good quotes?

Here is the output of gnc-fq-dump for ACTIVCOB-1.MX:

gnc-fq-dump -v yahoo ACTIVCOB-1.MX
Finance::Quote fields Gnucash uses:
    symbol: ACTIVCOB-1.MX <=== required
      date: ** missing ** <=== required
  currency: ** missing ** <=== required
      last: 0.00 <=\
       nav: <=== one of these
     price: <=/
  timezone: <=== optional

** This stock quote cannot be used by gnucash!!

All fields returned by Finance::Quote for stock ACTIVCOB-1.MX

stock field value
----- ----- -----
ACTIVCOB-1.MX ask:
ACTIVCOB-1.MX avg_vol: 0
ACTIVCOB-1.MX bid:
ACTIVCOB-1.MX cap:
ACTIVCOB-1.MX close:
ACTIVCOB-1.MX date:
ACTIVCOB-1.MX day_range: N/A - N/A
ACTIVCOB-1.MX div:
ACTIVCOB-1.MX div_date:
ACTIVCOB-1.MX div_yield:
ACTIVCOB-1.MX eps:
ACTIVCOB-1.MX errormsg: Stock lookup failed
ACTIVCOB-1.MX ex_div:
ACTIVCOB-1.MX last: 0.00
ACTIVCOB-1.MX name: ACTIVCOB-1.MX
ACTIVCOB-1.MX net:
ACTIVCOB-1.MX open:
ACTIVCOB-1.MX p_change:
ACTIVCOB-1.MX pe:
ACTIVCOB-1.MX success: 0
ACTIVCOB-1.MX symbol: ACTIVCOB-1.MX
ACTIVCOB-1.MX time:
ACTIVCOB-1.MX volume:
ACTIVCOB-1.MX year_range: N/A - N/A

I am using gnucash version 2.2.9-0ubuntu1~jaunty1 libfinance-quote-perl 1.13-4 perl 5.10.0-19ubuntu1.1 on Ubuntu Jaunty amd64 (kernel 2.6.28-15-generic)

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: fglrx wl
Package: libfinance-quote-perl 1.13-4
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libfinance-quote-perl
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
Sanchola (sanchola) wrote :
Revision history for this message
Sanchola (sanchola) wrote :

Of course, Yahoo! does have information on the symbols above. As an example, here is the page for ACTICOBB-1.MX:

http://finance.yahoo.com/q?s=ACTICOBB-1.MX

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libfinance-quote-perl (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.