{"id":23757090,"url":"https://github.com/mmitch/depot","last_synced_at":"2026-03-16T21:30:19.617Z","repository":{"id":138318663,"uuid":"443651856","full_name":"mmitch/depot","owner":"mmitch","description":"track a share portfolio","archived":false,"fork":false,"pushed_at":"2024-02-07T21:05:16.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T19:36:50.886Z","etag":null,"topics":["perl","portfolio","shares","simple","statistics"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmitch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-01-02T00:35:18.000Z","updated_at":"2022-01-09T22:20:20.000Z","dependencies_parsed_at":"2023-12-17T20:46:26.312Z","dependency_job_id":"c9915bc6-782e-4406-9ab3-d18938339730","html_url":"https://github.com/mmitch/depot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fdepot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fdepot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fdepot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmitch%2Fdepot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmitch","download_url":"https://codeload.github.com/mmitch/depot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927821,"owners_count":19719835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl","portfolio","shares","simple","statistics"],"created_at":"2024-12-31T19:37:19.785Z","updated_at":"2026-03-16T21:30:19.581Z","avatar_url":"https://github.com/mmitch.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"depot\n=====\n\n[![Linux Test](https://github.com/mmitch/depot/actions/workflows/test_linux.yml/badge.svg)](https://github.com/mmitch/depot/actions/workflows/test_linux.yml)\n\nThis is a simple script to track a share portfolio.\n\nMy design goals are:\n\n1. it's for my personal use\n2. entering the transactions should make me type as little as possible\n\nThis gives some questionable results:\n\n * German dates\n * deciamal comma\n * EUR currency\n * weird easy to type transaction syntax\n * no distinction between ask and bid rates\n\nIf you can live with that: have fun!\n\n\n\nusage\n-----\n\nCalling convention is `depot.pl [mode] [transaction_file]`.\n\nIf no *mode* is given the default mode will be `-default` (see below).\n\nIf no *transaction_file* is given the default filename `depot.txt`\nwill be used.\n\n\n### modes\n\n * `-default` writes a short tabular summary of your portfolio to\n   stdout.\n\n * `-verbose` writes a more detailled tabuler summary of your\n   portfolio to stdout.\n\n * `-plot` calls _gnuplot_ to render some diagrams of your portfolio.\n\n\n\ntransaction file format\n-----------------------\n\n * Blank lines are allowed and ignored.\n \n * `# this is a comment`  \n   Lines starting with a `#` are comments and also ignored.\n \n * `+FUND some_fund`  \n   Lines starting with `+FUND` define a new fund.  A fund has to be\n   defined before it can be used in transactions.\n   \n   Fund attributes are (given in order, space-separated):\n   \n   1. fund name\n\n * `+RENAME some_fund`  \n   Lines starting with `+RENAME` rename an existing fund.  In later\n   lines it can only be used in transactions with the new name.\n\n   Rename attributes are (given in order, space-separated):\n\n   1. old fund name\n   2. new fund name\n\n * `@@ 24.12.2021`  \n   Lines starting with `@@` define the calendar day to use for the\n   next transactions.\n   \n   The date has to be given in `dd.mm.yyyy` form.\n   \n * `some_fund +1,23 = 34,16 ! 1,12`  \n   Lines in this format define a transaction.\n   \n   Transaction attributes are (given in order, space-separated):\n   \n   1. fund name (must have been defined previously, to catch typos)\n   2. the amount of shares bought (`+`) or sold (`-`)\n   3. a fixed separator `=`\n      (to denote that the shares value equals the currency amount)\n   4. the EUR equivalent value of the shares\n      (this is used to calculate the current rate or share price)\n   5. a fixed separator `!`\n   5. the EUR equivalent value of the transaction fees\n\nSo if you were to invest *80 EUR* into *fund_1*, your bank keeps *2\nEUR* as a transaction fee and the remaining 78 EUR allow you to buy\n*1,23 shares*, you would enter `fund_1 +1,23 = 78 ! 2`.\n\nLook at the tests for some demo data, eg. `test/test-1-basic.input`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmitch%2Fdepot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmitch%2Fdepot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmitch%2Fdepot/lists"}