On Fri, Apr 23, 2021 at 05:58:10PM +0000, James Cook wrote: > On Thu, Apr 22, 2021 at 11:09:27PM -0700, Max Katsev wrote: > ... > > It's not that I'm philosophically opposed to it, more like I have 5+ years > > of transactions without the cost basis and I'm not sure how to start using > > it now without having to backfill everything at once. Is there a good way > > to record the lots I currently own (according to the brokerage) without > > filling in all the history that led to their creation? > > The following might work. > > Pick a date on which you'd like to start tracking things with lots. Say it's > 2020-01-01. > > Then on that date, create transactions that convert all your holdings into > lots. For example, suppose in Account:Brokerage, you hold 10 ACME, bought > 2009-01-01 at a cost of 100.00 USD per ACME. Then you could do: > > 2020-01-01 * "Convert to lots" > Assets:Brokerage -10 ACME > Assets:Brokerage 10 ACME {100.00 USD, 2009-01-01}
Correction: that transaction is not balanced... I guess you will need to put the imbalance into some other account. New attepmt: 2020-01-01 * "Convert to lots" Assets:Brokerage -10 ACME Assets:Brokerage 10 ACME {100.00 USD, 2009-01-01} Equity:Hacky-conversion-account 10 ACME Equity:Hacky-conversion-account -1000.00 USD or just let Beancount fill it out. 2020-01-01 * "Convert to lots" Assets:Brokerage -10 ACME Assets:Brokerage 10 ACME {100.00 USD, 2009-01-01} Equity:Hacky-conversion-account -- James -- 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/20210423180031.hnzwnn4w3d3ws5ds%40moth.falsifian.org.