golang-crypto-trading-bot

command module
Version: v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

README

golang-crypto-trading-bot

Release Documentation Travis CI Go Report Card GitHub release license

A golang implementation of a console-based trading bot for cryptocurrency exchanges.

Supported Exchanges

Bittrex, Poloniex, Binance, Bitfinex and Kraken, other in progress.

Usage

Download a release or directly build the code from this repository.

$ go get github.com/saniales/golang-crypto-trading-bot

If you need to, you can create a strategy and bind it to the bot:

import bot "github.com/saniales/golang-crypto-trading-bot/cmd"

bot.AddCustomStrategy(myStrategy)
bot.Execute()

For strategy reference see the Godoc documentation.

Configuration file template

Create a configuration file from this example or run the init command of the compiled executable.

exchange_configs: 
  - exchange: bittrex
    public_key: your_bittrex_public_key
    secret_key: your_bittrex_secret_key
  - exchange: binance
    public_key: your_binance_public_key
    secret_key: your_binance_secret_key
  - exchange: bitfinex
    public_key: your_bitfinex_public_key
    secret_key: your_bitfinex_secret_key
strategies:
  - strategy: your_strategy_name
    markets:
      - market: market_logical_name
        bindings:
        - exchange: bittrex
          market_name: market_name_on_bittrex
        - exchange: binance
          market_name: market_name_on_binance
        - exchange: bitfinex
          market_name: market_name_on_bitfinex
      - market: another_market_logical_name
        bindings:
        - exchange: bittrex
          market_name: market_name_on_bittrex
        - exchange: binance
          market_name: market_name_on_binance
        - exchange: bitfinex
          market_name: market_name_on_bitfinex

Donate

Feel free to donate:

METHOD ADDRESS
Paypal https://paypal.me/AlessandroSanino
BTC 1DVgmv6jkUiGrnuEv1swdGRyhQsZjX9MT3
XVG DFstPiWFXjX8UCyUCxfeVpk6JkgaLBSNvS
ETH 0x2fe7bd8a41e91e9284aada0055dbb15ecececf02
USDT 18obCEVmbT6MHXDcPoFwnUuCmkttLbK5Xo

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
Package environment contains all the trade environment.
Package environment contains all the trade environment.
Package exchanges contains all wrappers for common exchanges.
Package exchanges contains all wrappers for common exchanges.
Package strategies contains all strategies which can be used by the bot.
Package strategies contains all strategies which can be used by the bot.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL