Closed g40matt closed 4 years ago
Messed around with this more using the entries below... seems like there's an issue displaying unrealized gains and possibly related to the time filter. I put together a short example and identified around 10 or so incorrect reports and charts in Fava.
Example and correct results:
Fava results: Balance Sheet report incorrect under the following scenarios:
Trial Balance report incorrect under the following scenarios:
Account (Assets:Stock) report incorrect under the following scenarios:
Interestingly, the "Holdings" report seems to show the correct values. most of the issues above seem to be related to each other, and since "Holdings" is correct, I hope it's an easy fix!
option "operating_currency" "USD" 2000-01-01 open Assets:Cash 2000-01-01 open Assets:Stock:Beanbag 2000-01-01 open Income:Wages 2017-04-01 "Paycheck" Assets:Cash 425.00 USD Income:Wages -425.00 USD 2017-07-01 "Buy 100 BBG" Assets:Stock:Beanbag 100 BBG { 0.50 USD} Assets:Cash -50 USD 2017-01-01 price BBG 0.50 USD 2017-08-01 price BBG 1.25 USD 2017-09-01 price BBG 2.00 USD
Thanks @g40matt for the very detailed bug report!
Out of curiosity: Does bean-web
show the correct numbers?
Been away for a while. a few follow ups on my report from a few months ago. I've spent alot of time importing an old Quicken file and updating my accounts. I've got about 15 years of data loaded up, and almost 14,000 transactions. I'm still learning, but very impressed with this tool!
1) The total at the bottom of the Balance Sheet accounts appears to be using the most recent price directive even if "At Market Value" is selected. This creates a situation where the number next to "Assets", for example, in the Balance sheet, shows correctly at the market value as of the date selected in the time filter, but the total number for Assets at the bottom of the table is different. We probably dont even need the total at the bottom level of the table. Bean-Web has a similar problem.
2) I can't sort in the journal screens, even though it looks like sorting was added in an earlier release. Is sorting working properly?
2) Some of my issues noted in the earlier bug report appear to be a result of how Beancount handles Price directives. They're active the day AFTER the date of the directive. This is odd, because usually stock prices refer to closing prices on a given day. So if someone said "What are my stocks worth on 3-31", you need to actually pull up 4-1 (and hope you have no trades on 4-1). Alternatively we can load the opening prices on a given day on price directives, but thats also odd.
3) The "Change" tables don't update for unrealized gains, but the "Balance" tables do update (albeit with the funky price directive notation above in point 3).
4) There are a number of quirks in the line charts and tables, but none are particularly meaningful. (eg. equity almost never shows unrealized gains in the lines or tables).
5) The export tool doesn't appear to utilize the filters. No matter how I have my filters set to, if I click Export, I get all of my entries (a 64,000 row beancount file).
6) Looking forward to being able to export journals and reports to csv!
Thanks for the once more detailed comments :) I'm addressing some of your points in #902: 1. Removed the totals from the trees, I didn't find them useful either. 2. and 6. were simple bugs that should be fixed.
The "Change" tables don't update for unrealized gains, but the "Balance" tables do update (albeit with the funky price directive notation above in point 3).
Never use those really, so they're quite low-priority for me. Fixes would be welcome :)
Looking forward to being able to export journals and reports to csv!
Well you already can if they're queries. For other export features a PR would be required since I'm not going to work on that anytime soon (or maybe ever)
Hi - new convert to fava/beancount from the quicken world. Loving it so far.
I noticed that when I pull an "At Market Value" balance sheet in fava and specify a date in the past in the filters, the USD accounts show the balance as of the specified date (as expected), however, accounts with commodities seem to show the current market value instead of the market value effective at the date the balance sheet is filtered for.
In my opinion, the "At Market Value" selector should show the market value as of the time of the balance sheet for commodity accounts.