Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Doc

Pages: [1]
1
Technical Support & Development / no trades at all with v5.0.4
« on: October 05, 2017, 08:12:02 AM »
running since 90 hours or so, can somone please help?

conf is almost default with just couples added, pure BB

changes in red

Quote
{
   "pairs": {
      "poloniex": {
         "BTC_XRP": {
            "strategy": "bb",

            "override": {
               "BTC_TRADING_LIMIT": 0.002
            }
         },
         "BTC_DASH": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_ETH": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_XMR": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_ETC": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_STRAT": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_LTC": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_GAME": {
            "strategy": "bb",

            "override": {}
         },
         "BTC_DGB": {
            "strategy": "bb",

            "override": {}
         }

      },
      "kraken": {
         "DASHEUR": {
            "strategy": "bb",
            "override": {}
         },
                        "XLTCXXBT": {
            "strategy": "bb",
            "override": {}
         }
      },
      "bittrex": {
         "BTC-LTC": {
            "strategy": "bb",
            "override": {}
         },
                        "BTC-ARK": {
            "strategy": "bb",
            "override": {}
         }
      },
      "cryptopia": {
         "SIGT_BTC": {
            "strategy": "bb",

            "override": {}
         },
                        "OMG_BTC": {
            "strategy": "bb",

            "override": {}
         }
      }
   },

   "exchanges": {
      "poloniex": {
         "key": "123",
         "secret": "123"
      },
      "kraken": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      },
      "bittrex": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      },
      "cryptopia": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      }

   },

   "bot": {
      "debug": false,

      "period_storage_ticker": 2000,
      "interval_ticker_update": 25000,

      "timeout_buy": 60000,
      "timeout_sell": 60000,

      "WATCH_MODE": false,
      "VERBOSE": true,
      "TV_GAIN": 0.6,
      "TV_TRADING_LIMIT": 0.001,
      "BOT_DELAY": 1
   },

   "ws": {
      "port": 5001
   },

   "imap_listener": {
      "enabled": false,
      "authorized_froms": ["noreply@tradingview.com"],
      "user": "YOUR_EMAIL_HERE",
      "password": "YOUR_PASSWORD_HERE",
      "host": "imap.gmail.com",
      "port": 993,
      "tls": true,
      "tlsOptions": {
         "rejectUnauthorized": false
      }
   },

   "strategies": {
      "bb": {
         "BTC_TRADING_LIMIT": 0.002,
         "PERIOD": 15,
         "EMA1": 2,
         "EMA2": 4,
         "GAIN": 2,
         "HIGH_BB": 27,
         "LOW_BB": 25,
         "STDV": 2,
         "SMAPERIOD": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.0001,
         "MIN_VOLUME_TO_SELL": 0.0001

      },
      "gain": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "BUY_LEVEL": 2,
         "GAIN": 2,
         "EMA1": 200,
         "EMA2": 50,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },

      "pp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PP_BUY": 0.00000001,
         "PP_SELL": 0.12345678,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "stepgain": {
         "BTC_TRADING_LIMIT": 0.02,
         "PERIOD": 15,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "BUYLVL": 2,
         "SELLLVL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "bbgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.6,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "gainbb": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUY_LEVEL": 2,
         "GAIN": 0.6,
         "HIGH_BB": 45,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "bbstepgain": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "SELLLVL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "stepgainbb": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "HIGH_BB": 49,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "BUYLVL": 2,
         "GAIN": 0.6,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },

      "bbpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.1,
         "HIGH_BB": 40,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PP_SELL": 0.12345678,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "ppbb": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.1,
         "HIGH_BB": 40,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PP_BUY": 0.00000001,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "gainstepgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PERIOD": 15,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "SELLLVL": 2,
         "BUY_LEVEL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "stepgaingain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "BUYLVL": 2,
         "GAIN": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "gainpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUY_LEVEL": 0.1,
         "PP_SELL": 0.12345678,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "ppgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 2,
         "PP_BUY": 0.12345678,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "stepgainpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUYLVL1": 1,
         "BUYLVL2": 3,
         "BUYLVL3": 5,
         "BUYLVL": 2,
         "PP_SELL": 0.1,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "ppstepgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "SELLLVL1": 2,
         "SELLLVL2": 5,
         "SELLLVL3": 10,
         "SELLLVL": 2,
         "PP_BUY": 0.00000001,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      }


   },

   "optionals": {
      "toOverride": {
         "BOUGHT_PRICE": 0.104744

      }
   }


}

2
https://snag.gy/zcOj4s.jpg
Code: [Select]
2017/06/07 18:59:41 ###[ --2017/06/07 18:59:41--poloniex--BTC_BURST  --  Gunbot v3.3 cycle #5573 --------------- ]
2017/06/07 18:59:41 ::::: collecting market data...
2017/06/07 18:59:42 ***************************************************
2017/06/07 18:59:42 EMA1:0.00000619 - EMA2:0.00000634
2017/06/07 18:59:42 ***************************************************
2017/06/07 18:59:42 STEPGAIN price to buy 0.00000619 -- GAIN price to buy 0.000006211632000000003
2017/06/07 18:59:54 2017/06/07 18:59:54 Error: statusCode 422
2017/06/07 18:59:54 !!! Cycle 5574 failed. Will repeat in 23s
2017/06/07 19:00:17 ###[ --2017/06/07 19:00:17--poloniex--BTC_BURST  --  Gunbot v3.3 cycle #5574 --------------- ]
2017/06/07 19:00:17 ::::: collecting market data...
2017/06/07 19:00:30 ***************************************************
2017/06/07 19:00:30 EMA1:0.00000606 - EMA2:0.00000629
2017/06/07 19:00:30 ***************************************************
2017/06/07 19:00:30 STEPGAIN price to buy 0.00000619 -- GAIN price to buy 0.000006211632000000003
2017/06/07 19:00:45 LP 0.00000618  Bal.BTC 0.61505343  Bal.BURST 0(0)
2017/06/07 19:00:45 No open orders
2017/06/07 19:00:45 boughtPrice 0.00000599
2017/06/07 19:00:45 price  grows (8)
2017/06/07 19:00:45 PriceToBuy,0.0619,priceToSell,0.0619
2017/06/07 19:00:45 LP 0.0618000,<=,prBuy 0.0619000  secMargin 0.0000056905  grows yes
2017/06/07 19:00:45 no altcoins: 0
2017/06/07 19:00:45 price to buy: 0.00000619
2017/06/07 19:00:45 price is sweet to buy
2017/06/07 19:00:45 price is growing
2017/06/07 19:00:45 Buying on poloniex 5663.430920711975 of BURST for 0.00000618
2017/06/07 19:01:04
2017/06/07 19:01:04 *** MARKET CALLBACK | buy 5663.430920711975 BURST for 0.00000618 BTC
2017/06/07 19:01:04 Gunbot callback at 2017/06/07 19:01:04 cycle # 5574
2017/06/07 19:01:04 Callback:
2017/06/07 19:01:04 ---------
2017/06/07 19:01:04 buy 5663.430920711975 BURST for 0.00000618 BTC
need faster: no
need slower: no

2017/06/07 19:01:04 next delay will be 53s




if the problem are the 422s then help me with those because I have a lot. only 5 couples together

allpairs
Code: [Select]
var config = {
BOT_SLEEP_DELAY:(1000)*53,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*23, // bot repeat cycle delay if previous cycle failed  (koef*sec)
BUYLVL1: 2,
BUYLVL2: 6,
BUYLVL3: 40,
SELLLVL1: 1.5,
SELLLVL2: 3,
SELLLVL3: 70,
BUY_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
BTC_TRADING_LIMIT: 0.035,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 5, // sell all balance if currency decreases x% after you bought it
POLONIEX_KEY: 123
POLONIEX_SECRET: 456
};
 
module.exports = config;
rest is default


3


https://snag.gy/zBJmCe.jpg

this is allpairs, all the rest is default
Code: [Select]
var config = {
BOT_SLEEP_DELAY:(1000)*53,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*23, // bot repeat cycle delay if previous cycle failed  (koef*sec)
BUYLVL1: 2,
BUYLVL2: 6,
BUYLVL3: 40,
SELLLVL1: 1.5,
SELLLVL2: 3,
SELLLVL3: 70,
BUY_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
BTC_TRADING_LIMIT: 0.035,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 5, // sell all balance if currency decreases x% after you bought it
POLONIEX_KEY: ***,
POLONIEX_SECRET: ***
};
 
module.exports = config;


4
It is an error from GB 3.3.2 (and 3.3, didn't try 3.3.1)
I'm only using 5 couples and I only see it in SC and STR, but it pops out at every cycle. is it something bad? Can I keep running 3.3.x or is it safer to roll back to 3.2?

Code: [Select]
1|BTC_SC   | Unhandled rejection Error: We sent BUY order but the exchange didnt receive it.
1|BTC_SC   |     at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/poloniex.js.module.exports.Market.checkifwesold.poloniex.returnOpenOrders [as callback] (evalmachine.<anonymous>:0:0)
1|BTC_SC   |     at /snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/async/dist/async.js:2243:31
1|BTC_SC   |     at /snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/async/dist/async.js:906:16
1|BTC_SC   |     at Request._callback (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/plnx/lib/index.js:138:7)
1|BTC_SC   |     at Request.self.callback (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:188:22)
1|BTC_SC   |     at emitTwo (events.js:106:13)
1|BTC_SC   |     at Request.emit (events.js:192:7)
1|BTC_SC   |     at Request.<anonymous> (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:1171:10)
1|BTC_SC   |     at emitOne (events.js:96:13)
1|BTC_SC   |     at Request.emit (events.js:189:7)
1|BTC_SC   |     at IncomingMessage.<anonymous> (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:1091:12)
1|BTC_SC   |     at Object.onceWrapper (events.js:291:19)
1|BTC_SC   |     at emitNone (events.js:91:20)
1|BTC_SC   |     at IncomingMessage.emit (events.js:186:7)
1|BTC_SC   |     at endReadableNT (_stream_readable.js:974:12)
1|BTC_SC   |     at _combinedTickCallback (internal/process/next_tick.js:74:11)
1|BTC_SC   |     at process._tickCallback (internal/process/next_tick.js:98:9)
Code: [Select]
3|BTC_STR  | Unhandled rejection Error: We sent BUY order but the exchange didnt receive it.
3|BTC_STR  |     at Object.console./snapshot/Users/Enrico/Desktop/xBot_v2.9.3/poloniex.js.module.exports.Market.checkifwesold.poloniex.returnOpenOrders [as callback] (evalmachine.<anonymous>:0:0)
3|BTC_STR  |     at /snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/async/dist/async.js:2243:31
3|BTC_STR  |     at /snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/async/dist/async.js:906:16
3|BTC_STR  |     at Request._callback (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/plnx/lib/index.js:138:7)
3|BTC_STR  |     at Request.self.callback (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:188:22)
3|BTC_STR  |     at emitTwo (events.js:106:13)
3|BTC_STR  |     at Request.emit (events.js:192:7)
3|BTC_STR  |     at Request.<anonymous> (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:1171:10)
3|BTC_STR  |     at emitOne (events.js:96:13)
3|BTC_STR  |     at Request.emit (events.js:189:7)
3|BTC_STR  |     at IncomingMessage.<anonymous> (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:1091:12)
3|BTC_STR  |     at Object.onceWrapper (events.js:291:19)
3|BTC_STR  |     at emitNone (events.js:91:20)
3|BTC_STR  |     at IncomingMessage.emit (events.js:186:7)
3|BTC_STR  |     at endReadableNT (_stream_readable.js:974:12)
3|BTC_STR  |     at _combinedTickCallback (internal/process/next_tick.js:74:11)
3|BTC_STR  |     at process._tickCallback (internal/process/next_tick.js:98:9)

5
pls help, I'm losing a lot of trades... :(


Code: [Select]
0|BTC_BCN  | [ --2017/05/19 19:18:59--poloniex--BTC_BCN  --  Gunbot v3.2 cycle #2944 --------------- ]
0|BTC_BCN  | ::::: collecting market data...
0|BTC_BCN  | +
0|BTC_BCN  | +
0|BTC_BCN  | +
0|BTC_BCN  | +
0|BTC_BCN  | LP 9.4e-7  Bal.BTC 0.32707016  Bal.BCN 79346.59140784(0)
0|BTC_BCN  | No open orders
0|BTC_BCN  | boughtPrice 8.8e-7
0|BTC_BCN  | price  falls (-1)
0|BTC_BCN  | PriceToBuy 0.0084 priceToSell 0.0150
0|BTC_BCN  | we have altcoins: 79346.59140784
0|BTC_BCN  | LP 0.0094 < prSell 0.01496  secMargin 3.3492800000000126e-7  falls no
0|BTC_BCN  | price is too low to sell
0|BTC_BCN  | Gunbot callback at 2017/05/19 19:19:01 cycle # 2944
0|BTC_BCN  | Callback:
0|BTC_BCN  | ---------
0|BTC_BCN  | waiting to sell
0|BTC_BCN  | need faster: no
0|BTC_BCN  | need slower: no
0|BTC_BCN  | next delay will be 29s
Code: [Select]
var config = {
//  DEBUG
DEBUG_LOG:false,
I_REALLY_WANT_IT:false,
BUY_SMALL_PORTION:1,
INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005,
INSUFFICIENT_FUNDS_ON_BUY_FIX: 0.0005,


//-----------------------------------------------
//   STARTUP OPTIONS
//-----------------------------------------------

SELL_ON_START:false,
CANCEL_SELL_ORDERS_ON_START:false,
CANCEL_BUY_ORDERS_ON_START:false,
CANCEL_OPEN_ORDERS_ON_START:false,



MAX_LATEST_PRICES: 300,// limit of latest prices to analyze to determine if price is growing or falling
MAX_LATEST_PRICES_TREND: 30,// limit of latest prices to analyze to determine if price is growing or falling
MAX_LATEST_DIRECTIONS:30,// limit of latest  price directions ,used in supergun detection
MAX_LAST_ORDERS:5,  // keeping last orders bought
PERIOD: 15,   // candlestick period

SAVEFILE_SUFFIX: '-save.json',
//-----------------------------------------------
//  PRIMARY SETTINGS
//-----------------------------------------------
DEFAULT_MARKET_NAME:"poloniex",
DEFAULT_CURRENCY_PAIR:"BTC_ETH",   //  single pair format for all markets !
BUYLVL1: 3,
BUYLVL2: 12,
SELLLVL1: 2,
SELLLVL2: 70,
BUYLVL: 2,
SELLLVL: 2,
BUY_STRATEGY: "STEPGAIN", // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: "STEPGAIN", // accepted values BB or STEPGAIN or GAIN or PINGPONG
LOW_BB: 25,
HIGH_BB: 30,
PINGPONG_BUY: 0.001,
PINGPONG_SELL: 0.002,
BUY_LEVEL: 3, // If GAIN buy strategy is used, buy at this percentual below lower ema value
GAIN: 2, // If GAIN sell strategy is used, sell at this percentual above bought price
BTC_TRADING_LIMIT: 0.07,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it
MIN_VOLUME_TO_BUY: 0.0005,  // bitrex min volume

//---BITTREX
BITTREX_KEY:'',
BITTREX_SECRET:'',

BITTREX_PRICE_METHOD:'ohlc',// ohlc OR vwa  "price to buy" definition method
BITTREX_VWA_1_INTERVAL: 10,// weighted average interval in minutes
BITTREX_VWA_2_INTERVAL: 120,// weighted average interval in minutes


//---KRAKEN
KRAKEN_ASSET_PAIR:'XETHXXBT',

KRAKEN_KEY: '',
KRAKEN_SECRET: '',


KRAKEN_PRICE_METHOD:'vwa',// ohlc OR vwa  "price to buy" definition method
KRAKEN_VWA_1_INTERVAL: 1,// weighted average interval in minutes
KRAKEN_VWA_2_INTERVAL: 15,// weighted average interval in minutes

//---POLONIEX
POLONIEX_KEY: '***',
POLONIEX_SECRET: '***',


POLONIEX_PRICE_METHOD:'vwa',// ohlc OR vwa  "price to buy" definition method
POLONIEX_VWA_1_INTERVAL: 0.02,// weighted average interval in hours
POLONIEX_VWA_2_INTERVAL: 0.04,// weighted average interval in hours


 
 
//-----------------------------------------------
//   BOT TIMINGS
//-----------------------------------------------
API_CALLS_DELAY:777,
BOT_SLEEP_DELAY:(1000)*23,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*60, // bot repeat cycle delay if previous cycle failed  (koef*sec)
//-----------------------------------------------
// EMAIL
//-----------------------------------------------
ALERT_ON_NO_FUNDS:false,  // email on insufficcient funds
SMTP_EMAIL: '%40@gmail.com',
ALERT_EMAIL:'********',
SMTP_PASSWORD: '**********',
SMTP: true,
SMTP_PROTOCOL: 'SMTPS',
SMTP_HOST: 'smtp.gmail.com',

//-----------------------------------------------
//  OUTPUT
//-----------------------------------------------
MAX_LATEST_PRICES_SHOWN: 0, // limit of latest prices to show in console.log
SHOW_LASTEST_DIRECTIONS:false,  // show chart in console
MAX_LATEST_DIRECTIONS_SHOWN:0, // chart height
LASTEST_DIRECTIONS_LIST_WIDTH:0, // chart width

//-----------------------------------------------
//   OTHER (might be deprecated/not in use)
//-----------------------------------------------
BTC_BALANCE: 2// btc balance for test purposes,
};
 
module.exports = config;



6
General Discussion / GUNBOT 3.2 is OUT
« on: May 11, 2017, 08:16:00 PM »
https://github.com/GuntharDeNiro/BTCT/releases

Good Job Gunthar!!!!


edit:

well, it's a feature review atm

7
Technical Support & Development / Feature request: bag releasing
« on: May 03, 2017, 01:57:54 PM »
I'm referring to this article https://github.com/GuntharDeNiro/BTCT/wiki/When-To-Stop-GunBot-And-Go-Manual

when a dump occurs I usually do the above end start the couple again, it would by handy to have GUNBOT do this for us with a command line, somthing like

Code: [Select]
node BB BTC_ETH poloniex bagrelease
hope it helps,

Doc
 

8
When an alt has a bump it usually has a dump right after, but this dump isn't always smooth. More often then not it happens that after a bump there is a small dump, a very quick and short bump, and then a big dump again. My GUNBOT usually buys after the first dump, doesn't or can't sell after the short bump and  there I am with my bag for days...

what I'd like would be a function that prevents GUNBOT from buying right after a sell, it could be something like this:

dontbuy for: 100 cycles (GUNBOT cycles)
dontbuy for: 00:23:59:00 (in dd:hh:mm:ss format)
dontbuy for: 10% (meaning that if it sold at 1.00000000 GUNBOT won't buy above 0.90000000)
dontbuy for: 0.05000000 (meaning that GUNBOT won't buy above that value)
dontbuy for: false (dontbuy feature is off)

and it could be great to combine those with an AND/OR function like:

dontbuy for:  0.05000000 AND 00:02:00:00 (meaning that for 2 hours after a sell GUNBOT won't buy even if alt goes below 0.05000000)


just an idea, hope it helps

9
I have 8 couples running, first I made BTC_ETH and used BTC_ETH-config.js to make all others, but this is the only one giving the error. I'm puzzled... o_0

2017/04/24 14:05:46 Error: BoughtPrice not set!!!

thx for help


Quote
Loading config...
2017/04/24 14:05:42 Creating market client for BTC_ETH pair
Activating hot reconfig...
[ ---- poloniex -- 2017/04/24 14:05:42  --  Gunbot v3.1b cycle #1 -------------------------- ]
Loaded  poloniex-BTC_ETH-save.json
::::: collecting market data...
++++
LP 0.04015002  Bal.BTC 0.07034545  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading...
No opened orders
boughtPrice  undefined
direction price steady (0)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/24 14:05:46 Error: BoughtPrice not set!!!
!!! Cycle 2 failed. Will repeat in 10s
[ ---- poloniex -- 2017/04/24 14:05:56  --  Gunbot v3.1b cycle #2 -------------------------- ]
Loaded  poloniex-BTC_ETH-save.json
::::: collecting market data...
++++
LP 0.04015  Bal.BTC 0.07034545  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading...
No opened orders
boughtPrice  undefined
direction price falls (-1)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/24 14:05:59 Error: BoughtPrice not set!!!
!!! Cycle 3 failed. Will repeat in 10s
[ ---- poloniex -- 2017/04/24 14:06:09  --  Gunbot v3.1b cycle #3 -------------------------- ]

Quote
var config = {
   //-----------------------------------------------
   //  PRIMARY SETTINGS
   //-----------------------------------------------
   DEFAULT_MARKET_NAME:"poloniex",
   DEFAULT_CURRENCY_PAIR:"BTC_ETH",   //  single pair format for all markets !

   BTC_TRADING_LIMIT: 0.040,// max amount of BTC balance to use for each pair   
   SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it
   MIN_VOLUME_TO_BUY: 0.0005,  // bitrex min volume
   LOW_BB: 5, //percentual from the lowest Bollinger Band you want to buy
   HIGH_BB: 5, //percentual from the highest Bollinger Band you want to sell
   SELL_STRATEGY: 'BB', //sell strategy to use (BB or GAIN)
   BUY_STRATEGY: 'BB', // buy strategy to use (BB or GAIN)
   BUY_LEVEL: 1, //percentual from weighted price you want to buy if the Bollinger Band are not complete yet or you want to use GAIN strategy

   //---BITTREX
   BITTREX_KEY:'',
   BITTREX_SECRET:'',
   BITTREX_GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   BITTREX_PRICE_METHOD:'vWP',// vWP OR ohlc  "price to buy" definition method
   BITTREX_VWA_1_INTERVAL: 10,// weighted average interval in minutes
   BITTREX_VWA_2_INTERVAL: 120,// weighted average interval in minutes


   //---KRAKEN
   KRAKEN_ASSET_PAIR:'XETHXXBT',

   KRAKEN_KEY: '',
   KRAKEN_SECRET: '',

   KRAKEN_GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2.5% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   KRAKEN_PRICE_METHOD:'vWP',// vWP OR ohlc  "price to buy" definition method
   KRAKEN_VWA_1_INTERVAL: 1,// weighted average interval in minutes
   KRAKEN_VWA_2_INTERVAL: 15,// weighted average interval in minutes

   //---POLONIEX
   POLONIEX_KEY: '***',
   POLONIEX_SECRET: '***',

   GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2.5% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   POLONIEX_PRICE_METHOD:'ohlc',// vWP OR ohlc  "price to buy" definition method (use ohlc with Poloniex)
   POLONIEX_VWA_1_INTERVAL: 0.02,// weighted average interval in hours
   POLONIEX_VWA_2_INTERVAL: 0.04,// weighted average interval in hours
   

   

   //-----------------------------------------------
   //   STARTUP OPTIONS
   //-----------------------------------------------

   SELL_ON_START:false,   
   CANCEL_SELL_ORDERS_ON_START:false,
   CANCEL_BUY_ORDERS_ON_START:false,
   CANCEL_OPEN_ORDERS_ON_START:false,

   MAX_LATEST_PRICES: 500,// limit of latest prices to analyze to determine if price is growing or falling and to calculate Bollinger Band: the higher this amount the Best are Bollinger Band. Use 30 for GAIN strategy and 500 for BB.
   MAX_LATEST_DIRECTIONS:30,// limit of latest  price directions ,used in supergun detection
   MAX_LAST_ORDERS:500,  // keeping last orders bought
   PERIOD: 15,   // candlestick period
   
   SAVEFILE_SUFFIX: '-save.json',
 
 
   //-----------------------------------------------
   //   BOT TIMINGS
   //-----------------------------------------------
   API_CALLS_DELAY:777,
   BOT_SLEEP_DELAY:(1000)*22,// bot cycle delay (koef*sec)
   BOT_MAX_LIFETIME:(1000*60)*60*24,// overall bot lifetime(koef*min*hours) If you dont change this, the bot will stop to operate in 24 hours,
   BOT_ON_FAIL_DELAY:(1000)*10, // bot repeat cycle delay if previous cycle failed  (koef*sec)
   //-----------------------------------------------
   // EMAIL
   //-----------------------------------------------
   ALERT_ON_NO_FUNDS:false,  // email on insufficcient funds
   SMTP_EMAIL: '%40@gmail.com',
   ALERT_EMAIL:'********',
   SMTP_PASSWORD: '**********',
   SMTP: true,
   SMTP_PROTOCOL: 'SMTPS',
   SMTP_HOST: 'smtp.gmail.com',


   //-----------------------------------------------
   //  DEBUG
   //-----------------------------------------------
   DEBUG_LOG:false,
   I_REALLY_WANT_IT:false,// debug hardcode hack
   BUY_SMALL_PORTION:1,// debug volume limiter,must be  1 > x > 0
   INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005,


   //-----------------------------------------------
   //  OUTPUT
   //-----------------------------------------------
   MAX_LATEST_PRICES_SHOWN: 0, // limit of latest prices to show in console.log
   SHOW_LASTEST_DIRECTIONS:false,  // show chart in console
   MAX_LATEST_DIRECTIONS_SHOWN:0, // chart height
   LASTEST_DIRECTIONS_LIST_WIDTH:0, // chart width

   //-----------------------------------------------
   //   OTHER (might be deprecated/not in use)
   //-----------------------------------------------
   BTC_BALANCE: 2// btc balance for test purposes,
};
 
module.exports = config;

10
So GUNBOT bought 0,00000182 BTC of ZEC and it is stuck with that. I'm actually quite happy about that as ZEC value fell after my buy order and it's a very little bag  to handle.

What I used to do in my very few GUNBOT days was: stopping the pair, buying more of the altcoin manually, sell at small loss just to mae the process fast, delete all BTC-XXX files in GUNBOT directory, and finally configure and start the couple again.

Am I doing right? is there a more effective way of managing this issue?

thanks for help

edited to add info

as you can see in the quote below GUNBOT thinks it bought 0.17099594192430626 ZEC, while it correctly reads ZEC balance is Bal.ZEC 0.00003084

and I dunno if it is intended, but in the string
Quote
LP 556.7815 < prSell 596.505384  secMargin 0.02227126  falls no
LP and prSell values look completely off to me.

Quote
running cycle #392...
[ ----------------    2017/04/22 16:39:30       Gunbot v2.0.4 Beta cycle#392 ------------------------ ]
::::: collecting data...
No orders


LP 0.05567815  Bal.BTC 0.22912784  Bal.ZEC 0.00003084(0)  vWa1 0.05589275 > vWa2 0.05534758 

Direction: 6 supergun:  true
::::: trading
No basePrice
Has order: Pr 0.05848092 Vol 0.17099594192430626 orderNumber 42055928152
MaxPriceToBuy 0.055015494520000006 MinPriceToSell 0.0596505384

LP 556.7815 < prSell 596.505384  secMargin 0.02227126  falls no
Selling conditions are not matched yet...
::::: cycle 392 finished in 0.66s
Gunbot v2.0.4 Beta cycle  # 392:     2017-04-22
Response:
   need_faster: false
   need_slower: false

11
General Discussion / is anybody having profit in the last few days?
« on: April 21, 2017, 06:15:56 PM »
I'm a noob  running the GUNBOT with  ETH FCT LTC STRAT XMR ZEC XRP XBC   since 7 days with SuperGun - 2 settings but am only filling my bags... :( is it too soon to start crying?  ;D

Buy level 1 - 0.6
Buy level 2 - 1
Buy level 3 - 1.5

Sell level 1 - 2
Sell level 2 - 3
Sell level 3 - 5

Buy level - 3
Sell level - 3

ema 1 - 0.02
ema 2 - 0.04

Pages: [1]