Problem with home-made Finance::Quote script
fredrik.p.persson at gmail.com
Sat Nov 8 07:17:28 EST 2008
David, (and others)
I've rewritten my Finance::Quote plugin and now it works for *some*
quotes, but not for others. (Script attached.)
The symbol "FXXIN06789" works fine. The symbols "NTJUL00779" and
"FXIRL00109" gets the same error as before. But I see no difference
between those results in gnc-fq-helper, or gnc-fq-dump.
Any idea what could be causing this? I see no difference in the time
On Tue, 2008-11-04 at 21:17 -0500, David Reiser wrote:
> On Nov 4, 2008, at 2:27 PM, Fredrik Persson wrote:
> > Very interesting, thank you. I'm using Finance::Quote 1.13, which is
> > default in Ubuntu 8.10. I'll try to upgrade.
> > This beeing *funds*, a time in hours, minutes and seconds has no
> > meaning, since the NAV is calculated only once every business day.
> > Therefore, a default time supplied by gnucash is very useful.
> > Otherwise,
> > the finance-quote scripts for funds would have to supply a dummy
> > timestamp of some kind.
> Unfortunately, the default time chosen for tiaa-cref retirement
> account quotes screws up the effective date. The default time handling
> needs some work.
> > I'm still curious about what makes my script appear among the
> > "unknown"
> > ones and not the "single" ones in "Edit Security" though...
> That's because your source isn't listed among the known f-q sources
> listed in src/engine/gnc-commodity.c
> David Reiser
> dbreiser at earthlink.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2698 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20081108/a376c9e3/attachment.bin
More information about the gnucash-devel