This program is an automated trading system that can autonomously trade the Maker / Bitcoin and Ethereum / Bitcoin 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. This snap uses 0.01 MKR and 0.01 ETH as seeds.
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 0.01 MKR and 0.01 ETH.
The price of Maker is 0.1 BTC and the price of Ethereum is 0.2 BTC.
You should be able to buy 10 seeds of each coin with your initial bitcoin balance.
Your minimum bitcoin balance should be: (0.1 × 0.01 + 0.2 × 0.01) × 10 = 0.03 BTC.
----- Registration -----
Register in Coinbase (https://www.coinbase.com).
Use the Coinbase account to login to the Coinbase Pro exchange (https://pro.coinbase.com).
Deposit the amount of bitcoins you want.
----- API Key generation -----
Generate an API Key only with trade permission (https://pro.coinbase.com/profile/api).
----- Environment variables -----
Open the file ".bashrc" in your home folder and save the three values of the API Key in the following environment variables:
export TRADING_BOT_PASSPHRASE="your passphrase"
export TRADING_BOT_KEY="your key"
export TRADING_BOT_SECRET="your secret"
----- Execution -----
Open a system console.
Run "gdax-trading-bot" to start the execution of the program.
Press Ctrl + C to exit.