Problems getting quotes for funds
Paul Stansell
ps at ph.ed.ac.uk
Wed Feb 13 04:41:41 EST 2008
Derik,
That's very helpful to know about gnc-fq-dump, thanks. I too think that
yahoo have changed something (possibly the ticker symbol) but I'm not sure
how to deal with it.
If one downloads a quote from the yahoo site, for example Standard Life,
the first field of the single line file is SL.L and this can be used by
gnc-fq-dump:
gnc-fq-dump yahoo SL.L
Finance::Quote fields Gnucash uses:
symbol: SL.L <=== required
date: 02/13/2008 <=== required
currency: GBP <=== required
last: 2.0725 <=\
nav: <=== one of these
price: 2.0725 <=/
timezone: <=== optional
However, if one downloads a quote for a fund, for example New Star Pacific
Growth, the first field of the single line file is GB0003243465GBP but
this can't be used by gnc-fq-dump:
gnc-fq-dump yahoo GB0003243465GBP
Finance::Quote fields Gnucash uses:
symbol: GB0003243465GBP <=== required
date: ** missing ** <=== required
currency: ** missing ** <=== required
last: 0.00 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
Also, at the end of gnc-fq-dump there seems to be some examples:
dump-gnc-fq yahoo CSCO JNPR
dump-gnc-fq yahoo BAESY.PK
dump-gnc-fq europe 48406.PA 13000.PA
dump-gnc-fq vwd 632034
dump-gnc-fq ftportfolios FKYGTX
Changing dump-gnc-fq to gnc-fq-dump and running shows that only the first
two of them work.
Thanks again for your help,
Paul Stansell
On Tue, 12 Feb 2008, Derek Atkins wrote:
> The command was renamed to gnc-fq-dump. Using your example:
>
> gnc-fq-dump yahoo MFEXPG.L
> Finance::Quote fields Gnucash uses:
> symbol: MFEXPG.L <=== 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!!
>
>
> Maybe Yahoo changed their site and F::Q can't parse it?
More information about the gnucash-user
mailing list