# Portfolio Allocation for GnuCash
Currency, country, asset class and industry allocations for portfolio of ETFs and mutual funds
What the program does:
1. Takes instrument allocation from [GnuCash's "Security" pie chart report](https://raw.githack.com/fertkir/portfolio-allocation/master/examples/gnucash.html)
2. Fetches data for each instrument from the Internet:
1. Finex website
2. Tinkoff website
3. Yahoo Finance
3. Generates and opens [portfolio allocation report](https://raw.githack.com/fertkir/portfolio-allocation/master/examples/allocation.html) in your browser.
## Installation
```commandline
pip install portfolio-allocation
```
## Usage
To generate report based on default "Securities" GnuCash report for recently open GnuCash file:
```commandline
portfolio-allocation gnucash
```
But you'd better customize it, since the "Securities" pie chart is limited to 7 instruments:
```commandline
portfolio-allocation gnucash -r MyCustomReport1 MuCustomReport2
```
To select another GnuCash file:
```commandline
portfolio-allocation gnucash -r MyCustomReport -f /home/user/other.gnucash
```
To view all the possible options, check:
```commandline
portfolio-allocation -h
```
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/portfolio-allocation/",
"name": "portfolio-allocation",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": "etf, allocation, moex, tinkoff, finex, gnucash",
"author": "Kirill Fertikov",
"author_email": "kirill.fertikov@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/35/e0/e846a55b06029faf5ef39781fa852d540e255873d3ddb07cf09edfcad56d/portfolio_allocation-0.3.9.tar.gz",
"platform": null,
"description": "# Portfolio Allocation for GnuCash\nCurrency, country, asset class and industry allocations for portfolio of ETFs and mutual funds\n\nWhat the program does:\n1. Takes instrument allocation from [GnuCash's \"Security\" pie chart report](https://raw.githack.com/fertkir/portfolio-allocation/master/examples/gnucash.html)\n2. Fetches data for each instrument from the Internet:\n 1. Finex website\n 2. Tinkoff website\n 3. Yahoo Finance\n3. Generates and opens [portfolio allocation report](https://raw.githack.com/fertkir/portfolio-allocation/master/examples/allocation.html) in your browser.\n\n## Installation\n```commandline\npip install portfolio-allocation\n```\n\n## Usage\nTo generate report based on default \"Securities\" GnuCash report for recently open GnuCash file:\n```commandline\nportfolio-allocation gnucash\n```\nBut you'd better customize it, since the \"Securities\" pie chart is limited to 7 instruments:\n```commandline\nportfolio-allocation gnucash -r MyCustomReport1 MuCustomReport2\n```\nTo select another GnuCash file:\n```commandline\nportfolio-allocation gnucash -r MyCustomReport -f /home/user/other.gnucash\n```\n\nTo view all the possible options, check:\n```commandline\nportfolio-allocation -h\n```\n\n\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "Calculates currency, country and industry allocations for portfolio of ETFs and mutual funds",
"version": "0.3.9",
"project_urls": {
"Bug Reports": "https://github.com/fertkir/portfolio-allocation/issues",
"Homepage": "https://pypi.org/project/portfolio-allocation/",
"Repository": "https://github.com/fertkir/portfolio-allocation"
},
"split_keywords": [
"etf",
" allocation",
" moex",
" tinkoff",
" finex",
" gnucash"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "90b78926e7f4a856ae59b844b106b651314663f3373e1108cba0745d3537d85c",
"md5": "9d62ca3ef64e5ca982cf36544008a6ae",
"sha256": "535d4df299a20aeb5381cab2a47be3ad6187ae3f17f1e84e11ee659bbc27c6ca"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d62ca3ef64e5ca982cf36544008a6ae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 27007,
"upload_time": "2024-04-28T04:53:39",
"upload_time_iso_8601": "2024-04-28T04:53:39.037782Z",
"url": "https://files.pythonhosted.org/packages/90/b7/8926e7f4a856ae59b844b106b651314663f3373e1108cba0745d3537d85c/portfolio_allocation-0.3.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "35e0e846a55b06029faf5ef39781fa852d540e255873d3ddb07cf09edfcad56d",
"md5": "e64f7758d7843c319ac63982f3361207",
"sha256": "f2f1bd35f5344f5f989b64b090718557e3a9ff9763fba0609bff2e9f0642ff27"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.9.tar.gz",
"has_sig": false,
"md5_digest": "e64f7758d7843c319ac63982f3361207",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 22253,
"upload_time": "2024-04-28T04:53:40",
"upload_time_iso_8601": "2024-04-28T04:53:40.897719Z",
"url": "https://files.pythonhosted.org/packages/35/e0/e846a55b06029faf5ef39781fa852d540e255873d3ddb07cf09edfcad56d/portfolio_allocation-0.3.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-28 04:53:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fertkir",
"github_project": "portfolio-allocation",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "portfolio-allocation"
}