Re: Cost basis adjustment for average cost booking

2024-02-13 Thread Martin Blais
On Mon, Feb 12, 2024 at 11:15 AM Chary Chary wrote: > On Sunday, February 11, 2024 at 6:46:47 PM UTC+1 bl...@furius.ca wrote: > > One day, when I retire, I'll spend months writing v3 and offer you all a > new and improved Beancount or maybe someone with more free time and > enthusiasm will beat m

losing precision in transaction

2024-02-13 Thread fin
Hello, :) I'm using the current beancount version from github. I have edited some of the below to remove extra lines which don't really show the point I'm asking about... For some reason (I haven't touched these transactions in months) but now when I'm running a balance report this t

For balance sheet / income statement, can Beancount round to the nearest dollar?

2024-02-13 Thread Dan Andersson
Hi, I'm currently using these commands to get Balance sheet: SELECT root(account, 2), sum(position) FROM OPEN ON 2023-01-01 CLOSE ON 2024-01-01 CLEAR WHERE not account ~ 'Income|Expenses' GROUP BY 1 ORDER BY 1; Income statement: SELECT root(account, 2), sum(position) FROM OPEN ON 2023-

Re: Copy-pasting multiline (multiple lines) query into bean-query

2024-02-13 Thread Dan Andersson
Motivation: Give people (including Windows users) copy-pasteable commands they can simply use as-is (regardless of platform). On Tuesday, February 13, 2024 at 10:51:12 AM UTC Dan Andersson wrote: > Hi, I'm aware that backslashes can be used for Bash. > I was referring to the *interactive* sessio

Re: Copy-pasting multiline (multiple lines) query into bean-query

2024-02-13 Thread Dan Andersson
Hi, I'm aware that backslashes can be used for Bash. I was referring to the *interactive* session (after doing only "bean-query foo.beancount"). I guess I was hoping it wouldn't "complete" a command until it sees a semicolon, but currently it seems to complete a command after every newline. On