[GNC] Feature request: Stock currency setting

Wm wm_o_o_o at yahoo.co.uk
Wed Oct 31 08:09:03 EDT 2018


On 21/10/2018 15:28, John Ralls wrote:
> 
> 
>> On Oct 21, 2018, at 2:51 AM, rsbrux via gnucash-user <gnucash-user at gnucash.org> wrote:
>>
>> I have been repeatedly frustrated by my failure to remember this advice from https://wiki.gnucash.org/wiki/Stocks/add_stock#Stocks_noted_in_foreign_currency
>>
>>>>
>>
>> If you start your first (buy) transaction from your stock account, the currency of the parent account will be used. Assuming your default currency is USD and you wish to buy stocks in EUR, then you should first create a normal asset account of currency EUR and below this your stock accounts.
>>
>> Alternatively you could start your first transaction from you EUR cash or bank account, but with the first approach everything is much clearer - also later if you forgot the nominal currency.
>>
>> <<
>>
>> I find it far more intuitive to start securities transactions from the account for the particular security, and I prefer to keep the parent accounts by account rather than by currency.  It is easier to start the transactions from a security account, because the fields provided are described in keeping with with securities transactions.  However, this often gets me in trouble with securities traded in a currency other than my base currency (CHF).  I suspect that I am not the only one with this problem. Would it be possible to add a selection for trading currency in the Security Editor?  It could default to the setting indicated above, but there would at least be a way to explicitly see and control what is now hidden and implicit.
>>
>> As a case in point, I have a bank relationship which includes securities as well as accounts in both CHF and USD.  The bank erroneously booked the purchase of a USD-denominated security to my CHF account, and I duly recorded the transaction that way. After I complained to the bank, they rolled back the transaction and posted it to my USD account instead.  Now I see no way of correcting the entries in GnuCash other than to delete the account for the particular security and to recreate it via a transaction starting from my USD account.  Am I missing something here?
> 
> You can just move the account, but the transaction currency is immutable so you will have to delete and re-create the transaction.
> 
> As for adding a trading currency to the security editor, it’s possible but the code for creating transaction currency is kind of splattered around (register, transfer dialog, scheduled transactions, importers, maybe more) so getting it right would be a bit of work.

I think it may be even more complicated than that as the OP's tx 
involves auto-magicking a 3 part exchange.
-- 
Wm






More information about the gnucash-user mailing list