Hi, Martin! Thanks for the feedback. I'm afraid it's not so easy but it 
shouldn't be difficult, either.

"Trading Accounts" are the accounts used for the implementation of 
Selinger's commodity exchange tracking 
(https://wiki.gnucash.org/wiki/Trading_Accounts). I've seen the same 
recommendation in the docs (or forums) somewhere but can't find a reference 
right now, though.

Obviously, not using the Trading Accounts would make this work but I'd 
really like to track the amounts as a result of currency exchange 
fluctuations.

The "two spaces" issue is just a result of copy/pasting the transaction 
here. Perhaps this will work better:




On Wednesday, 17 April 2019 12:59:27 UTC+2, Martin Michlmayr wrote:
>
>
> I don't know what a trading account is, but if Trading:CURRENCY:AUD is 
> negative, shouldn't Trading:ASX:IPE also be negative? 
>

The Trading accounts should balance each other - the amount that goes to 
the Cash (AUD) account is subtracted from the "Trading:AUD" and vice versa 
for IPE. However, this second part is confusing to me. IPE accounts are in 
commodity IPE (same name, so bear with me ;). It's a security (fund) traded 
on ASX. 
GnuCash has two fields for these: Quantity and Amount. Quantity is in units 
(shares) and Amount is in currency (AUD). For ledger, though, it makes no 
sense to use the 79.61 AUD amount in IPE account. It should probably be 
ignored.
=> Resolving this might be the key.
 

> Finally, you cannot have 0.0000 IPE.  It needs to have some number that's 
> not zero. 
>
 

> This balances for me: 
>
> 2018/04/09 return of capital 
>     Assets:Investments:Broker:Cash             79.61 AUD 
>     Trading:ASX:IPE                        -1.0000 IPE @@ 79.61 AUD 
>     Assets:Investments:Broker:Shares:IPE    1.0000 IPE @@ 79.61 AUD 
>     Trading:CURRENCY:AUD                -79.61 AUD 
>
>
The problem with this is that there is a change in number of shares. This 
does not happen in reality, though.

Perhaps we could tackle the issue from the opposite side: How would you 
record a return of capital in ledger?
Let's say there is $1000 in 100 shares in IPE account. The fund is shutting 
down and returning funds to the shareholders. They give me back $500 as a 
result of selling a part of the portfolio. The price on the market 
automatically drops to half, I guess, but that has no real relevance to our 
case.
Now, I still have the same amount of shares (100) but they are only worth 
~$500, and I got $500 back in cash.

I would like to be able to identify this in a report, hence it would be 
important to know the correct syntax for storing this type of transaction.

Cheers!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to