Giter Club home page Giter Club logo

crypto-bot's Introduction

A crypto currency trading bot

Build Status Coverity Scan Build Status Join the chat at https://gitter.im/trading-bot/Lobby

This 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.

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.

Installation

Clone 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.

Configuration example for one account:

apiConnections=1
apiKey.0=<YOUR-API-KEY>
apiSecret.0=<YOUR-API-SECRET>

Configuration example for two accounts:

apiConnections=2
apiKey.0=<YOUR-FIRST-API-KEY>
apiSecret.0=<YOUR-FIRST-API-SECRET>
apiKey.1=<YOUR-SECOND-API-KEY>
apiSecret.1=<YOUR-SECOND-API-SECRET>

After the configuration is done, you can start the EMABot or the DonchianBot.

Strategies

The bot contains two major trend following strategies at the moment.

EMA Bot

The EMA bot uses three simple moving averages with different lengths. A buy is triggered when ema short > ema middle > ema long and a sell is triggered when the ema middle < ema long. A ATR filter can be applied, buys only executed when the ATR (Average True Range) indicator confirms a trend (ATR >= 14).

Donchian bot

The Donchaian bot calculated the 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.

Changelog

You will find the changelog of the project here.

What's next?

crypto-bot's People

Contributors

dependabot[bot] avatar jnidzwetzki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.