"Advanced Portfolio" realized gain/loss

Stein Erik Berget gnucash at berget.org
Sat Feb 25 07:32:00 EST 2012


On Sat, 25 Feb 2012 08:33:56 +0100, Sebastien Alborini  
<salborini at gmail.com> wrote:

>
>
> On 25/02/2012 03:02, Robin Chattopadhyay wrote:
>> +1 for this method.
>>

<snip />


> I can't remember where I've seen it, but the trick I've used for this is
> to add the security account as an empty split (0 value) in the dividend
> transaction.
>
> So the dividend transaction would look like this:
> Asset:Brokerage:Cash       deposit 10
> Asset:Brokerage:Security   all blank
> Income:Dividend            withdrawal 10
>
> The blank line has no value, so does not affect balance, its purpose is
> to attach the income to this particular security in the advanced
> portfolio report.

Excellent! Thank you for sharing this! Just what I asked about earlier,  
but did not get a reply to :-) Anyhow, this one was quite smooth!

-- 
Stein Erik


More information about the gnucash-user mailing list