/bitcoin-tofybot

DEPRECATED, A reboot of my old HAL10K traderbot that was deprecated on MTGox crash. (new algos, new approach)

Primary LanguagePHP

TOFY - bitcoin trader bot (former HAL10K)
Package intrd/bitcoin-tofybot
Version 1.0
Tags bitcoin, bot, eggdrop, php, okcoin
Project URL http://github.com/intrd/bitcoin-tofybot
Author intrd (Danilo Salles) - http://dann.com.br
Author Rafael (Rafael Def) - http://nosite.xxx
Copyright (proprietary) 2016, intrd
License Proprietary software
Dependencies • php >=5.3.0 • intrd/php-common >=1.0.x-dev =1.0.x-dev =1.0.x-dev

A reboot of my old HAL10K traderbot that was deprecated on MTGox crash. (new algos, new approach)

running_win

  • Working on OKCoin Futures

Installation

System requiriments & dependencies

$ sudo apt-get update & sudo apt-get upgrade
$ sudo apt-get install curl git php5-curl php5-cli php5-mcrypt 
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

Now download the package (Composer automatically install all dependencies)
$ git clone https://github.com/intrd/bitcoin-tofybot && cd bitcoin-tofybot
$ composer install -o
$ composer update -o

Usage

  1. Rename secrets_sample.ini to secrets.ini.
  2. Open secrets.ini and change ENCRYPTION_KEY to serial number given to you (Request it from developers. Yes, its needed to decrypt/run this bot)
  3. Review config.ini, and..
Backtesting # Cryptowat.ch - okcoinUSDfutures (1min interval), 24 hours ago
$ ./run.sh backtesting cryptowat_okcoinUSDfutures 0

Backtesting # INTRD Records - okcoinUSDfutures (custom interval or 10s minimum), since 10/28/2016 01:43:19
$ ./run.sh backtesting intrd_okcoinUSDfutures 0

Paper # OkCoinUSDfutures LIVE API
$ ./run.sh paper live_okcoinUSDfutures 0
* Set the last argument to 1, to reset balance/orders/positions. 

Update

$ ./update.sh
$ composer update -o