Hi, On Tue, November 9, 2021 12:04 pm, Lionel Élie Mamane wrote: > On Tue, Nov 09, 2021 at 07:31:08AM -0500, Derek Atkins wrote: >> On Tue, November 9, 2021 6:41 am, Lionel Élie Mamane wrote: [snip] >> It is the currency of the parent account. So in this case it would >> be the currency of Assets:Investments. > > OK, thanks. > >>> There seems to something strange going on, because I enter, in basic >>> ledger mode, > >>> account: assets:current assets:some bank account >>> shares: 5 >>> Price: 21 > >>> But in the "assets:current assets:some bank account" ledger, >>> both splits of that transaction have an empty amount :-| > >> Let me guess -- Assets:Current Assets:Some Bank Account uses a >> different currency than Assets:Investments, right? > > Yes. Shouldn't I then get the pop-up dialog asking me the exchange > rate to use? Like I do when transferring between
No. That only appears on a non-stock register because you don't have access to the both parts (amount and value) of the split. In the stock account, however, you *DO* have access to both sides -- so if you expand out the transaction you don't need the exchange-rate dialog. HOWEVER.... If your stock is in EUR then you should use a EUR bank; if it's in USD then you should use a USD bank. If you've got a stock denoted in USD but you're buying or selling using EUR, then I suspect you're actually sending EUR to the US Brokerage who is translating it to USD and then buying your stocks. In this case, you should transfer from your EUR Bank to the USD Brokerage, perform your EUR->USD exchange, and then use the Brokerage (Cash) account to buy the stocks. > Assets:Current Assets:EUR Bank Account > and > Assets:Current Assets:USD Bank Account I'm not sure how this applies here. When you create these transactions, are you creating them from the stock account or the bank account. Unless the logic has changed (which is certainly possible), it should take the brokerage currency. Regardless, taking a stock between currencies like you're attempting to do is just going to lead you to madness. What brokerage are you using that lets you buy a stock in USD and sell it in EUR without using an intermediary cash account? -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.