2026-04-14 GnuCash IRC logs
01:48:03 *** fell_laptop has quit IRC
01:49:23 *** fell_laptop has joined #gnucash
01:49:23 *** ChanServ sets mode: +o fell_laptop
04:53:20 *** hamaryns has joined #gnucash
04:53:21 *** ChanServ sets mode: +v hamaryns
06:26:55 <bauen1> so a more general question, but using trading accounts (in german Divisenhandel), if I buy stock and then sell it again, then I will have two transactions between the stock account and the trading account for EUR and the stock - which will be perfectly balanced
06:27:54 <bauen1> however, then you scrub the thing to enter the realized gains/losses - which will go to iirc "unaccounted gains/losses" to the stock account - but also from the trading account for EURs, so that means after trading a stock and e.g. gaining 1 EUR the trading account for EUR will not actually be zero
06:28:21 <bauen1> but as far as I understand it, ideally the trading accounts should be reconciled to zero once you've sold all securities
06:28:44 <bauen1> idk if that makes sense, or is my assumption "trading account should be zero at the end" simply wrong ?
06:30:41 *** dcomp2 has quit IRC
06:33:22 *** dcomp2 has joined #gnucash
09:14:52 *** hamaryns has quit IRC
12:16:15 <warlord> if you have 0 stock then trading acct should be 0
13:17:14 <jralls> If you buy n shares of stock for 99€ and sell the same n shares for 100€ then you'll have a balance of 1€ in the trading account. The cap gains transaction will debit Income and credit the trading account leaving a balance of 0 in the latter.
13:23:42 <jralls> Erm, that's not quite right: It credits the stock account for 1€ with 0 shares and that creates a split in Trading:EUR that credits away the 1€ imbalance.
13:25:17 <jralls> See https://www.gnucash.org/docs/v5/C/gnucash-guide/invest-sell1.html for a very detailed explanation of both automatic and scrub lots methods.
15:43:47 <bauen1> warlord: the trading account for the stock is indeed zero - as it should be, but the eur account isn't
15:43:57 <bauen1> I'll try to make an example later
15:46:27 <bauen1> oh wait, no I'm dumb, yes it's working for the gains
15:46:31 <bauen1> it's not working for the fees ...
15:52:24 <warlord> Fees are a direct expense.
16:05:49 *** Gimp3 has quit IRC
16:06:11 *** Gimp3 has joined #gnucash
16:06:11 *** ChanServ sets mode: +v Gimp3
16:56:03 <bauen1> jralls: right, I already know about that doc parts and it's been quite helpful, so I'm using gross pricing / have the fees as a separate split ...
16:58:57 <bauen1> and unfortunately that guide was written before trading accounts were a thing
17:02:33 <bauen1> okay, so if i buy shares for 99€ and pay 0,1€ comission and then sell them for 100€ and also pay 0,1€ comission, then I have a split for 0.1€ from the shares activa to the comissions expenses (on both buy and sell), the "problem" with that is that the trading account is now -0,2€ instead of 0€
17:03:04 <bauen1> which kind of makes sense, because i made 1€ gross, but only 0,8€ net profit
23:10:00 *** jonakeys has quit IRC
23:10:07 *** jonakeys has joined #gnucash
23:31:40 *** dcomp2 has quit IRC
23:36:13 *** warlord has quit IRC
23:36:25 *** dcomp2 has joined #gnucash
23:36:35 *** warlord has joined #gnucash
23:36:35 *** gncbot sets mode: +o warlord
23:53:43 *** warlord has quit IRC
23:54:05 *** warlord has joined #gnucash
23:54:05 *** gncbot sets mode: +o warlord