Alternative balance/price syntax

33 views
Skip to first unread message

yegle

unread,
Apr 19, 2016, 10:19:36 PM4/19/16
to Beancount
Can beancount support alternative balance/price syntax like this?

2016-04-01 balance
    Account:One 10.00 USD
    Account:Two 20.00 USD

2016-04-01 price
    TickOne 1.23 USD
    TickTwo 4.56 USD

The reason is that I usually have monthly statement for banking account and quarterly statement for investment account, which means I have multiple balance/price entries on the first day of month and quarter. If this alternative syntax can be supported it could make the file cleaner.

A side effect of supporting this syntax is that when bean-format lining up the decimal point, the max line width can be reduced.

--

Martin Blais

unread,
Apr 19, 2016, 10:22:15 PM4/19/16
to Beancount
Just to be clear, the point is just to make input more compact, right?

 

yegle

unread,
Apr 19, 2016, 10:37:57 PM4/19/16
to Beancount
Yes. I'm fine if internally one of such directive would be treated as multiple ones.



 

--
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 beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhM1q7Fu0WUCbuNxYUtKgDCfj%2BTcy1YjR176AGOaDbvU0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages