Quote date in gnucash different from retrieved by gnc-fq-dump

John Ralls jralls at ceridwen.us
Sun Aug 2 11:03:00 EDT 2015


> On Aug 2, 2015, at 2:24 AM, Chris Good <chris.good at ozemail.com.au> wrote:
> 
> 
> Hi John,
> 
> I don't know if this is relevant...
> 
> I just tested your new gnc-fq-helper (committed 27 July 2015).
> Here is old 2.6.7 :
> 
> echo (yahoo "AMZN") | perl -w gnc-fq-helper
> (("AMZN" (symbol . "AMZN") (gnc:time-no-zone . "2015-07-31 16:00:00") (last
> . 536.15) (currency . "USD")))
> 
> Here is the new :
> echo (yahoo "AMZN") | perl -w gnc-fq-helper
> (("AMZN" (symbol . "AMZN") (gnc:time-no-zone . 2015-07-31 16:00:00) (last .
> 536.15) (currency . "USD")))
> 
> Note missing double quotes around datetime.
> 
> When I run Get Quotes from GC with new : There was an unknown error while
> retrieving the price quotes.
> 
> Also, now that Lt. Goose mentions it,
> yahoo_australia does return a date and time which in this case seems to be
> when the stock exchange closed on Friday arvo, but the dates loaded into the
> GC price table are the current local date when Get Quotes was run. It has
> always done this in my experience.
> 
> Shouldn't GC use the date returned by FinanceQuote?
> 

Chris,

Ah, good catch and easy to fix.

How is Yahoo Australia formatting the date? Better yet, what’s a symbol that I can test with it?


Regards,
John Ralls





More information about the gnucash-user mailing list