Problem obtaining share price

David Hampton hampton-gnucash at
Thu Jun 22 10:33:23 EDT 2006

On Thu, 2006-06-22 at 18:53 +1000, Leslie Katz wrote:

> [leslie at localhost ~]$ dump-finance-quote yahoo_australia WCTPA
> Finance::Quote fields Gnucash uses:
>     symbol: WCTPA.AX             <=== required
>       date: 06/22/2006           <=== required
>   currency:                      <=== required
>       last: 99.910               <=\
>        nav:                      <=== one of these
>      price: 99.910               <=/
>   timezone:                      <=== optional
> I noticed that the information obtained for the new share did not have 
> the currency field filled in, although the information obtained for the 
> longstanding one did.
> I suspect that that means that the problem is with Yahoo rather than 

Yes, this is a problem with Yahoo.  Instead of returning the currency
"AUD" for WCTPA.AX, or not returning any currency, yahoo is declaring
that the currency is "".  F::Q can handle the first two, but doesn't
handle the latter.

The attached patch should solve the problem for you.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: UDiffs
Type: text/x-patch
Size: 701 bytes
Desc: not available
Url : 

More information about the gnucash-user mailing list