On Sun, Jan 20, 2019 at 8:53 PM Justus Pendleton <[email protected]> wrote:

> On Sunday, January 20, 2019 at 11:16:14 PM UTC+7, Patrick Ruckstuhl wrote:
>>
>> Two things that I found necessary/helpful:
>>
>
> Yeah, as I worked on this and thought about I realised it is pretty hard
> to make something that is totally universal because of issues like the ones
> you point out.
>

I gave this a shot in the past. I agree, not super obvious.
There are some related ideas at the top of this file, this might be
sufficient:
https://bitbucket.org/blais/beancount/src/tip/experiments/returns/returns.py


>
> A posting can -- at least in theory, though in practice I think it is
> probably uncommon -- refer to multiple securities, which then makes
> attributing performance impossible without some way to disambiguate.
>

You mean "a transaction."



>
> Similarly, income like interest/dividends isn't explicitly attributed to a
> security -- unless you go out of your way to make separate income accounts
> for each security, which feels a bit over-the-top. In my personal beancount
> files I set the payee to the name of the fund but you can't really rely on
> other people following that convention. I suppose you could use metadata.
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/2c5f1350-4aee-491d-ae2b-148ed56ec368%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/2c5f1350-4aee-491d-ae2b-148ed56ec368%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhPZ0%3D%3DY-gu4%3Dg8Bru99BgQRNqoKgzGv6wxEZE_7sPCe7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to