When reconciling stock holdings with brokerage statements I want to be able to just punch in the holdings as displayed on the statement and: 1) Assert that any commodities that are not specified have a zero balance. 2) Compare commodities that are specified with the precision (rounding) used on the statement.
- Harpreet "Eli" Sangha On Nov 2, 2014 2:00 PM, "Martin Blais" <[email protected]> wrote: > If it's not too indiscreet, what's the use case behind the assertion? > What high-level problem are you trying to solve? > > > > On Sun, Nov 2, 2014 at 4:19 PM, ELI <[email protected]> wrote: > >> I'm trying to implement a custom balance assertion in my ledger file. So, >> I want to access the balance of a specified account. >> >> - Harpreet "Eli" Sangha >> On Nov 2, 2014 1:08 PM, "Martin Blais" <[email protected]> wrote: >> >>> Just curious, what's your use case? >>> Backing up one step, what are you trying to achieve? >>> >>> >>> On Sun, Nov 2, 2014 at 3:54 PM, ELI <[email protected]> wrote: >>> >>>> Would this be a viable feature request? >>>> >>>> - Harpreet "Eli" Sangha >>>> On Nov 2, 2014 12:22 PM, "John Wiegley" <[email protected]> wrote: >>>> >>>>> >>>>> ELI <[email protected]> writes: >>>>> >>>>> > When embedding python in a ledger file, how do I access the current >>>>> journal >>>>> > from the session? >>>>> >>>>> I don't believe the whole journal is ever surfaced as on object the >>>>> Python >>>>> API. If it were, it would be an object called "journal".. >>>>> >>>>> John >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Ledger" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ledger" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Ledger" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Ledger" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
