* Bob Wilson <millsta...@gmail.com> [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 Shares
    Assets:401K                             6.456 FSKAX {$113.7592936803} 
[2023/11/01] @@ $734.43
    Income:Opening Balances              -$734.43

2023/11/02 * Sell Shares
    Assets:401K                            -6.456 FSKAX {$113.7592936803} 
[2023/11/01] @ $120.00
    Income:Capital Gains                  -$40.29
    Assets:401K                           $774.72

I don't know if there's a better one.

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/20231122000327.GA2667362%40jirafa.cyrius.com.

Reply via email to