I'm new to Python, coding and Beancount, so I don't mean to sound like a dunce when I ask - where do I use "SELECT sum(position) WHERE currency = 'BTC'?
Is that to be put in a script I create or is that used in Bean-Query or Bean-Report or something else? On Saturday, February 24, 2024 at 3:25:34 PM UTC-5 [email protected] wrote: > Just SELECT sum(position) WHERE currency = 'BTC'? > > On Sat, Feb 24, 2024 at 2:46 PM CDT <[email protected]> wrote: > >> I have some commodities (lets just use BTC as an example) spread out over >> many different accounts. >> >> Is there a command to get a grand total on a specific commodity (like >> BTC) regardless of the account hierarchy? >> >> I couldn't find anything on this. >> >> -- >> 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/9b8133d0-e942-44cd-bc80-db773878aa9en%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beancount/9b8133d0-e942-44cd-bc80-db773878aa9en%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/3b6fada2-18e8-45e1-9318-5f665424840bn%40googlegroups.com.
