Gnucash 2.6.8 with Finance::Quote Currency 1.38

John Ralls jralls at ceridwen.us
Sun Oct 4 09:56:51 EDT 2015


> On Oct 4, 2015, at 6:42 AM, Adriano Baldi <adriano.baldi at gmail.com> wrote:
> 
> Hello to all
> 
> First I want to apologize in advance for my bad  English.
> 
> Second It's my first entry in this mailing list, I apologize if I'm wrong
> some steps.
> 
> 
> I use gnucash since the version 2.4 under Ubuntu linux with excellent
> result. Always use Finance::Quote for retrieve quotation of a lots of
> stocks and currency.
> 
> At this time I use Gnucash 2.6.8, last week I update the Finance::Quote  at
> the version 1.38 and I notice some difference in Gnucash Price Editor.
> 
> I living in Italy and the local currency it's set EUR.
> So all the currency are calculated against EUR for example 1 EUR = 0.8948
> UDS
> 
> Before I have a row for each single currency updated every day:
> CURRENCY
> |- AUD
>      |-- AUD   EUR    30/09/2015   0.6276
>      |-- AUD  EUR    29/09/2015   0.6211
>      etc...
> 
> |- NZD
> |- CAD
> |- CNF
> |- CYN
> |- GBP
> |- NOK
> |- USD
> etc...
> 
> After the update for some currency I have a row for each single currency as
> previous:
> CURRENCY
> |- GBP
> |- NZD
> |- XAG
> |- XAU
> |- XPT
> 
> But Gnucash add a new currency EUR and under this there are the other
> currency
> 
> |- AUD
>      |-- AUD    EUR    30/09/2015   0.6276     \     Notice than are
> calculated AUD/EUR
>      |-- AUD    EUR    29/09/2015   0.6211       |
>      etc...                                                              |
> |--CAD                                                                 |
> |--CHF                                                                  >
> No more updated
> |--CNY                                                                 |
> |- NZD                                                                /
> |- EUR
>     |--EUR    AUD  02/10/2015     1.58...       Notice than are calculated
> EUR/AUD
>     |--EUR    AUD  01/10/2015     1.58...
>     |--EUR    CHF  02/10/2015     1.47...
>     |--EUR    CHF  01/10/2015     1.47...
>     |--EUR    CNY  02/10/2015     7.12...
>     |--EUR    CNY  01/10/2015     7.12...
>     |--EUR    JPY  02/10/2015      134.4...
>     |--EUR    JPY  01/10/2015      134.4...
>     |--EUR    NZD  02/10/2015     1.73...
>     |--EUR    NZD  01/10/2015     1.73...
>     |--EUR    RUB  02/10/2015     74.03...
>     |--EUR    RUB  01/10/2015     74.03...
>     |--EUR    USD  02/10/2015     1.12...
>     |--EUR    USD  01/10/2015     1.12...
> |- GBP  \
> |- XAG   |
> |- XAU    > Updated as usual
> |- XPT   /
> 
> All seem to work fine with the conversion.
> 
> My question are:
> It was a wanted change in the management of currency inside Gnucash?
> I honestly do not see any benefit.
> If not it's a problem introduced by the new version of Finance::Quote?
> 
> Thanks to anyone who can clarify my doubts.
> 
> And I want to thank all those who work to improve this fantastic program.

Yes, 2.6.8 changes the way prices are managed so that only one price is stored per day and in the case of currency exchange rates it’s stored in the direction that the number is larger than 1. The reason for the latter is to retain as much precision as possible, particularly in cases of fixed-decimal rounding. For currencies which trade in the range of 1 - 100 to one this may seem to be not important, but several minor currencies trade in the ~10000 to 1 range and rounding those prices can lose most of the significant digits if done in the wrong direction.

Regards,
John Ralls


More information about the gnucash-user mailing list