# 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/43/ee/be0a67e06157c2e54eecd6fb44152bed821f40a59d85c5028c9ae93fe547/portfolio_allocation-0.3.11.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.11",
"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": "34a8a10e6cbc8da45d0b04789b870502a78bcda41a9bd696cc85160d814e737a",
"md5": "c63f5d2cd237b511de106e3eb231c214",
"sha256": "37e8d11e34901650a1c977afc57198dba1e95692d3024d4893e160884ca144cf"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c63f5d2cd237b511de106e3eb231c214",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 27017,
"upload_time": "2024-05-27T18:38:37",
"upload_time_iso_8601": "2024-05-27T18:38:37.007759Z",
"url": "https://files.pythonhosted.org/packages/34/a8/a10e6cbc8da45d0b04789b870502a78bcda41a9bd696cc85160d814e737a/portfolio_allocation-0.3.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "43eebe0a67e06157c2e54eecd6fb44152bed821f40a59d85c5028c9ae93fe547",
"md5": "f14f9fcc9a1b66666182f7828d7f140b",
"sha256": "86cc4548109115288381e804e9d2451e353db08d3cd5368e0c53508759aac16f"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.11.tar.gz",
"has_sig": false,
"md5_digest": "f14f9fcc9a1b66666182f7828d7f140b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 22265,
"upload_time": "2024-05-27T18:38:38",
"upload_time_iso_8601": "2024-05-27T18:38:38.767733Z",
"url": "https://files.pythonhosted.org/packages/43/ee/be0a67e06157c2e54eecd6fb44152bed821f40a59d85c5028c9ae93fe547/portfolio_allocation-0.3.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-27 18:38:38",
"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"
}