Giter Club home page Giter Club logo

tradebot-4's Introduction

arbitrage tradebot

Clone the code

$ git clone https://github.com/cointradingbot/tradebot.git && cd tradebot

Configure email, coin, delta, plus point to win

  1. Configure email so that it will send notifications everytime the tradebot sends trading commands. To configure the email, go to config/production.json and change the value of the email section:
  • apiKey: apiKey of Sendgrid
  • emailTo: email you want to send notifications to
  • toName: the email name
  • emailFrom: the email from
  • fromName: from Name
  1. Configure the coin, change the value of the tradecoins section:
  • token: token value, eg. XVG, ADA, XLM, ...
  • fixQuantity: the quantity which the bot will trade every time
  • plusPointToWin: sometimes the market will fluctuate very much, we're not sure the tradebot's trading commands will be matched, so it's will be safe for us to plus some +/- points (shatoshi) to inrease the chance of matches.
  • expectedDelta: when the gap between the exchanges meet the expected delta, the tradebot will send the trading commands (include plusPointToWin). The tradebot will also make sure that the trading must generate the profit, otherwise it will not execute.

Run with Docker

After we configure the email and token, we can build the bot using Docker

$ docker build -t tradebot .
$ docker run -d --name bot tradebot

Notes

To prepare for the tradebot you make sure you will have alt-coin & bitcoin to trade. Each trading will have a pair: sell alt-coin at an exchange and buy alt-coin (using bitcoin) at the other exchange. If you want to enable auto balance mode, you must have enough alt-coin & bitcoin at both exchanges.

tradebot-4's People

Contributors

trumhemcut avatar dependabot[bot] 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.