[GNC] Stock sell/buy
John Ralls
jralls at ceridwen.us
Sun Jul 26 13:31:36 EDT 2026
Not at all odd, it’s expected behavor because it’s a stock-type register. Every split has amount, price, and value (debit/credit) cells so there’s no reason to use the exchange rate part of the transaction dialog. To refresh, amount is denominated in the account’s commodity, value is in the transaction currency, and price (or exchange rate, same thing) is the ratio between the two.
Amount-only (representing a stock split) and value-only (representing a change in basis) splits are legitimate so if it’s a priced action the user must enter at least two of the three. If you enter only two GnuCash will calculate the third; in most cases you want to enter the amount and value to control rounding. If you do enter all three GnuCash will check your math and if it’s wrong pop a dialog box asking which one you want to adjust.
This is all pretty straightforward as long as both securities are priced in the same currency. If they’re not the values will be in the currency of the register in which the transaction is created and it’s up to the user to deal with pricing the other security in that currency. See https://bugs.gnucash.org/show_bug.cgi?id=797796 for a detailed discussion of GnuCash’s limitations in that case.
Regards,
John Ralls
> On Jul 25, 2026, at 20:41, David T. via gnucash-user <gnucash-user at gnucash.org> wrote:
>
> That's odd.
>
> I just tried, and confirm it doesn't show the exchange rate dialog, and you can't edit the exchange rate using the Actions->Edit Exchange Rate option on the resulting transaction, either.
>
> You can, as you've noted, open the destination account and edit the number of shares entry for the destination account and recalculate the share price. Which is apparently how it's meant to go at this time. Annoying, perhaps, but not hugely onerous.
>
> I suspect that the exchange rate logic requires a currency on one side of the exchange, and I'm sure there's some logical reasoning behind it. I don't know what that reasoning is or might be, however.
>
> David T.
>
> On July 26, 2026 8:41:04 AM GMT+05:30, Fred Tydeman <tydeman.fred at gmail.com> wrote:
>> There was no popup for exchange rate.
>>
>> On Sun, Jul 26, 2026 at 10:09 AM David T. <sunfish62 at yahoo.com> wrote:
>>
>>> What did you answer on the exchange rate dialog for that transaction?
>>>
>>>
>>> On July 26, 2026 8:04:02 AM GMT+05:30, Fred Tydeman <
>>> tydeman.fred at gmail.com> wrote:
>>>
>>>> Attached is a screen shot of two transactions where I sold some of an ETF
>>>> and sent the proceeds to the money market account.
>>>> The sale on 7/23 shows the money market price as 1.00 (after I manually
>>>> fixed it).
>>>> The sale on 7/26 was a test done today to see what it would do.
>>>> The price and share amount for the money market are wrong.
>>>> I notice that the money market share amount on 7/26 is the same as on 7/23
>>>> (which makes no sense).
>>>>
>>>>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list