Re: Total posting costs and precision issues?

2023-12-11 Thread Martin Michlmayr
* Tavis Ormandy [2023-11-24 19:13]: > 2023/11/02 * Sell Shares > Assets:401K (-partial_lot(5, "FSKAX", $734.43, > 6.456, "[2023/11/01]")) @ $120.00 > > ...ugly hack or elegant solution, you decide :) I can't decide but it's certainly a very creative solution! --

Re: Total posting costs and precision issues?

2023-11-24 Thread Tavis Ormandy
On 2023-11-22, Martin Michlmayr wrote: > * Bob Wilson [2023-11-20 21:05]: >> So it looks like the lot I sold doesn't quite match what ledger thinks I >> owned. I anticipate the issue is that the precision used in printing is >> different than the precision used to store lots internally. > > The

Re: Total posting costs and precision issues?

2023-11-21 Thread Martin Michlmayr
* Bob Wilson [2023-11-20 21:05]: > So it looks like the lot I sold doesn't quite match what ledger thinks I > owned. I anticipate the issue is that the precision used in printing is > different than the precision used to store lots internally. The only solution I'm aware of is: 2023/11/01 * Buy

Total posting costs and precision issues?

2023-11-20 Thread Bob Wilson
Hi folks, I have some stock purchases that I have specified using total costs. Because of not-round-numbers, I'm having trouble specifying the lot so I can sell it cleanly. Here's an example: 2023/11/01 * Buy Shares Assets:401K 6.456 FSKAX @@ $734.43