I'm not sure what level of deprecation the total cost syntax has, but using
that seems like a pretty decent solution.
You can also do math just about anywhere where a number is accepted, so you
could do this AFAIK:
Assets:Bank 100 FOO { 5000 / 100 USD }On Thu, Dec 30, 2021 at 7:49 PM Samuel Lotz <[email protected]> wrote: > I have statements from an inheritance in which I know I have a certain > number of shares of an asset but I don't know the cost these were obtained > at and I was hoping to use something like the deprecated {{total cost}} > syntax. > > I found this issue https://github.com/beancount/beancount/issues/369 > but I didn't quite understand how to use the alternative { # commodity} > syntax and this isn't documented AFAICT. > > Any ideas besides just calculating it manually (which in the end isn't > that big of a deal for these few accounts). > > Also not sure why that issue got closed as the deprecated syntax is still > on the cheatsheet. > > -- > 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/a9175963-b48f-4b75-a8e7-6b0dfc903bb3n%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/a9175963-b48f-4b75-a8e7-6b0dfc903bb3n%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/CACGEkZtcwAUJOcFz1Gt8rq6O-LbFBtibeqrEKEFkdUaMiMXVyQ%40mail.gmail.com.
