On Wed, Jun 8, 2016 at 1:36 AM, yegle <[email protected]> wrote:

> Martin,
>
> Current code doesn't support price annotation in balance directives. Would
> it possible to add support for optional price annotation?
>
> E.g. for account holding some stocks:
>
> 2016-06-01 balance Assets:Investment:Broker 1024 XYZ {100.00 USD}
>
> The implicit_prices plugin can then use this directive to extract price
> information.
>

You mean, would it be possible to add support for "cost basis" balance
checks.

The question has to be reframed:
- Do we want to assert the _total_ amount of cost basis in an account for a
particular currency, and how useful is it?
- Do we want to assert the existence of a particular lot? What if there are
multiple lots? (Usually there are.)
- How do we assert the absence of a lot? Or is the syntax meant to assert
the total contents of an account?

This needs more fleshing out.
What's your use case?
What problem are you trying to solve?

-- 
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%2BhND3t5LZBFsWUZa5KYW_1Q9OaX8Spgft71XD%2BN6sscgEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to