Problem with home-made Finance::Quote script
David Reiser
dbreiser at earthlink.net
Sun Nov 2 16:35:25 EST 2008
do
gnc-fq-dump -v ftest_funds FXIRL00109
to see if the time field or some other field is screwed up.
On Nov 2, 2008, at 2:59 PM, Fredrik Persson wrote:
> I've written (or rather, modified an existing) .pm file for fetching
> fund quotes from www.morningstar.se. (Attached.)
>
> Installing this script works fine with gnc-fq-dump, example:
>
> $ gnc-fq-dump ftest_funds FXIRL00109
> I am in my module!
> Finance::Quote fields Gnucash uses:
> symbol: FXIRL00109 <=== required
> date: 10/31/2008 <=== required
> currency: USD <=== required
> last: <=\
> nav: 488.74 <=== one of these
> price: <=/
> timezone: <=== optional
>
> As you can see, things look rather well. The NAV value is correct.
>
> However, when I try to use this in gnucash, I get a popup saying
> "There
> was an unknown error while retrieving the price quotes." No other
> indication on what's wrong, not in the terminal either.
>
> I'm running gnucash 2.2.6 r17427 on Ubuntu 8.10.
>
> What could be wrong? Any idea how to fix this?
>
> TIA
>
> Fredrik Persson
> <Ftest.pm>_______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
David Reiser
dbreiser at earthlink.net
More information about the gnucash-devel
mailing list