Issue #326: Add a new function "create_simple_posting_with_price" in core/data.py (blais/beancount)

29 views
Skip to first unread message

Milind Kamble

unread,
Aug 20, 2018, 11:38:56 AM8/20/18
to bean...@googlegroups.com
New issue 326: Add a new function "create_simple_posting_with_price" in core/data.py
https://bitbucket.org/blais/beancount/issues/326/add-a-new-function

Milind Kamble:

When ingesting 401K type account statements, I find it convenient to use a function to create an entry with price information when units are sold/reduced due to account maintainence fees. Since there is already a function create_simple_posting_with_cost, I think a similar function create_simple_posting_with_price will useful.

Otherwise, we have to fallback to the Posting constructor which needs importing of other modules such as Amount, D/Decimal etc. in the custom Importer(s) that I find needing to write because ofx and cvs importers do not fulfill the needs


Reply all
Reply to author
Forward
0 new messages