GNOME Bugzilla – Bug 770181
gnc-fq-dump incorrectly says "quote cannot be used by gnucash" when only missing date
Last modified: 2018-06-29 23:50:42 UTC
gnc-fq-dump incorrectly says "quote cannot be used by gnucash" when missing date but gnc-fq-helper uses the current date when no date is supplied by Finance::Quote so GnuCash CAN use these quotes so long as there are no other problems. C:\Program Files (x86)\gnucash\bin > perl gnc-fq-dump -v australia ANZ Finance::Quote fields Gnucash uses: symbol: ANZ <=== required date: ** missing ** <=== required currency: AUD <=== required last: 26.680 <=\ nav: <=== one of these price: 26.680 <=/ timezone: <=== optional ** This stock quote cannot be used by gnucash!! All fields returned by Finance::Quote for stock ANZ stock field value ----- ----- ----- ANZ bid: -0.15% ANZ currency: AUD ANZ exchange: Australian Stock Exchange ANZ high: 26.720 ANZ last: 26.680 ANZ low: 26.750 ANZ method: asx ANZ offer: 26.550 ANZ open: 26.680 ANZ p_change: -0.15 ANZ price: 26.680 ANZ success: 1 ANZ symbol: ANZ ANZ volume: 26.400
I changed it to say: Finance::Quote fields Gnucash uses: symbol: ANZ <=== required date: ** missing ** <=== recommended currency: AUD <=== required last: 26.760 <=\ nav: <=== one of these price: 26.760 <=/ timezone: <=== optional ** This quote will have today's date, which might be incorrect. GnuCash will use it, but you might prefer that it doesn't. My reasoning is that if one retrieves a quote at the weekend it would be a Friday quote but GnuCash would label it as Saturday or Sunday. Some users might not like that even though it shouldn't make any difference in the real world. This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=770181. Please update any external references or bookmarks.