2020-11-19 GnuCash IRC logs

00:40:49 *** o01eg has joined #gnucash
01:25:41 *** Mechtilde has joined #gnucash
01:26:59 *** sbluhm has joined #gnucash
01:26:59 *** ChanServ sets mode: +v sbluhm
01:41:45 *** fell has joined #gnucash
01:41:45 *** ChanServ sets mode: +o fell
01:43:28 *** fell_laptop has quit IRC
01:43:31 *** frakturfreak has joined #gnucash
01:44:45 *** David has quit IRC
01:44:50 *** David has joined #gnucash
01:50:47 *** suukim has joined #gnucash
02:24:44 <Aussie_matt> does gnucash have a discord channel?
03:03:35 *** gjanssens has joined #gnucash
03:03:35 *** ChanServ sets mode: +o gjanssens
03:04:41 *** puck has quit IRC
03:04:47 *** puck has joined #gnucash
03:16:10 *** AdrienM has quit IRC
03:16:56 *** AdrienM has joined #gnucash
03:16:56 *** ChanServ sets mode: +v AdrienM
03:49:42 *** ericdm has quit IRC
03:50:46 *** ericdm has joined #gnucash
03:59:02 *** Robert847 has quit IRC
03:59:53 *** Robert847 has joined #gnucash
03:59:53 *** ChanServ sets mode: +v Robert847
04:00:47 *** Gnucash has quit IRC
04:08:30 *** CDB-PHONE has quit IRC
04:51:15 *** User has joined #gnucash
04:51:27 *** chris has joined #gnucash
04:51:27 *** ChanServ sets mode: +v chris
04:51:27 *** gncbot sets mode: +o chris
04:52:57 *** AdrienM has quit IRC
04:53:44 *** AdrienM has joined #gnucash
04:53:44 *** ChanServ sets mode: +v AdrienM
05:11:05 *** Mechtilde has quit IRC
05:11:37 *** Mechtilde has joined #gnucash
05:21:23 *** Mechtilde has quit IRC
05:26:23 *** Mechtilde has joined #gnucash
06:05:52 *** User has quit IRC
06:13:08 *** Herbert has joined #gnucash
06:19:36 *** asdlinux has joined #gnucash
06:35:10 *** Aussie_matt has quit IRC
06:51:39 *** puck has quit IRC
06:53:45 *** puck has joined #gnucash
06:57:15 *** puck has quit IRC
07:00:36 *** puck has joined #gnucash
07:41:37 <warlord> @tell Aussie_matt nope. We use IRC and the Email lists, not discord.
07:41:37 <gncbot> warlord: The operation succeeded.
08:07:06 *** halipaul has joined #gnucash
08:09:36 *** David has quit IRC
08:09:41 *** David has joined #gnucash
08:20:31 <fell> CDB-Man,about https://lists.gnucash.org/logs/2020/11/18.html#T08:54:17: There is not one GAAP, but more ore less different *-GAAPs for almost all english speaking countries. We try to stay close to IFRS instead.
08:29:21 <chris> fell: I agree ACB is Canadian specific, however, I am not sure it describes a worldwide view of the average price of a security
08:30:07 <chris> so far we have CDB-Man and Selinger both using ACB, and no one else has defined how they calculate average cost, accounting for fees/dividends/capgains etc
08:31:39 <chris> it seems to be a very fair country-agnostic method to calculate cost though
08:31:52 <chris> other countries may mandate a different view
08:32:18 <chris> and if a user wishes to understand how average-cost-base report works, they have plenty of canadian literature to refer
08:39:45 *** Jimraehl1 has joined #gnucash
08:40:33 *** Jimraehl1 has quit IRC
08:44:02 *** jervin has joined #gnucash
09:03:21 *** CDB-PHONE has joined #gnucash
09:03:21 *** ChanServ sets mode: +v CDB-PHONE
09:27:58 *** asdlinux has quit IRC
10:29:24 *** sbluhm has quit IRC
10:36:42 *** bertbob has quit IRC
10:41:28 *** bertbob has joined #gnucash
10:41:28 *** ChanServ sets mode: +v bertbob
10:55:09 *** chris has quit IRC
10:59:41 *** CDB-PHONE_ has joined #gnucash
10:59:46 *** CDB-PHONE_ has joined #gnucash
11:00:58 *** CDB-PHONE_ has quit IRC
11:00:58 *** CDB-PHONE has quit IRC
11:01:00 *** CDB-PHONE_ has joined #gnucash
11:01:20 *** CDB-PHONE_ has joined #gnucash
11:01:53 *** bertbob has quit IRC
11:07:22 *** bertbob has joined #gnucash
11:07:22 *** ChanServ sets mode: +v bertbob
11:16:26 <fell> chris, each week I have to look up "ACB" again while "cost based" would bw quite clear.
11:18:46 *** bertbob has quit IRC
11:19:16 <fell> Also in DE "cost based" is more common than US-GAAP's "fair value". Perhaps Frakturfreak can tell you more details.
11:21:13 <fell> But I should admit, I did not look in your algorithms. So I talk only about the principle methods.
11:24:36 <fell> And the main purpose of my rename request: If I do not understand your terms, for other translators it will be more difficult.
11:25:48 *** guak has joined #gnucash
11:29:55 *** sbluhm has joined #gnucash
11:35:53 <fell> @tell chris https://lists.gnucash.org/logs/2020/11/19.html#T11:16:26
11:35:53 <gncbot> fell: The operation succeeded.
11:36:40 *** sbluhm has quit IRC
11:39:31 <fell> gjanssens, jralls: in https://lists.gnucash.org/pipermail/gnucash-de/2020-November/011869.html the user is confused by the pathes in the logs. Was it intended to have the full path of the build server?
11:41:29 *** bertbob has joined #gnucash
11:41:30 *** ChanServ sets mode: +v bertbob
11:53:15 <fell> warlord, despite https://code.gnucash.org/builds/flatpak/build-logs/maint/2020-11/build-maint-2020-11-18-01-00-02.log says "Uploading flatpakref file 'gnucash-maint-C4.2-212-g4332c5841-D4.2.flatpakref'" I see no corresponding file in https://code.gnucash.org/builds/flatpak/maint/?C=M;O=D of that date. Was it intended, unchanged versions get overwritten?
11:58:47 <warlord> It was gjanssens who wrote that upload code. I don't know his intentions.
12:01:14 *** jcarl43 has joined #gnucash
12:01:14 *** ChanServ sets mode: +v jcarl43
12:06:19 <gjanssens> fell: re the full paths, are you referring to the aqbanking source file paths ? I don't think we control those
12:07:12 <gjanssens> As for the f latpakref, it is there now ?
12:10:01 *** jervin has quit IRC
12:25:08 <fell> gjanssens, yes, but in the windows builds
12:29:13 *** sbluhm has joined #gnucash
12:29:13 *** ChanServ sets mode: +v sbluhm
12:30:48 <fell> In Flatpak they are of the form: * 18:29:34 ERROR <aqbanking> provider_user.c: 110: Error creating user for backend [none], ignoring
12:36:00 <fell> So in Flatpak we use the Filename, in Windows the full path of the reporting file.
12:38:58 *** sbluhm has quit IRC
13:46:22 *** sbluhm has joined #gnucash
14:19:39 <gjanssens> fell: I don't think we explicitly control that. Perhaps there's an option on the Mingw compiler that is set differently by default between Windows and linux ? Or it may have to do with a different binary format (linux is ELF, I *think* Windows/Mingw64 is DWARF). These may have different specifications.
14:28:07 <CDB-PHONE_> [11:19] (@fell) Also in DE "cost based" is more common than US-GAAP's "fair value". Perhaps Frakturfreak can tell you more details.
14:28:18 <CDB-PHONE_> cost basis and fair value are separate concepts
14:28:55 <CDB-PHONE_> cost basis is, essentially, your effective total purchase costs
14:29:06 <CDB-PHONE_> fair value is the value if liquidated today
14:29:45 <fell> To be specific in DE we have several different strong "low-value" principles - depending on the type of asset.
14:30:03 <CDB-PHONE_> Hmm
14:30:21 <fell> And low-value implies cost-based
14:30:34 <CDB-PHONE_> for IFRS there's 1 primary definition of cost basis
14:31:39 <CDB-PHONE_> for stocks, the cost basis is in simple terms all cash paid to acquire the stocks. the actual price per share plus any commissions and fees paid
14:33:01 <CDB-PHONE_> the report that Chris has been writing is a report to calculate the cost basis of stocks, using the average cost method of calculation
14:33:13 <CDB-PHONE_> as opposed to a FIFO method
14:33:54 <CDB-PHONE_> the output of the report would be an input into the stock transaction tool, if you were to use the tool to enter a sales transaction
14:35:16 <CDB-PHONE_> the sales transaction required minimum inputs are the cost basis, the total net cash received in hand, and any fees paid
14:36:51 <CDB-PHONE_> example, if you paid $50 for the stock which sold for $100, and you paid $10 in commissions for net cash in hand of $90 the inputs would be a) $50 cost basis, b) $90 cash in hand received, c) $10 fees paid
14:36:58 <fell> So the difference is for the assumed base for sells, right?
14:37:51 <CDB-PHONE_> right, different jurisdictions and countries have different rules for computing the cost basis at time of sale
14:38:01 <CDB-PHONE_> USA uses a FIFO method
14:38:23 <CDB-PHONE_> IFRS uses average cost (for stocks at least)
14:38:43 <CDB-PHONE_> USA for tax* uses FIFO
14:39:09 <CDB-PHONE_> US GAAP is substantially the same as IFRS last I checked
14:39:28 <fell> The old german rule was HiFo, new parts are also FiFo.
14:39:41 <CDB-PHONE_> what's hifo?
14:40:04 <fell> Highest in, furst out.
14:40:54 <CDB-PHONE_> highest in... I can't visualize how that would work. I guess if you keep buying increasingly expensive stock, you'll never sell the oldest, lowest cost stuff
14:41:02 <CDB-PHONE_> so it keeps the taxable gain low
14:43:27 <fell> The rules were developed after world economic crisis to protect creditors, while the US rules protect shareholders.
14:43:40 <CDB-PHONE_> for a rising stock price, HIFO approximates LIFO
14:43:50 <CDB-PHONE_> for a falling stock, it approximates FIFO
14:44:10 <fell> right
14:46:20 <CDB-PHONE_> this is why I nixed the idea from Chris to automatically calculate a suggested cost basis value on the stock transaction tool
14:46:28 <CDB-PHONE_> too many different cost basis systems
14:47:05 <CDB-PHONE_> anything not average cost method... needs to use lot viewers
14:47:59 <CDB-PHONE_> in Canada, banks are not legally required to "officially" tell you the cost basis of any sales you make
14:48:17 <CDB-PHONE_> instead, they are required to tell you it is your responsibility to calculate cost basis
14:50:26 <fell> Because of Withholding tax they have to do it here, but I doubt most people understand their calculations.
14:53:12 <fell> Can you write down your findings in a wiki page?
14:54:00 <fell> (Ideally we should later also add them to the docs)
14:54:23 <CDB-PHONE_> I have lots of knowledge... just not the time to commit to writing anything if it can't be done from a phone
14:54:38 <CDB-PHONE_> I feel like I work 10 hours a day, 6 days a week
14:54:54 <CDB-PHONE_> before COVID that was already true, and it's now doubly so
14:55:26 <CDB-PHONE_> I'm chatting here as I'm making tea and ironing shirts while listening to a work webcast
14:55:34 <frakturfreak> fell: Actually there are also some nuiances like commercial law differing from tax law (non permament impairment)
14:55:59 <jralls> fell, I don't think our wiki, never mind our docs, should include tax advice.
14:56:39 <frakturfreak> also it heavily depends on the tax code and country.
14:57:34 <jralls> And frankly I don't think GnuCash should be implementing it either. Even in the unlikely case that chris manages to get it right, tax laws and regs change often and any code we have would bitrot very quickly.
15:00:27 <fell> No tax advice, but there had been several misunderstandings based on unclear terminology.
15:00:40 <CDB-PHONE_> definitions are what you are looking for I think
15:01:09 <fell> Right, definitions and relations between them.
15:02:29 <CDB-PHONE_> I can cook something up in the next month, or if someone has written something from my comments, I'm happy to go attempt and edit it from my phone
15:03:32 *** suukim has quit IRC
15:10:16 <fell> I think that would also help to discuss Chris' PRs.
15:10:58 *** jervin has joined #gnucash
15:37:50 *** jw4 has quit IRC
15:38:17 *** jw4 has joined #gnucash
15:38:17 *** ChanServ sets mode: +v jw4
15:40:47 *** David has quit IRC
15:40:52 *** David has joined #gnucash
15:46:25 *** gjanssens has quit IRC
15:57:36 *** sbluhm has quit IRC
15:59:16 *** Mechtilde has quit IRC
16:14:10 *** jervin has quit IRC
16:16:08 *** jervin has joined #gnucash
16:28:04 *** Agfarmer18 has joined #gnucash
16:30:39 *** Agfarmer18 has quit IRC
16:33:24 *** geneAum has joined #gnucash
17:53:07 *** jervin has joined #gnucash
17:59:52 *** frakturfreak has quit IRC
18:04:07 *** chris has joined #gnucash
18:04:08 *** gncbot sets mode: +o chris
18:04:08 *** ChanServ sets mode: +v chris
18:04:15 <chris> .
18:14:37 *** frakturfreak has joined #gnucash
18:14:37 *** ChanServ sets mode: +v frakturfreak
18:15:17 <chris> agree tax law shouldn't be codified into gnucash
18:16:04 <chris> at the very best, the ACB report will be used to obtain an exact amount for 'average price paid for stock, considering for fees'
18:16:36 <chris> at the very best (bis), a FIFO/LIFO report could be created too --
18:18:03 <chris> it should handle stock-split, shorting etc
18:18:42 <chris> and from my understanding the capgains recorded for each sell *should* match the capgains calculated via fifo/lifo/acb methods
18:20:24 <chris> hence my soft suggestion to suggest capgains if we know the user is using ACB/FIFO/LIFO -- it would require coding the whole acb-tool or fifo/lifo report into C
18:21:03 <chris> ^ this is not tax report... simply a tool to ensure the capgain recorded is accurate
18:21:12 *** jervin has quit IRC
18:21:32 <chris> the difficulty is the exact capgain formula will need to consider local tax methods
18:21:49 <chris> (eg how to account for fees etc)
18:28:28 *** jervin has joined #gnucash
19:10:44 *** jervin has quit IRC
19:28:53 *** Aussie_matt has joined #gnucash
19:51:57 *** storyjesse has joined #gnucash
19:54:16 <jralls> chris, the catch is that ACB is a creature of Canadian tax law.
19:59:03 <jralls> That aside, there is a book-keeping need to account for capital/trading gains and losses so that money doesn't magically appear or disappear from a book because of commodity conversions. That's what the bug was supposed to be about, but you and CDB-PHONE have gone down a portfolio performance rabbit hole.
20:06:13 <CDB-PHONE_> the current template is better named average cost tool
20:06:56 <CDB-PHONE_> does not need to be, and should be renamed from, ACB
20:16:26 *** jcarl43 has quit IRC
20:33:45 *** guak has quit IRC
20:38:34 <CDB-PHONE_> the other benefit of this rabbit hole though, is that the tool will ensure that the eventual currency support will be utilized correctly on stock accounts and not cause its own issues
20:52:45 <jralls> CDB-PHONE_ What eventual currency support would that be? Do you mean the eventual possible change to transaction currency is always the root currency?
21:38:10 *** Herbert has joined #gnucash
21:42:26 <CDB-PHONE_> yes
21:59:44 *** Herbert has quit IRC
22:03:59 *** storyjesse has quit IRC
22:08:35 *** jervin has joined #gnucash
22:13:03 *** jervin has joined #gnucash