# 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/e6/4f/ab58ce2665f9db14effd1edaac67a8a27aebfd870d7874296630b48be6f5/portfolio_allocation-0.3.12.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.12",
"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": "a19ea867dc77592cdbdf549b96f889039bbfe37e1c919b57f99b7530020ccad3",
"md5": "63ef9074caafb2566490dfa58e8f86b2",
"sha256": "665071a2f444606a2b87eee4c52c767933d7204c5592c1e1d26b9e82f06c33ec"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "63ef9074caafb2566490dfa58e8f86b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 27020,
"upload_time": "2024-12-31T12:31:44",
"upload_time_iso_8601": "2024-12-31T12:31:44.993315Z",
"url": "https://files.pythonhosted.org/packages/a1/9e/a867dc77592cdbdf549b96f889039bbfe37e1c919b57f99b7530020ccad3/portfolio_allocation-0.3.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e64fab58ce2665f9db14effd1edaac67a8a27aebfd870d7874296630b48be6f5",
"md5": "ec432970d8c5876cb21912a2a0c65a9a",
"sha256": "d8e3cda77e573f4d2b486609c56fb5a7715b36956424fc6094fd96b1fc13aab0"
},
"downloads": -1,
"filename": "portfolio_allocation-0.3.12.tar.gz",
"has_sig": false,
"md5_digest": "ec432970d8c5876cb21912a2a0c65a9a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 22254,
"upload_time": "2024-12-31T12:31:47",
"upload_time_iso_8601": "2024-12-31T12:31:47.398331Z",
"url": "https://files.pythonhosted.org/packages/e6/4f/ab58ce2665f9db14effd1edaac67a8a27aebfd870d7874296630b48be6f5/portfolio_allocation-0.3.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-31 12:31:47",
"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"
}