Currency, country, asset class and industry allocations for portfolio of ETFs and mutual funds
What the program does:
- Takes instrument allocation from GnuCash's "Security" pie chart report
- Fetches data for each instrument from the Internet:
- Finex website
- Tinkoff website
- Yahoo Finance
- Generates and opens portfolio allocation report in your browser.
pip install portfolio-allocation
To generate report based on default "Securities" GnuCash report for recently open GnuCash file:
portfolio-allocation gnucash
But you'd better customize it, since the "Securities" pie chart is limited to 7 instruments:
portfolio-allocation gnucash -r MyCustomReport1 MuCustomReport2
To select another GnuCash file:
portfolio-allocation gnucash -r MyCustomReport -f /home/user/other.gnucash
To view all the possible options, check:
portfolio-allocation -h