Forex Conversions

Derek Atkins warlord at MIT.EDU
Thu Dec 3 12:40:03 EST 2009


Hi,

Ken <kmailuk at googlemail.com> writes:

> Hi. What is the coded logic behind the forex calculations in the Accounts
> page.
>
> The reason I ask is that some of my stock holdings (priced in CAD) are not
> being converted to my reporting currency (XAU).  How much data does GnuCash
> need in the price editor to make this conversion?
>
> For instance, I have two prices for the stock in CAD. I also have prices for
> XAU/USD and one price for USD/CAD.  Will GnuCash use the appropriate
> currency pair inverses to convert the stock price in CAD, to USD, to XAU?
> Does it need these prices all on the same day or can it interpolate between
> dates?  Where might I be able to find information on the logic used to make
> these conversions so I can figure out why it can not calculate the value of
> my stock holidings in the desired reporting currency?

GnuCash cannot perform a multi-hop conversion like this.  You will need
a direct CAD/XAU price.

> Many thanks,
> Ken

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list