{"id":21239541,"url":"https://github.com/primexz/krakendca","last_synced_at":"2025-07-10T19:32:29.087Z","repository":{"id":232961542,"uuid":"785331014","full_name":"Primexz/KrakenDCA","owner":"Primexz","description":"DCA tool to buy cryptocurrencies as often as possible on Kraken 🐙","archived":false,"fork":false,"pushed_at":"2025-04-15T05:48:02.000Z","size":129,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T06:32:38.837Z","etag":null,"topics":["cryptocurrency","dca","dca-automator","dca-bot","go","golang","kraken","krakenexchange"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Primexz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-04-11T17:09:31.000Z","updated_at":"2025-04-15T05:48:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"17f28c19-9600-4f39-a5fa-d75a572154ba","html_url":"https://github.com/Primexz/KrakenDCA","commit_stats":null,"previous_names":["primexz/krakendca"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/Primexz/KrakenDCA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Primexz%2FKrakenDCA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Primexz%2FKrakenDCA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Primexz%2FKrakenDCA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Primexz%2FKrakenDCA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Primexz","download_url":"https://codeload.github.com/Primexz/KrakenDCA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Primexz%2FKrakenDCA/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264639922,"owners_count":23642319,"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":["cryptocurrency","dca","dca-automator","dca-bot","go","golang","kraken","krakenexchange"],"created_at":"2024-11-21T00:44:04.982Z","updated_at":"2025-07-10T19:32:28.856Z","avatar_url":"https://github.com/Primexz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐙 Kraken-DCA\n\n**Automated dollar cost averaging on the Kraken exchange**\n\n![Buid](https://img.shields.io/github/actions/workflow/status/primexz/krakendca/release.yml)\n![License](https://img.shields.io/github/license/primexz/krakendca)\n\n## Table of Contents\n1. ➤ [About the project](#-about-the-project)\n    - [Orders](#-orders)\n2. ➤ [Configuration](#-configuration)\n3. ➤ [Push Notifications](#-push-notifications)\n4. ➤ [Run with Docker](#-run-with-docker)\n    - [Docker-CLI](#-docker-cli)\n    - [Docker-Compose](#-docker-compose)\n5. ➤ [Run without Docker](#-run-without-docker)\n\n## 🔍 About the project\n\nSince Kraken has extremely high fees for its crypto savings plan, this tool was developed to invest regularly in cryptocurrencies. Since Kraken offers two platforms: ‘Kraken’ and ‘Kraken Pro’, we take advantage of the fact that Kraken Pro has very low fees. All you have to do is regularly deposit fiat currencies on Kraken Pro and the bot does everything else for you.\n\n### 💰 Orders\n\n#### When will orders be placed?\n\nBitcoin orders are placed as often as possible. To illustrate the behaviour in more detail, let's look at the following example:\nYou deposit €500 per month on Kraken-Pro.\nThe bot calculates how often you can buy Bitcoin this month, as Kraken has a minimum purchase limit of 0.0001 BTC. Your orders are executed as often as possible throughout the month, thereby achieving dollar-cost averaging.\n\n## ⚙️ Configuration\n\nThis tool is configured via environment variables. Some environment variables are required and some activate additional functionalities.\n\n\n| Variable | Description | Required | Default |\n| --- | --- | --- | --- |\n| `KRAKEN_PUBLIC_KEY` | Your Kraken API public key | ✅ | |\n| `KRAKEN_PRIVATE_KEY` | Your Kraken API private key | ✅ | |\n| `CURRENCY` | Your fiat currency to be used, e.g. USD or EUR | ❌  | `USD` |\n| `KRAKEN_ORDER_SIZE` | The order size to be used. This value should only be edited if you know exactly what you are doing. | ❌ | `0.0001` |\n| `LIMIT_ORDER_MODE` | If set to true, limit orders are placed. With a normal monthly volume, you only pay 0.25% fees per purchase instead of 0.4%. | ❌ | `false` |\n| `CHECK_DELAY` | How often the algorithm should be executed, in seconds. | ❌ | `60` |\n| `GOTIFY_URL` | URL to your Gotify server | ❌ |  |\n| `GOTIFY_APP_TOKEN` | App token for the app on the Gotify server | ❌ |  |\n\n## 📱 Push Notifications\n\nThe environment variables `GOTIFY_URL` and `GOTIFY_APP_TOKEN` can be used to activate Gotify Push Notifications. As soon as a purchase has been made, you will immediately receive a notification so that you always have a full overview of your purchases.\n\n\n### 🐳 Run with Docker\n\n###  Docker-CLI\n\n```bash\ndocker run -d --name kraken_dca \\\n  -e KRAKEN_PUBLIC_KEY=your-public-key \\\n  -e KRAKEN_PRIVATE=your-private-key \\\n  -e CURRENCY=EUR \\\n  ghcr.io/primexz/kraken_dca:latest\n\n```\n\n\n### 🚀 Docker-Compose\n\n```bash\nvim docker-compose.yml\n```\n\n```yaml\nversion: \"3.8\"\nservices:\n  kraken_dca:\n    image: ghcr.io/primexz/kraken_dca:latest\n    environment:\n      - KRAKEN_PUBLIC_KEY=your-public-key\n      - KRAKEN_PRIVATE_KEY=your-private-key\n      - CURRENCY=EUR\n    restart: always\n```\n\n```bash\ndocker-compose up -d\n```\n\n\n## 💻 Run without Docker\n\nThis tool can be run directly with Go for development.\n\n```bash\nKRAKEN_PUBLIC_KEY=your-public-key KRAKEN_PRIVATE_KEY=your-private-key go run .\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimexz%2Fkrakendca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimexz%2Fkrakendca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimexz%2Fkrakendca/lists"}