Hi,

Did you indicate Fifo when opening the account?

2020-01-01 open Assets:US:Schwab:ETF:VTI VTI "FIFO"

Regards,

Patrick



On 27.07.2020 17:21, Ghanashyam Prabhu wrote:
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/468a55fc-a2da-4bce-8279-ec4fb3f39f92n%40googlegroups.com <https://groups.google.com/d/msgid/beancount/468a55fc-a2da-4bce-8279-ec4fb3f39f92n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/f17508b6-1a25-fe8e-93ef-93017dd7c274%40ch.tario.org.

Reply via email to