meesern / GDAX-Trading-Bot

GDAX Trading Bot

Home Page:https://snapcraft.io/gdax-trading-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GDAX Trading Bot

This program is an automated trading system that can autonomously trade the LTC / BTC and ETH / BTC pairs in the Coinbase Pro exchange.

Keep in mind that trading is a risky activity that can involve a loss of money. You should only invest the amount you can afford to lose.

Trading strategy

The trading strategy consists of issuing a large number of low value orders. The program continuously monitors the price of each coin and issues a market buy order when the price begins to rise above the weighted average of the previous prices. Once the buy order is filled, the program issues a limit sell order at a higher price.

The seed

The seed is the amount of each coin that the program will trade continuously to earn bitcoins. The greater the seed, the greater the benefit. The seed values must be set in the program variables SEED_LTC_AMOUNT and SEED_ETH_AMOUNT.

You should be able to buy at least 10 seeds of each coin with your initial bitcoin balance. The more seeds you can buy, the easier it will be to recover from a losing streak.

Example:

  • Your seeds are set as 1 ltc and 1 eth (default settings)
  • The price of litecoin is 0.01 btc and the price of ethereum is 0.02 btc
  • You should be able to buy 10 seeds of each coin with your initial bitcoin balance
  • Your minimum bitcoin balance should be: (0.01 + 0.02) * 10 = 0.3 btc

Quick guide

Registration

API Key generation

Generate an API Key only with trade permission (https://pro.coinbase.com/profile/api)

Environment variables

Save the three values of the API key in the following environment variables of the operating system:

  • TRADING_BOT_PASSPHRASE
  • TRADING_BOT_KEY
  • TRADING_BOT_SECRET

Installation

  • Install Node.js (https://nodejs.org)
  • Download this repository
  • Open a system console
  • Run "npm install" in the root folder to install the required modules

Configuration

  • Open the file "index.js" with a text editor
  • Set the seeds in the variables SEED_LTC_AMOUNT and SEED_ETH_AMOUNT

Execution

  • Open a system console
  • Run "node index.js" in the root folder to start the execution of the program
  • Press Ctrl + C to exit

Donations

Please consider making a donation to the following Bitcoin Confidential address (BC):

B9uuWVj83v75AHNpDnmwxPFSoGooKwZiS2zL9bRQirBT7WWQaa6LfkuwbP8K9Z15xTrySeFbTzo2FdJVse9xexH9tTN25bpWvw4kDE

About

GDAX Trading Bot

https://snapcraft.io/gdax-trading-bot

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%