Username: Password:

Author Topic: Bugs/Issues tracker v3.3.2  (Read 51280 times)

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #80 on: July 11, 2017, 04:15:22 AM »
Code: [Select]
###[ --2017/07/11 03:13:20--poloniex--BTC_AMP  --  Gunbot v3.3 cycle #225 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.00007603 - High BB:0.00008334
***************************************************
***************************************************
EMA1:0.00008397 - EMA2:0.00008191
***************************************************
BB price to buy 0.00007895402845578782 -- GAIN price to buy 0.00007729432008928582
++++
LP 0.00007615  Bal.BTC 0.98862861  Bal.AMP 0(0)
We have open orders
boughtPrice 0
price  falls (-1)
PriceToBuy 0.7729 priceToSell 0.7615
we have altcoins: 0
LP 0.7615 >= prSell 0.7615  secMargin 0.00003187394642857147  falls yes
price to sell:  0.00007615
price is sweet
price fall -> sell
WARNING: we already bought!!! Switching to sell mode...
2017/07/11 03:13:21 Error: sell: options rate are required
!!! Cycle 226 failed. Will repeat in 49.0612213472998s
WARNING: we bought!!!!

###[ --2017/07/11 03:14:10--poloniex--BTC_AMP  --  Gunbot v3.3 cycle #226 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.00007599 - High BB:0.00008335
***************************************************
***************************************************
EMA1:0.00008397 - EMA2:0.00008191
***************************************************
BB price to buy 0.00007893388372071424 -- GAIN price to buy 0.00007727908088888901
++++
LP 0.00007665  Bal.BTC 0.98862861  Bal.AMP 0(0)
We have open orders
boughtPrice 0
price  steady (0)
PriceToBuy 0.7728 priceToSell 0.7615
we have altcoins: 0
LP 0.7665000000000001 >= prSell 0.7615  secMargin 0.000031867662222222274  falls yes
price to sell:  0.00007615
price is sweet
price fall -> sell
WARNING: we already bought!!! Switching to sell mode...
2017/07/11 03:14:11 Error: sell: options rate are required
!!! Cycle 227 failed. Will repeat in 49.0612213472998s
WARNING: we bought!!!!

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #81 on: July 13, 2017, 10:38:30 PM »
https://github.com/GuntharDeNiro/BTCT/issues/8

Bot doesn't always detect config file changes. Need a manual way of force reloading on linux. kill -HUP is pretty standard across linux software.

Offline krixt

  • Rookie
  • *
  • Posts: 38
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #82 on: July 15, 2017, 03:38:27 AM »
https://gunthy.org/index.php?topic=632.0

Another bug. There are multiple displays "price to buy" with different values. Pick one.

Also, for the love of god, please standardize the formatting of decimal numbers. Sometimes 0.0001234 is represented as 12.34, sometimes as 1.234, etc

pistola

  • Guest
Re: Bugs/Issues tracker v3.3.2
« Reply #83 on: July 16, 2017, 02:41:32 PM »

2nd bug
when using GAIN/GAIN strategy, bot using GAIN/BB if BB price is higher than GAIN. It's smart feature until it makes problems (at least for me).
When price reach GAIN for selling and BB is higher, bot tries to get BB price. If there is price reversal between GAIN and BB (price fall=yes), it will not sell at GAIN and price will fall below GAIN and it will become one of bags.

Solution which doesn't work: set highBB to 0.1 so bot will use GAIN level to sell. Problem: looks like highBB is hard coded when using GAIN/GAIN because "BB price to sell" doesn't change, no matter if i set BB to 90, 50 or 0.1.
Even setting GAIN/BB strategy with same settings (GAIN=1, BB=0.1) to force bot use GAIN as sell method because "no sell at loss" logic, bot doesn't show correct BB price

This is the only issue I have with the bot. I'm going for very small gains per trade, 2-3%, but the BB sell price is always higher than my GAIN sell price. Not only is it always higher, it is not changeable at all regardless of what value is used in % HIGH BB.

Offline scarab2378

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #84 on: July 18, 2017, 06:45:39 AM »
Running Win10 64bit, version1703 (creators update)
I just purchased Gunbot.  I downloaded the files from Github https://github.com/GuntharDeNiro/BTCT/releases

when I unpacked the files from the Zip, Avast immediately throws a virus warning.  It says it blocked a threat ( win32:Adware Gen [Adw] )  from the file gunthy-x86.exe
Avast then quarantined this file.

Please advise


Offline johnv

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #85 on: July 20, 2017, 11:34:55 AM »
I tried to run the bot for 1st time to see how it works.
Settings : default on BB
Platform : Kraken

Unfortunately I immediately saw recurring errors :

Error: Error in server response: {"code":"ESOCKETTIMEDOUT","connect":false}

Error: Missing boughtPrice

Cycle X failed

And this one :

Error: Error in server response: {"code":"ENOENT","errno":"ENOENT","syscall":"getaddrinfo","hostname":"api.kraken.com","host":"api.kraken.com","port":443}

As a result I never had a single cycle which haven't failed so far :(

Maybe the problem is specific to kraken ?

Or what would I have done wrong ?

I would be grateful for some help

Here is the log :

###[ --2017/07/19 05:39:43--kraken--BTC_ETH  --  Gunbot v3.3 cycle #323 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09369073 - High BB:0.10108988
***************************************************
BB price to sell 0.099314086 -- GAIN price to sell NaN
BB price to buy 0.09546652553755543 -- GAIN price to buy 0.09446859638888888
++++
LP 0.096457  Bal.XXBT 0.79608432  Bal.XETH 13.27620478
No open orders
boughtPrice undefined
price  falls (-5)
PriceToBuy 944.6860 priceToSell --not set--
we have altcoins: 13.27620478
LP 964.57 >= prSell 0  secMargin 0.03895612222222222  falls no
price to sell:  null
price is sweet
price is not falling
Gunbot callback at 2017/07/19 05:39:54 cycle # 323
Callback:
---------
No actions taken
need faster: yes
need slower: no
next delay will be 60s
###[ --2017/07/19 05:40:54--kraken--BTC_ETH  --  Gunbot v3.3 cycle #324 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09369390 - High BB:0.10107384
***************************************************
BB price to sell 0.099302651 -- GAIN price to sell NaN
BB price to buy 0.09546508649757048 -- GAIN price to buy 0.09446235289655172
+2017/07/19 05:40:59 Error: Error in server response: {"code":"ESOCKETTIMEDOUT","connect":false}
!!! Cycle 325 failed. Will repeat in 60s
###[ --2017/07/19 07:48:23--kraken--BTC_ETH  --  Gunbot v3.3 cycle #325 --------------- ]
::::: collecting market data...
2017/07/19 07:48:23 Error: Error in server response: {"code":"ENOENT","errno":"ENOENT","syscall":"getaddrinfo","hostname":"api.kraken.com","host":"api.kraken.com","port":443}
!!! Cycle 326 failed. Will repeat in 60s
###[ --2017/07/19 07:49:23--kraken--BTC_ETH  --  Gunbot v3.3 cycle #326 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09369390 - High BB:0.10107384
***************************************************
BB price to sell 0.099302651 -- GAIN price to sell NaN
BB price to buy 0.09546508649757048 -- GAIN price to buy 0.09446235289655172
++++
LP 0.0966  Bal.XXBT 0.79608432  Bal.XETH 13.27620478
No open orders
boughtPrice undefined
price  falls (-5)
PriceToBuy 944.6235 priceToSell --not set--
we have altcoins: 13.27620478
LP 966 >= prSell 0  secMargin 0.0389535475862069  falls yes
price to sell:  null
price is sweet
price fall -> sell
2017/07/19 07:49:29 Error: Missing boughtPrice
!!! Cycle 327 failed. Will repeat in 60s
###[ --2017/07/19 07:50:29--kraken--BTC_ETH  --  Gunbot v3.3 cycle #327 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09369899 - High BB:0.10105801
***************************************************
BB price to sell 0.099291844 -- GAIN price to sell NaN
BB price to buy 0.09546515556451683 -- GAIN price to buy 0.09445714500000002
++++
LP 0.097508  Bal.XXBT 0.79608432  Bal.XETH 13.27620478
No open orders
boughtPrice undefined
price  falls (-3)
PriceToBuy 944.5715 priceToSell --not set--
we have altcoins: 13.27620478
LP 975.0799999999999 >= prSell 0  secMargin 0.03895140000000001  falls yes
price to sell:  null
price is sweet
price fall -> sell
2017/07/19 07:50:34 Error: Missing boughtPrice
!!! Cycle 328 failed. Will repeat in 60s
###[ --2017/07/19 07:51:34--kraken--BTC_ETH  --  Gunbot v3.3 cycle #328 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09371243 - High BB:0.10104633
***************************************************
BB price to sell 0.099286194 -- GAIN price to sell NaN
BB price to buy 0.09547256796907024 -- GAIN price to buy 0.09445799952380954
+++2017/07/19 07:51:46 Error: Error: Error in server response: {"code":"ESOCKETTIMEDOUT","connect":false}
!!! Cycle 329 failed. Will repeat in 60s
###[ --2017/07/19 07:52:46--kraken--BTC_ETH  --  Gunbot v3.3 cycle #329 --------------- ]
::::: collecting market data...
***************************************************
Low BB:0.09371243 - High BB:0.10104633
***************************************************
BB price to sell 0.099286194 -- GAIN price to sell NaN
BB price to buy 0.09547256796907024 -- GAIN price to buy 0.09445799952380954
++++
LP 0.099931  Bal.XXBT 0.79608432  Bal.XETH 13.27620478
No open orders
boughtPrice undefined
price  falls (-1)
PriceToBuy 944.5800 priceToSell --not set--
we have altcoins: 13.27620478
LP 999.3100000000001 >= prSell 0  secMargin 0.03895175238095239  falls yes
price to sell:  null
price is sweet
price fall -> sell
2017/07/19 07:52:54 Error: Missing boughtPrice
!!! Cycle 330 failed. Will repeat in 60s

Offline allanster

  • Contributor
  • **
  • Posts: 128
  • lux ex tenebris
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #86 on: July 20, 2017, 10:26:17 PM »
I'm not set up to trade on Kraken (yet) and this may not be the issue but the first thing that sticks out is...

 GAIN price to sell NaN

NaN is abbreviation for "Not a Number" so check the numbers in your sell settings, also check that you haven't deleted the comma at the end. Every variable in the settings files must end with a comma.
more human than human

Offline JNM78

  • Rookie
  • *
  • Posts: 1
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #87 on: July 21, 2017, 01:13:21 PM »
Only just started using this and it seems so buggy. Frequent complete crashes and loads of errors in the logs. My main issue though is double buys. It placed a buy order that was filled just fine, then later on a sell order was fired in that was not filled and is still open. For some reason it thinks its filled and then has executed another buy. I now have the following recurring error in the UI, I have 2 executed BUY orders and one open SELL order:

We didnt buy yet [ { Uuid: null,
Unhandled rejection Error: We sent BUY order but the exchange didnt receive it.
    OrderUuid: '2bbb50a7-7d4e-4ba3-8cea-78509650663f',
    at console.C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\bittrex.js.module.exports.Market.checkifwesold.Promise.bittrex.private.getOpenOrders.then (evalmachine.<anonymous>:0:0)
    Exchange: 'BTC-STORJ',
    at tryCatcher (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\util.js:16:23)
    OrderType: 'LIMIT_SELL',
    at Promise._settlePromiseFromHandler (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\promise.js:512:31)
    Quantity: 5.29374581,
    at Promise._settlePromise (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\promise.js:569:18)
    QuantityRemaining: 5.29374581,
    at Promise._settlePromise0 (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\promise.js:614:10)
    Limit: 0.00019456,
    at Promise._settlePromises (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\promise.js:693:18)
    CommissionPaid: 0,
    at Async._drainQueue (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\async.js:133:16)
    Price: 0,
    at Async._drainQueues (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\async.js:143:10)
    PricePerUnit: null,
    at Immediate.Async.drainQueues (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\bluebird\js\release\async.js:17:14)
    Opened: '2017-07-21T11:19:51.79',
    at runCallback (timers.js:651:20)
    Closed: null,
    at tryOnImmediate (timers.js:624:5)
    CancelInitiated: false,
    at processImmediate [as _immediateCallback] (timers.js:596:5)
    ImmediateOrCancel: false,
    IsConditional: false,
    Condition: 'NONE',
    ConditionTarget: null } ]


For another pair I also have the following error clogging up the UI timestamped from before i even had gunbot:

2017/07/21 13:13:50 Error: Missing price to sell
!!! Cycle 226 failed. Will repeat in 60s
Bad server answer [ { OrderUuid: '2803a979-801d-47d1-a003-c9c67eaa0089',
    Exchange: 'BTC-ETH',
    TimeStamp: '2017-07-03T13:08:42.597',
    OrderType: 'LIMIT_SELL',
    Limit: 0.11,
    Quantity: 0.1,
    QuantityRemaining: 0,
    Commission: 0.00002749,
    Price: 0.01099999,
    PricePerUnit: 0.1099999,
    IsConditional: false,
    Condition: 'NONE',
    ConditionTarget: null,
    ImmediateOrCancel: false,
    Closed: '2017-07-03T13:46:22.51' },
  { OrderUuid: '8393124e-d855-4a0c-b25c-7dc0416acffc',
    Exchange: 'BTC-ETH',
    TimeStamp: '2017-06-28T20:52:40.563',
    OrderType: 'LIMIT_SELL',
    Limit: 0.121,
    Quantity: 0.05,
    QuantityRemaining: 0,
    Commission: 0.00001519,
    Price: 0.00607874,
    PricePerUnit: 0.1215748,
    IsConditional: false,
    Condition: 'NONE',
    ConditionTarget: null,
    ImmediateOrCancel: false,
    Closed: '2017-06-28T20:52:40.703' },
  { OrderUuid: '76e41f50-4b57-4ae0-8b12-449f45108b50',
    Exchange: 'BTC-ETH',
    TimeStamp: '2017-06-28T08:10:35.877',
    OrderType: 'LIMIT_SELL',
    Limit: 0.112,
    Quantity: 0.05,
    QuantityRemaining: 0,
    Commission: 0.000014,
    Price: 0.0056,
    PricePerUnit: 0.112,
    IsConditional: false,
    Condition: 'NONE',
    ConditionTarget: null,
    ImmediateOrCancel: false,
    Closed: '2017-06-28T08:16:39.563' } ]

« Last Edit: July 21, 2017, 01:16:53 PM by JNM78 »

Offline ajg

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #88 on: July 23, 2017, 12:03:11 AM »
Weird bug where GB buys, then sells, then buys again all at the same price and all within a few minutes, zero profit, loss in fees, and it just shouldn't do this. 

see details here
https://gunthy.org/index.php?topic=670.0
I was told I should post in this thread so I'll link here. 

Note, I'm using stepgain and 20 second interval with community proxy.  Logs in link above.  Thanks.

Offline johnv

  • Rookie
  • *
  • Posts: 12
    • View Profile
Re: Bugs/Issues tracker v3.3.2
« Reply #89 on: July 25, 2017, 04:40:04 PM »
I'm not set up to trade on Kraken (yet) and this may not be the issue but the first thing that sticks out is...

 GAIN price to sell NaN

NaN is abbreviation for "Not a Number" so check the numbers in your sell settings, also check that you haven't deleted the comma at the end. Every variable in the settings files must end with a comma.

Thank you : I forgot to mention that « GAIN price to sell NaN » error.
I only used the default settings on BB without changing anything. Nothing sophisticated here.
I thought it was supposed to work at least like that.
As for the commas I haven’t seen any comma at the end of the settings, whichever it is – maybe I haven’t understood well what you wanted to say ; could you please elaborate ?
So until now I only saw  a bunch of errors.
That’s why I was wondering if it’s about kraken because so much people seem to be successful  with poloniex or bittrex.
For me, the bot is simply unusable from the beginning, which is really strange.
Just another idea : maybe the problem is due to the fact that I already have altcoins (i.e. ETH on the BTC/ETH pair), which is maybe not good for gunbot trading.

« Also: when you first start to trade a pair, you need to have a balance in the primary coin and possibly no balance on the "altcoin"

Quote from here :
https://gunthy.org/index.php?topic=306.0


Appart from that I really don’t have any clue of how to make it works properly