More problems with Finance::Quote Yahoo Europe feed?

Dave Reiser dbreiser at earthlink.net
Wed Oct 22 14:50:46 EDT 2008


Conor O'Neill wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> David Reiser wrote:
>> Turns out there is a bug in f-q 1.14 for quotes having times with
>> minutes <= :09.
>>
>> Attached is a patch for Base.pm and Europe.pm in the Yahoo folder that
>> moves fields around so the errors from Yahoo Europe are at the end of
>> the list where they don't screw up gnucash. And it also doesn't cause
>> Yahoo usa any troubles that I can see so far.
>>
>> You will also have to patch Quote.pm at the main Finance folder level.
>> Change the one instance of "0$min" to "$min" and that should fix the
>> end-of-day quote time silliness. I'm certain finance-quote will patch it
>> another way, but this way is simple to explain and it works for me.
> 
> Many thanks. This is 99% of the way, but unfortunately it is now
> recording my UK fund holdings as 100x the correct value! While I'd like
> to think I'm that rich, I suspect in the current climate they haven't
> really gone up that much. Is there a simple adjustment to revert to
> pence instead of pounds?
> 
> The UK stock prices seem OK, it is the UK fund prices which are awry.
> 
> - --
> Conor O'Neill, at home in Bristol, UK

Hmm. Must be the pence vs. pounds issue. I'll send the issue upstream. 
They seem reasonably receptive to doing the fund retrieval as a separate 
   case instead of trying to rearrange the fields in the retrieval request.

Meanwhile, you might search the gnucash mail list archives. I seem to 
remember someone dealt with this within the last year or so.

Dave
-- 
David Reiser
dbreiser at earthlink.net


More information about the gnucash-devel mailing list