Username: Password:

Author Topic: Bugs/Issues tracker v4.0.4  (Read 42764 times)

Offline Gunthar

  • Administrator
  • *****
  • Posts: 287
    • View Profile
Bugs/Issues tracker v4.0.4
« on: August 17, 2017, 01:38:15 PM »
Bumping up issue tracker to v4.0.4

Offline agis

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #1 on: August 17, 2017, 07:26:36 PM »
4.0.4 sold with loss (a lot of it) -- See attached screen capture

All previous versions were just trying to average down, without selling with loss

Offline DaleyEdster

  • Rookie
  • *
  • Posts: 29
  • Money never sleeps...
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #2 on: August 17, 2017, 09:00:01 PM »
Ouch!  :(
Authorised reseller of the Gunbot license. Please PM me for more details and offers!

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #3 on: August 17, 2017, 09:55:21 PM »
Please pass all numbers through parseFloat. Scientific notation is difficult to read for comparing numbers with the eyes.

Code: [Select]
2017/08/17 20:48:59: Price to sell: 5.590000000000001e-7
2017/08/17 20:48:59: EMA1: 0.00000031/EMA2: 0.00000031
2017/08/17 20:48:59: Price to buy: 2.48e-7
2017/08/17 20:49:01: Got Open Orders
2017/08/17 20:49:01: Last Bid/Price to sell: 3e-7/5.590000000000001e-7
2017/08/17 20:49:01: Last Ask/Price to buy: 3.1e-7/2.48e-7
2017/08/17 20:49:01: Trend for BTC_BCN:    UP!!!
Nothing changed in BTC_BCN: Bid/Ask is 3e-7/3.1e-7. Entry points are: 2.48e-7/5.590000000000001e-7

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #4 on: August 17, 2017, 10:01:16 PM »
If DOUBLE_UP is disabled, why is this even being displayed?!? Presents a false sense of what the bot is doing. Scared the crap outta me first time I saw it.

Please change the logic to not even display messages like these if the feature is disabled.

Code: [Select]
ɢƱŋß๏Ł v4.0.4  Tips&Tricks: USDT_REP can be bought!!!
2017/08/17 20:58:02: There are some trading opportunities for USDT_REP at poloniex. Scanning Trade History
2017/08/17 20:58:02: Last Bid price USDT_REP: 20.5 | Last Ask: 20.64148522
2017/08/17 20:58:02: Balance USDT: 15096.82436570
2017/08/17 20:58:02: Balance REP: 4.75000004
2017/08/17 20:58:02: On Orders REP: 0.00000000
Processing strategy BB_GAIN for USDT_REP on poloniex
2017/08/17 20:58:02: To sell we need 0.24343750205 USDT for fees - We have: 15096.82436570 USDT
┌─────────────────┬─────────────┬────────────────────┬───────────┬───────────────────────┬────────────┬──────────┬──────────┐
│ ɢՍŋβ๏ͳ v4.0.4   │ SMA         │ LowBB              │ HighBB    │ Last                  │ REP        │ Last Buy │ Pair     │
├─────────────────┼─────────────┼────────────────────┼───────────┼───────────────────────┼────────────┼──────────┼──────────┤
│ Sell cycle      │ 21.38342904 │ 20.640021          │ 22.126837 │ 20.5                  │ 4.75000004 │ 21       │ USDT_REP │
├─────────────────┼─────────────┼────────────────────┼───────────┼───────────────────────┼────────────┴──────────┴──────────┤
│ GUNBOT CALLBACK │ Sell price  │ 21.125999999999998 │ Result    │ DOUBLE_UP is disabled │                                  │
└─────────────────┴─────────────┴────────────────────┴───────────┴───────────────────────┴──────────────────────────────────┘

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #5 on: August 17, 2017, 10:04:21 PM »
Code: [Select]
2017/08/17 20:59:23: Kicking poloniex, receiving new tickers...
Getting tickers for poloniex catch error: Cannot read property 'error' of undefined

Offline Rook

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #6 on: August 18, 2017, 12:36:23 AM »
Got this error:
Error on strategy BB_STEPGAIN for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function


Offline agis

  • Rookie
  • *
  • Posts: 16
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #7 on: August 18, 2017, 07:28:41 AM »
4.0.4 sold with loss (a lot of it) -- See attached screen capture

All previous versions were just trying to average down, without selling with loss

I gave this a second thought, and GUNBOT is probably doing what it's supposed to do:
I had set the STOP_LIMIT to 80 (I thought I had set it to 99, in order to only sell at loss when the coin has "died"), and it actually sold when my loss exceeded 80%.

Can someone confirm that it actually did what it was instructed to do, and that this was not a bug?

Offline acerolakirsche

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #8 on: August 18, 2017, 10:35:17 AM »
heres maybe a Bug with the Stop_Limit:

on polo:
as i can tell regarding the stop_limit is that the bot only creates sell-orders, that are not executet then. Then he waits on open orders.

The Bot tells in console at what rate he WANTS to sell.
BUT!, the stop-loss-sellprice then in open order at Polo is somethink completely different.
There the sell-price is set at the original bought price.
Thats the reason, the order cant be executet.

Offline BitFlipp4r

  • Rookie
  • *
  • Posts: 23
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #9 on: August 18, 2017, 02:48:46 PM »
Randomly prints huge json results from poloniex.

Looks like this:

84411","amount":"0.00001147","total":"0.00000062"},{"globalTradeID":211296205,"tradeID":7189987,"date":"2017-08-18 08:05:35","type":"buy","rate":"
0.05484411","amount":"11.57632956","total":"0.63489349"},{"globalTradeID":211296204,"tradeID":7189986,"date":"2017-08-18 08:05:35","type":"buy","r
ate":"0.05484411","amount":"4.18815282","total":"0.22969551"},{"globalTradeID":211296203,"tradeID":7189985,"date":"2017-08-18 08:05:35","type":"bu
y","rate":"0.05461758","amount":"0.01850753","total":"0.00101083"},{"globalTradeID":211296147,"tradeID":7189984,"date":"2017-08-18 08:05:28","type
":"buy","rate":"0.05461758","amount":"0.16656775","total":"0.00909752"},{"globalTradeID":211296046,"tradeID":7189983,"date":"2017-08-18 08:05:14",
"type":"buy","rate":"0.05461758","amount":"0.00000004","total":"0.00000000"},{"globalTradeID":211295939,"tradeID":7189982,"date":"2017-08-18 08:05
:01","type":"buy","rate":"0.05469915","amount":"0.00000007","total":"0.00000000"},{"globalTradeID":211295935,"tradeID":7189981,"date":"2017-08-18
08:05:01","type":"buy","rate":"0.05469917","amount":"3.80429339","total":"0.20809169"},{"globalTradeID":211295934,"tradeID":7189980,"date":"2017-0
8-18 08:05:01","type":"buy","rate":"0.05469916","amount":"6.15705782","total":"0.33678589"},{"globalTradeID":211295933,"tradeID":7189979,"date":"2
017-08-18 08:05:01","type":"buy","rate":"0.05454338","amount":"4.53573534","total":"0.24739433"},{"globalTradeID":211295932,"tradeID":7189978,"dat
e":"2017-08-18 08:05:01","type":"buy","rate":"0.05454337","amount":"1.08038946","total":"0.05892808"},{"globalTradeID":211295863,"tradeID":7189977
,"date":"2017-08-18 08:04:52","type":"sell","rate":"0.05454338","amount":"0.32157089","total":"0.01753956"},{"globalTradeID":211295639,"tradeID":7
189976,"date":"2017-08-18 08:04:29","type":"buy","rate":"0.05469926","amount":"1.91596109","total":"0.10480165"},{"globalTradeID":211295638,"trade
ID":7189975,"date":"2017-08-18 08:04:29","type":"buy","rate":"0.05454339","amount":"6.14953385","total":"0.33541642"},{"globalTradeID":211295637,"
tradeID":7189974,"date":"2017-08-18 08:04:29","type":"buy","rate":"0.05454339","amount":"2.43417023","total":"0.13276789"},{"globalTradeID":211295
636,"tradeID":7189973,"date":"2017-08-18 08:04:29","type":"buy","rate":"0.05454339","amount":"4.26184398","total":"0.23245541"},{"globalTradeID":2
11295496,"tradeID":7189972,"date":"2017-08-18 08:04:14","type":"sell","rate":"0.05454339","amount":"1.72918063","total":"0.09431537"},{"globalTrad
eID":211295366,"tradeID":7189971,"date":"2017-08-18 08:03:59","type":"buy","rate":"0.05469935","amount":"0.00000016","total":"0.00000000"},{"globa
lTradeID":211295348,"tradeID":7189970,"date":"2017-08-18 08:03:55","type":"buy","rate":"0.05469938","amount":"0.00001151","total":"0.00000062"},{"
globalTradeID":211295323,"tradeID":7189969,"date":"2017-08-18 08:03:50","type":"sell","rate":"0.05449138","amount":"0.00114164","total":"0.0000622
0"},{"globalTradeID":211295245,"tradeID":7189968,"date":"2017-08-18 08:03:36","type":"buy","rate":"0.054
------------------------------------------------------------------------------------------------
 ɢՍƝ฿õŁ v4.0.4  Scanning poloniex for trading opportunities 2017/08/18 15:43:08
------------------------------------------------------------------------------------------------
Nothing changed in BTC_CLAM: Bid/Ask is 0.00156701/0.00157027. Entry points are: 0.0015547141/0.0016431435


Can't tell you what causes this because my console does not log all of it.

Offline Lea N.

  • Contributor
  • **
  • Posts: 328
  • Support Staff Member and Reseller
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #10 on: August 18, 2017, 09:16:42 PM »
Got this error:
Error on strategy BB_STEPGAIN for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function

This ... used to go away in +/- 20mins, now the bot is running for 60mins and I still have this error with pure BB

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #11 on: August 18, 2017, 11:48:09 PM »
Would like to see more specific output for all STEPGAIN strats. Right now, gunbot prints out the calculated price to buy as whatever my lvl3 is

Code: [Select]
2017/08/18 22:40:37: EMA1: 0.16733624/EMA2: 0.16649036
2017/08/18 22:40:37: Price to buy: 0.13319228800000002
2017/08/18 22:40:38: Got Open Orders
2017/08/18 22:40:38: Last Bid/Price to sell: 0.185/0
2017/08/18 22:40:38: Last Ask/Price to buy: 0.1853676/0.13319228800000002

I'd like to see it print out all 3 levels and would also like to see more verbose messages. Example. If my BUYLEVEL=3, then I'd like to see "GOT LEVEL 1; LOOKING FOR LEVEL 2 (PriceToBuy: X.XXXX)".... "GOT LEVEL 2; LOOKING FOR LEVEL 3 (PriceToBuy: Y.YYYY)".... "GOT LEVEL 3; PLACING BUY"

GOT LEVEL 1; LOOKING FOR LEVEL 2 (PriceToBuy: X.XXXX)"....(didn't make it) "PRICE UP; BUYING AT LEVEL 1 (X.XXXX)"

Offline zuganoff

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #12 on: August 19, 2017, 10:49:51 AM »
Also have this errors

Error on strategy BB_STEPGAIN for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function

Error on strategy BB for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function

What I'm doing wrong? Or this a program bug?
sorry, I'm noobie, just bought bot yesterday, and I don't know how it should work properly

Offline AnotherOne

  • Rookie
  • *
  • Posts: 28
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #13 on: August 19, 2017, 11:51:44 AM »
Dunno if it's an issue but... the bot bought right when I launched a pair. Not even time to analyse market/price trend/etc.

Offline Kylo

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #14 on: August 19, 2017, 06:20:04 PM »
Hey,

The bot seem to ignore the BOUGHT_PRICE variable after averaging down and sell at loss.
Default bb settings.
Bought @ 642 sats, averaged down @ 405, sold @ 407.

Code: [Select]
"BTC-SAFEX": {
     "strategy": "bb",
     "override": {
          "BOUGHT_PRICE": 0.00000642
    }
},

EDIT: Another exemple with NMR, gain changed to 1.5, still bb strat.
« Last Edit: August 19, 2017, 07:35:11 PM by Kylo »

Offline ruphus

  • Rookie
  • *
  • Posts: 68
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #15 on: August 19, 2017, 06:39:21 PM »
Also have this errors

Error on strategy BB_STEPGAIN for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function

Error on strategy BB for BTC-LTC on bittrex while getting ema2 -\ Error: undefined is not a function
...

I am experiencing the same errors with BBSTEPGAIN @poloniex pairs.
Nevertheless it is not happening all the time. After some time passed the exact same pair brings up no error of an undefined function. Maybe it has something to to, if the bot wants to sell and there are no altcoins to sell?! I assume something like this.

There is definetly something wrong with the bbstepgain strategy. I assume it is mainly happening when the bot trys to buy/sell. Right now I watched the bot, while trying to make some trade/buys (ETH_ETC), with enough ETH in stock, and throwing out the Error on strategy BB_STEPGAIN for ETH_ETC on poloniex while getting ema2 -\ Error: undefined is not a function

EDIT
Have experienced the exact same error also with the BB strategy.
« Last Edit: August 20, 2017, 02:29:50 AM by ruphus »

Offline ruphus

  • Rookie
  • *
  • Posts: 68
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #16 on: August 19, 2017, 07:06:14 PM »
After a while GB 4.04 seems to run VERY high on CPU usage - as high as up to 99 - 100% and stays here...



EDIT
It went  down again to normal amounts of CPU usage, but nevertheless there seems to be something wrong. maybe it has to do with those undefined function errors @bbstepgain

EDIT2
and up again to 100% ...
« Last Edit: August 19, 2017, 07:16:22 PM by ruphus »

Offline ruphus

  • Rookie
  • *
  • Posts: 68
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #17 on: August 20, 2017, 02:16:48 AM »
GB v4.04 buys way too much and ignores the max BTC limit:

ETC/BTC   Buy   Exchange   0.00324000   3.06911745   0.00767279 ETC (0.25%)   0.00994394   19.08.17 23:54
BTS/BTC   Buy   Exchange   0.00003005   24.74418605   0.06186047 BTS (0.25%)   0.00074356   19.08.17 23:53
BTS/BTC   Buy   Exchange   0.00003019   313.36560084   0.78341400 BTS (0.25%)   0.0094605   19.08.17 23:53
ETC/BTC   Buy   Exchange   0.00324951   3.07680947   0.00769202 ETC (0.25%)   0.00999812   19.08.17 23:45
BTS/BTC   Buy   Exchange   0.00003011   169.26647654   0.42316619 BTS (0.25%)   0.00509661   19.08.17 23:11
FCT/BTC   Buy   Exchange   0.00510135   1.94951169   0.00487378 FCT (0.25%)   0.00994514   19.08.17 23:05
FCT/BTC   Buy   Exchange   0.00514091   0.42307147   0.00105768 FCT (0.25%)   0.00217497   19.08.17 23:05
FCT/BTC   Buy   Exchange   0.00516965   1.18777630   0.00296944 FCT (0.25%)   0.00614038   19.08.17 22:47


adds up to

FCT   0.01826049
BTS   0.01530067
ETC   0,01994206

even though the limit should be 0.01 BTC    :-(
I better stop using v4.04 now. who know what GB will buy in future :D

Pair:
Code: [Select]
"BTC_BTS": {
"strategy": "bb",
"override": {"BTC_TRADING_LIMIT": 0.005, "BOUGHT_PRICE": 0.00005899}
},
"BTC_ETC": {
"strategy": "bb",
"override": {}
},
"BTC_FCT": {
"strategy": "bb",
"override": {"BOUGHT_PRICE": 0.00841000}
},

strategy:
Code: [Select]
"bb": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"GAIN": 1.6,
"HIGH_BB": 45,
"LOW_BB": 40,
"PANIC_SELL": false,
"DOUBLE_UP": true,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},

Offline AnotherOne

  • Rookie
  • *
  • Posts: 28
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #18 on: August 20, 2017, 02:47:29 AM »
I'm stopping the 4.0.4...  I always end up buying /selling at lost.. BB/BB   stepgain stepgain.. grrr :(
Any fix soon?!?!?

Offline BitFlipp4r

  • Rookie
  • *
  • Posts: 23
    • View Profile
Re: Bugs/Issues tracker v4.0.4
« Reply #19 on: August 20, 2017, 08:41:01 PM »
I can confirm ignoring of trading limit.

I have it set to 0.01 BTC and the bot did this today:

   XMR/BTC   Buy   Exchange   0.01315680   0.39629882   0.00099075 XMR (0.25%)   0.00521402 BTC   2017-08-20 19:15:42
   XMR/BTC   Buy   Exchange   0.01315679   1.76631909   0.00441580 XMR (0.25%)   0.02323908 BTC   2017-08-20 19:15:42
   XMR/BTC   Buy   Exchange   0.01317402   0.66149623   0.00165374 XMR (0.25%)   0.00871456 BTC   2017-08-20 19:11:57
   XMR/BTC   Buy   Exchange   0.01317000   0.42116605   0.00105292 XMR (0.25%)   0.00554675 BTC   2017-08-20 19:11:57