I have the following in my beancount file. However it seems like I will always have to indicate sell transactions against an buy lot by filling in the exact price that lot was bought at. Doesn't bean count support FIFO mode where whenever there is a SELL transaction beancount figures the lot that was bought first and executes a SELL on that transaction? If not, can you please suggest how are folks handling these SELL transactions especially if you have a long ledger files?
2020-01-07 * "BUY" "VANGUARD TOTAL STOCK MARKET ETF: VTI" Assets:US:Schwab:ETF:VTI 12.0000 VTI {164.1090 USD} Assets:US:Schwab:Cash 2020-01-17 * "BUY" "VANGUARD TOTAL STOCK MARKET ETF: VTI" Assets:US:Schwab:ETF:VTI 6.0000 VTI {168.6290 USD} Assets:US:Schwab:Cash 2020-03-18 * "SELL" "VANGUARD TOTAL STOCK MARKET ETF: VTI" Assets:US:Schwab:ETF:VTI -24.0000 VTI {} @ 125.9050 USD Assets:US:Schwab:Cash 3021.65 USD Income:US:Schwab:PnL Thanks Ghanashyam -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/468a55fc-a2da-4bce-8279-ec4fb3f39f92n%40googlegroups.com.