I've ended up using the structure described above, effectively manually tracking all the necessary lots, working out the gains at cgtcalculator.com and implementing the results in ledger by hand. It works and there aren't any lots in red because I never use @ or @@ to specify lot prices. Unfortunately that means I also have to manually build a price database.
On Monday, 8 February 2021 at 01:56:01 UTC Martin Michlmayr wrote: > * Dan Sladden <[email protected]> [2021-02-07 04:59]: > > 2019/03/01 Sell > > Assets:Investments -8 AAA ; @ £15.00 > > This is wrong already. Unfortunately, you'll have to specify the > exact lot; run > ledger bal Assets:Investments --lots > on your example to see the problem -- you shouldn't have any lots > in red. > > Unfortunately, I'm not aware of any way to automate it in ledger > and you'll have to specify the right lots manually. > > -- > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/002150c0-265e-446e-8c7a-c9a7c46fa39cn%40googlegroups.com.
