{"id":24433862,"url":"https://github.com/windler/etf-dash","last_synced_at":"2026-03-16T20:02:18.069Z","repository":{"id":151075839,"uuid":"147931079","full_name":"windler/etf-dash","owner":"windler","description":"Stock (etf) portfolio dashboard and api","archived":false,"fork":false,"pushed_at":"2018-09-08T12:53:45.000Z","size":261,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T21:26:15.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null}},"created_at":"2018-09-08T12:24:35.000Z","updated_at":"2018-09-08T12:53:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a662f33-3324-4d77-9f38-8f9ccbdfa087","html_url":"https://github.com/windler/etf-dash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/windler/etf-dash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fetf-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fetf-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fetf-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fetf-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windler","download_url":"https://codeload.github.com/windler/etf-dash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fetf-dash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28103527,"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","status":"online","status_checked_at":"2025-12-28T02:00:05.685Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-20T16:51:01.385Z","updated_at":"2025-12-28T20:13:32.207Z","avatar_url":"https://github.com/windler.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/windler/etf-dash)](https://goreportcard.com/report/github.com/windler/etf-dash) [![codebeat badge](https://codebeat.co/badges/97446bb4-5645-46f6-98c2-350726d387b3)](https://codebeat.co/projects/github-com-windler-etf-dash-master)\n\n\n# etf-dash\nStock api and dashboard for stock (etf) simulations. Its main purpose was to get a idea how an etf portfolio will progress over time and visualize compounded interest.\n\n# Installation\n```bash\ngo get -u github.com/windler/etf-dash\n```\n\n# Usage\n`etf-dash` bases on [alphavantage-api](https://www.alphavantage.co/). Therefore, you need an api key. If no key is provided the `demo` key is used. After obtaining a key, start the api server via (assuming etf-dash is in your `$PATH`)\n\n```bash\netf-dash -apiKey=\"YOUR_API_KEY\"\n```\n\nThis will start a webserver listening on `:1234`.\n\n#Dashboard\n\nYou can access a dashboard via `localhost:1234`.\n\n![Dashboard screen 1](images/dash1.png)\n![Dashboard screen 2](images/dash2.png)\n\n# JSON-api\nVia `localhoist:1234/getData` you can access the JSON-api.\nThe request payload follows the following structs:\n\n```go\ntype GetDataRequest struct {\n\tSavings                   []stockdata.MonthlySaving `json:\"savings\"`\n\tAllowance                 float64                   `json:\"allowance\"`\n\tTransactionCostPercentage float64                   `json:\"transactionCostPercentage\"`\n\tFrom                      string                    `json:\"from\"`\n\tTo                        string                    `json:\"to\"`\n}\n```\n\n```go\ntype MonthlySaving struct {\n\tSymbol        string  `json:\"symbol\"`\n\tInitialAmount float64 `json:\"initialAmount\"`\n\tSaving        float64 `json:\"monthlySavings\"`\n}\n```\n\n# Data\nTax calculation are based on german tax law (2018). There is no guarantee that any of the calculated data is correct.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fetf-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindler%2Fetf-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fetf-dash/lists"}