Downloading European share prices
Benjamin So
allegro at clear.net.nz
Tue May 3 12:59:38 EDT 2005
Hi David,
According to FinkCommander, my 1.08-11 version of finance-quote is
up-to-date. Using your example, I get the following result:
benjamin$ dump-finance-quote yahoo UBSN.VX
The query for UBSN.VX failed!!
Finance::Quote fields Gnucash uses:
symbol: UBSN.VX <=== required
date: 5/3/2005 <=== required
currency: ** missing ** <=== required
last: 94.85 <=\
nav: <=== one of these
price: 94.85 <=/
timezone: <=== optional
The failure message is a bit worrying, although the value is the same.
Also, the currency is missing. Is this perhaps an indication that I
need to update finance-quote, despite Fink's opinion to the contrary?
Ben
On 4/05/2005, at 0:39, David Hampton wrote:
> What version of Finance::Quote are you using? IIRC, all versions of
> F::Q simply pass the full symbol on to yahoo for resolution. Older
> versions mapped the suffix to a currency, but there is no mapping for
> the "Virtual Exchange (VX)" case. I'm not sure what F::Q does in this
> case (whether it returns a bare number, or returns a default of GBP),
> but either way it would screw up your results. The very latest CVS
> version of F::Q knows how to ask yahoo for the currency symbol as part
> of the quote request.
>
> You should have a program called dump-finance-quote installed with
> gnucash. What does it say? Below is a quote when running the very
> latest F::Q from CVS. These results look correct to me.
>
> david$ dump-finance-quote yahoo UBSN.VX
> Finance::Quote fields Gnucash uses:
> symbol: UBSN.VX <=== required
> date: 05/03/2005 <=== required
> currency: CHF <=== required
> last: 94.85 <=\
> nav: <=== one of these
> price: 94.85 <=/
> timezone: <=== optional
>
> David
More information about the gnucash-user
mailing list