$ bean-portfolio-allocation-report ledger.beancount --portfolio pension cash =========================================================================== subclass amount percent target difference --------------------------------------------------------------------------- cash 380.00 19.00 0.00 -380.00 equity =========================================================================== subclass amount percent target difference --------------------------------------------------------------------------- ca-stock 700.00 35.00 30.00 -100.00 us-stock 600.00 30.00 30.00 0.00 fixed =========================================================================== subclass amount percent target difference --------------------------------------------------------------------------- ca-bond 320.00 16.00 40.00 480.00
You can find more information on github: https://github.com/ghislainbourgeois/beancount_portfolio_allocation
Comments and suggestions are welcome!
Ghislain
Traceback (most recent call last):
File "/Users/justus/anaconda/bin/bean-portfolio-allocation-report", line 11, in <module>
sys.exit(main())
File "/Users/justus/anaconda/lib/python3.5/site-packages/beancount_portfolio_allocation/allocation_report.py", line 58, in main
print(report(args.bean, args.portfolio))
File "/Users/justus/anaconda/lib/python3.5/site-packages/beancount_portfolio_allocation/allocation_report.py", line 10, in report
targets, allocations, total = loader.load(bean, portfolio)
File "/Users/justus/anaconda/lib/python3.5/site-packages/beancount_portfolio_allocation/loader.py", line 18, in load
total = allocations.total_invested_for_portfolio()
File "/Users/justus/anaconda/lib/python3.5/site-packages/beancount_portfolio_allocation/allocation.py", line 38, in total_invested_for_portfolio
return sum([p.value for p in self])
TypeError: unsupported operand type(s) for +: 'decimal.Decimal' and 'NoneType'
--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/O34K2lBYSGg/unsubscribe.
To unsubscribe from this group and all its topics, 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/a4640773-3d3c-4dd3-b61f-6d79b8ea388c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
currency value_sum_position c s account
------------- ----------------------- ----- ------------- ------------------------------
AUD 2.00 AUD Assets:AUS:CMC
AUD 40.47 AUD Assets:US:Interactive-Brokers
EMGF <redacted> USD stock em Assets:US:WellsFargo:Brokerage
FSS_INTL <redacted> FSS_INTL stock international Assets:AUS:First-State-Super
IEMG stock em Assets:US:WellsFargo:Brokerage
IEMG <redacted> USD stock em Assets:US:Interactive-Brokers
RZV stock small cap Assets:US:WellsFargo:Brokerage
RZV <redacted> USD stock small cap Assets:US:Interactive-Brokers
VWIUX bond us-bond Assets:US:Vanguard:Taxable