Paul Walker wrote:
> ------=_Part_2358_1111469923.1716422812306
> Content-Type: multipart/alternative;
> boundary="----=_Part_2359_567520660.1716422812306"
>
> ------=_Part_2359_567520660.1716422812306
> Content-Type: text/plain; charset="UTF-8"
>
> Do you use sub-accounts for individual stocks? Why?
no, i specify the full purchase price, the date and a text tag
lot number or other identifier that is unique. this way when
selling i specify all of that and it gets used to match and
adjust the position. since i also keep a separate spreadsheet
of lots i generally know which lots i'm likely to be selling
or about what prices i might buy at next.
i also include in the meta data a text entry that gives
the basis of the purchase as a reminder to myself so i
don't have to do the math again.
with the full specification if i examine my holdings each
lot is there.
> I do because I found it more deterministic to balance and close accounts,
> but I've always thought the explicit open/close directives were redundant
> with lot tracking. Else why not go all out with `Broker:GOOG-2024-03-02`?
i use the auto account plugin and i think in my entire
ledger i only have one open statement. i consider it
rather silly to do something manually if a computer can
figure it out and do it instead.
> Now I'm starting to use more queries and metadata (coming from basic fava
> usage), and am not looking forward to finding and maintaining the meta on
> each individual open directive. I'm considering opening a parent account
> and filtering using coalesce:
>
> 2024-01-01 open Assets:IRA
> tax-status: "Deferred"
> 2024-01-01 close Assets:IRA ; Or maybe use for USD/fiat
> 2024-01-01 open Assets:IRA:GOOG GOOG
>
> Then I think I could get the meta like so:
>
> coalesce(getitem(open_meta(account), 'tax-status'),
> getitem(open_meta(parent(account)), 'tax-status'))
>
> ... But this seems like a hack, so I'm wondering if it really makes sense
> to keep the sub-accounts. Alternatively, this complete balance assertion
><
https://beancount.github.io/docs/balance_assertions_in_beancount.html#partial-vs.-complete-assertions>
> proposal looks perfect for my concerns about balance tracking.
>
> What else would I miss by simplifying to multi-currency accounts?
i don't do anything with multiple currencies yet and as of
now have no plans on that either.
at the moment i only have overall brokerage accounts
and then sub accounts for a Roth and a Regular stock account.
the tax treatments for each are different. each account is
broken into the individual securities and then also whatever
other funds might be in them, including money market accounts
or other commodities/funds/stocks/etc.
fin