{"id":13682449,"url":"https://github.com/jnidzwetzki/crypto-bot","last_synced_at":"2025-04-30T09:32:37.406Z","repository":{"id":27392370,"uuid":"111696437","full_name":"jnidzwetzki/crypto-bot","owner":"jnidzwetzki","description":"This repository contains a crypto currency trading bot. The bot implements some strategies (donchian, ema, atr) and works on the Bitfinex crypto currency exchange.","archived":true,"fork":false,"pushed_at":"2024-03-02T21:46:58.000Z","size":560,"stargazers_count":97,"open_issues_count":1,"forks_count":44,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-08-02T13:34:08.835Z","etag":null,"topics":["algorithmic-trading","algorithmic-trading-engine","bitcoin","bot","crypto","crypto-bot","currency","donchian","ema","trade","trading","trading-algorithms","trading-systems"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jnidzwetzki.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-11-22T14:47:08.000Z","updated_at":"2024-07-26T11:12:21.000Z","dependencies_parsed_at":"2024-01-14T15:53:41.610Z","dependency_job_id":"53da96b4-c1f6-40b6-ae8b-764b0e46e5cb","html_url":"https://github.com/jnidzwetzki/crypto-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnidzwetzki%2Fcrypto-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnidzwetzki%2Fcrypto-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnidzwetzki%2Fcrypto-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnidzwetzki%2Fcrypto-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnidzwetzki","download_url":"https://codeload.github.com/jnidzwetzki/crypto-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224206072,"owners_count":17273383,"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":["algorithmic-trading","algorithmic-trading-engine","bitcoin","bot","crypto","crypto-bot","currency","donchian","ema","trade","trading","trading-algorithms","trading-systems"],"created_at":"2024-08-02T13:01:46.175Z","updated_at":"2024-11-12T02:30:42.858Z","avatar_url":"https://github.com/jnidzwetzki.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# A crypto currency trading bot\n\n\u003ca href=\"https://travis-ci.org/jnidzwetzki/crypto-bot\"\u003e\n  \u003cimg alt=\"Build Status\" src=\"https://travis-ci.org/jnidzwetzki/crypto-bot.svg?branch=master\"\u003e\n\u003c/a\u003e\u003ca href=\"https://scan.coverity.com/projects/jnidzwetzki-crypto-bot\"\u003e\n  \u003cimg alt=\"Coverity Scan Build Status\"\n       src=\"https://scan.coverity.com/projects/15223/badge.svg\"/\u003e\n\u003c/a\u003e\u003ca href=\"http://makeapullrequest.com\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://gitter.im/trading-bot/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"\u003e\n  \u003cimg alt=\"Join the chat at https://gitter.im/trading-bot/Lobby\" src=\"https://badges.gitter.im/Join%20Chat.svg\"\u003e\n  \u003c/a\u003e\n\nThis repository contains a crypto currency trading bot. The bot implements some strategies (donchian, ema, atr) and works on the Bitfinex crypto currency exchange. In addition, the project contains some backtesting tools.\n\n**Warning:** Trading carries significant financial risk; you could lose a lot of money. If you are planning to use this software to trade, you should perform many tests and simulations first. This software is provided 'as is' and released under the _Apache 2.0 license_. \n\n## Installation\n\nClone the repository and add at least one API key to the `auth.properties` file. The bot is able to trade multiple Bitfinex accounts in parallel. \n\nConfiguration example for one account:\n\n```\napiConnections=1\napiKey.0=\u003cYOUR-API-KEY\u003e\napiSecret.0=\u003cYOUR-API-SECRET\u003e\n```\n\nConfiguration example for two accounts:\n\n```\napiConnections=2\napiKey.0=\u003cYOUR-FIRST-API-KEY\u003e\napiSecret.0=\u003cYOUR-FIRST-API-SECRET\u003e\napiKey.1=\u003cYOUR-SECOND-API-KEY\u003e\napiSecret.1=\u003cYOUR-SECOND-API-SECRET\u003e\n```\n\nAfter the configuration is done, you can start the `EMABot` or the `DonchianBot`.\n\n# Strategies\nThe bot contains two major trend following strategies at the moment. \n\n## EMA Bot\nThe EMA bot uses three simple moving averages with different lengths. A buy is triggered when `ema short \u003e ema middle \u003e ema long` and a sell is triggered when the `ema middle \u003c ema long`. A ATR filter can be applied, buys only executed when the ATR (Average True Range) indicator confirms a trend (`ATR \u003e= 14`).\n\n## Donchian bot\nThe Donchaian bot calculated the [Donchian channel](https://en.wikipedia.org/wiki/Donchian_channel) for a given time interval. A buy is triggered when the price touches upper channel, a sell is triggered when the lower channel is touched.\n\n# Changelog\nYou will find the changelog of the project [here](https://github.com/jnidzwetzki/crypto-bot/blob/master/CHANGELOG.md).\n\n## What's next?\n* If you like the project, please star it on GitHub!\n* If you are interested in the Bitfinex API implementation, see my other project at [https://github.com/jnidzwetzki/bitfinex-v2-wss-api-java](https://github.com/jnidzwetzki/bitfinex-v2-wss-api-java).\n* You need a highly available MySQL server for your trading? Have a look at [https://github.com/jnidzwetzki/mysql-ha-cloud](https://github.com/jnidzwetzki/mysql-ha-cloud).\n* For more information see [https://github.com/jnidzwetzki](https://github.com/jnidzwetzki).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnidzwetzki%2Fcrypto-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnidzwetzki%2Fcrypto-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnidzwetzki%2Fcrypto-bot/lists"}