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.


Messages - Doc

Pages: [1] 2
1
Technical Support & Development / Re: no trades at all with v5.0.4
« on: October 05, 2017, 02:06:38 PM »
I'm sorry... it is exactly what I've done...  :-[ :-[ :-[
I made the setup in a hurry just to make the thing running and didn't look a t the charts...
thanks for pointing it out! :)

2
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

      }
   }


}

3
Technical Support & Development / Re: Bugs/Issues tracker v3.3.2
« on: July 06, 2017, 08:34:43 PM »
Security margin does NOT work, I have it set at 20 and have several bags at -24% it just doesn't sell

4
me too...  did you try to stop the bot and start it again? you can even try to start the couples 1 by 1. I have only 5 couples but am experiencing a lot of 422 errors too. restarting the bot and increasing the delay helped a little. I'm using 59 sec bot deelay and 37 for fail, i like to use prime numbers to mitigate errors.

edit: also had 429s when restarting the bot, just waited a few minutes an tried again

5
uhm, 647 was a sell, not a buy. highest buy was 640 and seclevel is 608 it was not supposed to trigger...
thanks anyway :)

6
it is not a latency problem
Code: [Select]
PING poloniex.com (104.20.12.48) 56(84) bytes of data.
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=1 ttl=61 time=0.510 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=2 ttl=61 time=0.390 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=3 ttl=61 time=1.17 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=4 ttl=61 time=0.552 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=5 ttl=61 time=0.676 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=6 ttl=61 time=0.408 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=7 ttl=61 time=0.448 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=8 ttl=61 time=4.01 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=9 ttl=61 time=0.681 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=10 ttl=61 time=0.433 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=11 ttl=61 time=0.473 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=12 ttl=61 time=0.520 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=13 ttl=61 time=0.590 ms
^C
--- poloniex.com ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12018ms
rtt min/avg/max/mdev = 0.390/0.836/4.015/0.938 ms

7
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


8


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;


9
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)

10
good luck on the challenge!!!

11
Beginners & Help / Re: GUNBOT...the way i run it!
« on: May 23, 2017, 09:25:39 PM »
nothing wizard: the trend watcher is our friend. If it reverses before to reach the desired level then....blah blah blah.

thx for the explanation!

12
Beginners & Help / Re: GUNBOT...the way i run it!
« on: May 22, 2017, 10:30:26 PM »
Hi @Gunthar,
referring to new stepgain
How does it work? You specify 2 levels of buy and 2 levels of sell (buy below EMA and sell above the price you bought). Say you set buy level 1 to 2% and buy level 2 to 5%: the bot will try to reach the level you set in "Level to use for buy orders" (1 or 2: in the example above would be 2% or 5%). If the price fails to reach that level, the bot will buy on the higher level you set or better price. Same happen with the sell part of it: say you set Sell level 1 to 3% and sell level 2 to 10%, the bot will try to reach 10% or better and if it fails, it will sell between 3% and 10%. In the Legacy-Stepgain strategy, there were 3 levels: now the third level is the BB. So basically let's make some examples:
can you please elaborate on the
Quote
If the price fails to reach that level
part?
what does it mean if it fail? for how long is it supposed to fail? by how far? Does the algo tries more than once?
thanks

Doc

13
Technical Support & Development / Re: Back to old STEPGAIN?
« on: May 20, 2017, 12:12:22 PM »
Quote
Pure STEPGAIN: BUY_STRATEGY: 'STEPGAIN' and SELL_STRATEGY: 'STEPGAIN' in your config files, will give you the power to explore up and down until the bot finds the best price to buy and the highest price to sell (supergun trend watchdog applies with improved algo). All of this on all 3 markets: Bittrex, Kraken, Poloniex. We have now 2 levels of BUY and 2 levels of SELL only in config files, since the third has not been really useful. Set BUYLVL and SELLLVL to the right level you want to use. Example: if you have BUYLVL1 to 3 and BUYLVL2 to 5, set BUYLVL to 2 if you want to explore from to 5%to infinite, or set BUYLVL to 1 if you want to explore from 3% to infinite.

I am confused, why do we need 2 SELLLVL options if we can only use 1 at a time?

14
thanks for the quick reply dobcrypto! STEPGAIN is not supposed to work that way, is it?

16
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;



17
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

18
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
 

19
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

20
Beginners & Help / Re: F.A.Q. (Frequently Asked Questions)
« on: April 30, 2017, 08:04:38 PM »
Hi Gunthar!

is it possible to setup Poloniex to show BBs similar to those GUNBOT calculates? what are the settings?

thanks

Pages: [1] 2