Finance::Quote cannot download information from tickers with + or - in the symbol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GnuCash |
New
|
Undecided
|
Unassigned | ||
libfinance-quote-perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libfinance-
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:
FUND:
FUND:
FUND:
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~
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: libfinance-
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libfinance-
Uname: Linux 2.6.28-15-generic x86_64
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