Re: partial support for commission syntax?

2023-08-18 Thread Eric Altendorf
On Fri, Aug 18, 2023 at 1:57 PM Martin Blais wrote: > This works and is not about commissions per se, what it is is a combined > {per unit # per posting} syntax for cost. If you have 3 units, {100 # 3} is > a per unit cost of 101 per share unit. > Ohhh, I see. That's handy. As I mentioned on

Re: partial support for commission syntax?

2023-08-18 Thread Martin Blais
This works and is not about commissions per se, what it is is a combined {per unit # per posting} syntax for cost. If you have 3 units, {100 # 3} is a per unit cost of 101 per share unit. Have you tried playing with bean-doctor? On Sat, Aug 19, 2023, 05:34 Eric Altendorf wrote: > I was

partial support for commission syntax?

2023-08-18 Thread Eric Altendorf
I was studying the beancount booking and interpolation code and tests, and came across a test case featuring this syntax, which I don't recall seeing in docs or discussions: 2015-10-02 * Assets:Account 10 HOOL {100.00 # 9.95 USD} Assets:Other -1009.95 USD ...which looks like a