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 - OutOfSync

Pages: [1]
1
Technical Support & Development / Re: Preventing 422 Errors
« on: June 20, 2017, 06:52:30 PM »
1) one-in-all gunbot version:
The next version will do exactly that, it will run all pairs within one instance of gunbot. So the orderbook and price data etc will all be shared for all paris on one exchange. Gunthy anounced that in the telegram group a few days ago. It is still in testing phase. I am really excited to see the release!

2) there seems to be a proxy solution for Poloniex (also mentioned in the telegram chat). There were some really impressive results with 4s delay without 422 errors. Its 0.1 BTC, though, and the next version of gbot might already have a fix. Overall, I did not find much information about the proxy, if anyone finds something please post it! Would be useful to judge the price tag of the proxy.

3) I already suggested using the chart data to initialize the LP array for BB and the trendwatcher. This would be an awesome improvement I think!
https://gunthy.org/index.php?topic=480.0

2
Hey Gunthar,

every time we start the bot again the array of MAX_LATEST_PRICES size is empty and the bot needs a time of "MAX_LATEST_PRICES x BOT_SLEEP_DELAY" (i.e. 300 min @ 60 s delay or 600 min @ 120 s delay) before BB trading is enabled. If the 422 error occurs it gets even longer as no valid LP can be added to the array. I think it would be great to initialize the array when the bot is started with data that can be requested from the exchange (the one used to plot charts, its only public API without access penalty). As far as I know even 5 min candles can be requested on Poloniex - I have not looked at Bittrex and Kraken API but guess its similar. This data could be written to the LP price array and BB can be enabled immediately. Over time the initial chart data gets replaced by the actual data that gunbot acquired.

The chart data would need to be resampled to match the BOT_SLEEP_DELAY, if we for example set this delay to 120 s but only 300 s candles can be downloaded (Poloniex example), every value needs to be repeated on average 2.5x (pattern could be "-AA-BB-AAA-BBB-" or something less regular with some kind of "dithering"). The same for Bittrex where we can run at much higher frequency (e.g. 20 s), in this case the LP array is much larger and the values have to be repeated more often (in the example of 20s delay and 300s candles every value needs to be repeated 15 times).

I think this would be a really great addition and makes frequent restarts or larger reconfigurations possible. Stepgain would probably not benefit so much due to the repeating of the values, the LP array would be very blocky. The effects of this would need to be tested. But for BB (and especially for less crazy delay times in the min-range) it might actually work well...

Keep up the good work, looking forwad to the next ON-IN-ALL update of g-bot!

3
Technical Support & Development / Re: Bugs/Issues tracker v3.3/v3.3.1
« on: June 05, 2017, 08:36:43 PM »
[ACKNOWLEDGED]


Double buy on Polo with 3.3.2. Its saying "WARNING: we already bought" but places the order anyways. I now have two open orders. Seems like a very rare situation, I have not observed that before. Using STEPGAIN.

Code: [Select]
2017/06/05 21:13:33 ###[ --2017/06/05 21:13:33--poloniex--ETH_STEEM  --  Gunbot v3.3 cycle #31 --------------- ]
2017/06/05 21:13:33 ::::: collecting market data...
2017/06/05 21:13:34 ***************************************************
2017/06/05 21:13:34 EMA1:0.00659999 - EMA2:0.00610203
2017/06/05 21:13:34 ***************************************************
2017/06/05 21:13:36 LP 0.00630005  Bal.ETH 1.0107056  Bal.STEEM 0(0)
2017/06/05 21:13:36 No open orders
2017/06/05 21:13:36 boughtPrice 0
2017/06/05 21:13:36 price  grows (1)
2017/06/05 21:13:36 PriceToBuy,62.6890,priceToSell,66.1348
2017/06/05 21:13:36 LP 63.0005000,>,prBuy 62.6890470  secMargin -0.00006462788333333334  grows yes
2017/06/05 21:13:36 no altcoins: 0
2017/06/05 21:13:36 price to buy: 0.006268904683333333
2017/06/05 21:13:36 last price is too high
2017/06/05 21:13:36 Gunbot callback at 2017/06/05 21:13:36 cycle # 31
2017/06/05 21:13:36 Callback:
2017/06/05 21:13:36 ---------
2017/06/05 21:13:36 price too high
need faster: no
need slower: no

2017/06/05 21:13:36 next delay will be 120.12s


2017/06/05 21:15:36 ###[ --2017/06/05 21:15:36--poloniex--ETH_STEEM  --  Gunbot v3.3 cycle #32 --------------- ]
2017/06/05 21:15:36 ::::: collecting market data...
2017/06/05 21:15:36 ***************************************************
2017/06/05 21:15:36 EMA1:0.00641318 - EMA2:0.00619192
2017/06/05 21:15:36 ***************************************************
2017/06/05 21:15:36 STEPGAIN price to buy 0.00630005 -- GAIN price to buy 0.006327153223999999
2017/06/05 21:15:38 LP 0.00630005  Bal.ETH 1.0107056  Bal.STEEM 0(0)
2017/06/05 21:15:38 No open orders
2017/06/05 21:15:38 boughtPrice 0
2017/06/05 21:15:38 price  grows (1)
2017/06/05 21:15:38 PriceToBuy,63.0005,priceToSell,63.0005
2017/06/05 21:15:38 LP 63.0005000,<=,prBuy 63.0005000  secMargin -0.00006456278799999999  grows yes
2017/06/05 21:15:38 no altcoins: 0
2017/06/05 21:15:38 price to buy: 0.00630005
2017/06/05 21:15:38 price is sweet to buy
2017/06/05 21:15:38 price is growing
2017/06/05 21:15:38 Buying on poloniex 1.5877889897699224 of STEEM for 0.00630005
2017/06/05 21:15:39
2017/06/05 21:15:39 *** MARKET CALLBACK | buy 1.5877889897699224 STEEM for 0.00630005 ETH
2017/06/05 21:15:39 Gunbot callback at 2017/06/05 21:15:39 cycle # 32
2017/06/05 21:15:39 Callback:
2017/06/05 21:15:39 ---------
2017/06/05 21:15:39 buy 1.5877889897699224 STEEM for 0.00630005 ETH
need faster: no
need slower: no

2017/06/05 21:15:39 next delay will be 120.12s


2017/06/05 21:17:39 ###[ --2017/06/05 21:17:39--poloniex--ETH_STEEM  --  Gunbot v3.3 cycle #33 --------------- ]
2017/06/05 21:17:39 ::::: collecting market data...
2017/06/05 21:17:40 ***************************************************
2017/06/05 21:17:40 EMA1:0.00641318 - EMA2:0.00619192
2017/06/05 21:17:40 ***************************************************
2017/06/05 21:17:40 STEPGAIN price to buy 0.00630005 -- GAIN price to buy 0.0063212646
2017/06/05 21:17:54 LP 0.00630005  Bal.ETH 1.00070246  Bal.STEEM 0(0)
2017/06/05 21:17:54 We have open orders
2017/06/05 21:17:54 boughtPrice 0.00630005
2017/06/05 21:17:54 price  grows (1)
2017/06/05 21:17:54 PriceToBuy,63.0005,priceToSell,64.2605
2017/06/05 21:17:54 LP 63.0005000,<=,prBuy 63.0005000  secMargin -0.0000630005  grows yes
2017/06/05 21:17:54 no altcoins: 0
2017/06/05 21:17:54 price to buy: 0.00630005
2017/06/05 21:17:54 price is sweet to buy
2017/06/05 21:17:54 price is growing
2017/06/05 21:17:54 Buying on poloniex 1.5877889897699224 of STEEM for 0.00630005
2017/06/05 21:17:55 WARNING: we already bought!!! Switching to sell mode...
2017/06/05 21:17:56 WARNING: we bought!!!!
2017/06/05 21:17:56
2017/06/05 21:17:56 *** MARKET CALLBACK | buy 1.5877889897699224 STEEM for 0.00630005 ETH
2017/06/05 21:17:56 Gunbot callback at 2017/06/05 21:17:56 cycle # 33
2017/06/05 21:17:56 Callback:
2017/06/05 21:17:56 ---------
2017/06/05 21:17:56 buy 1.5877889897699224 STEEM for 0.00630005 ETH
need faster: no
need slower: no

2017/06/05 21:17:56 next delay will be 120.12s


2017/06/05 21:19:56 ###[ --2017/06/05 21:19:56--poloniex--ETH_STEEM  --  Gunbot v3.3 cycle #34 --------------- ]
2017/06/05 21:19:56 ::::: collecting market data...
2017/06/05 21:19:56 ***************************************************
2017/06/05 21:19:56 EMA1:0.00641318 - EMA2:0.00619192
2017/06/05 21:19:56 ***************************************************
2017/06/05 21:19:56 STEPGAIN price to buy 0.00630005 -- GAIN price to buy 0.006315812170370371
2017/06/05 21:19:58 LP 0.00661345  Bal.ETH 0.99069932  Bal.STEEM 0(0)
2017/06/05 21:19:58 We have open orders
2017/06/05 21:19:58 boughtPrice 0.00630005
2017/06/05 21:19:58 price  grows (2)
2017/06/05 21:19:58 PriceToBuy,63.0005,priceToSell,64.2605
2017/06/05 21:19:58 we have altcoins: 0
2017/06/05 21:19:58 LP 66.1345,>=,prSell 64.26051  secMargin -0.0000630005  falls no
2017/06/05 21:19:58 price to sell: ,0.0064260509999999995
2017/06/05 21:19:58 price is sweet
2017/06/05 21:19:58 price is not falling
2017/06/05 21:19:58 Gunbot callback at 2017/06/05 21:19:58 cycle # 34
2017/06/05 21:19:58 Callback:
2017/06/05 21:19:58 ---------
2017/06/05 21:19:58 No actions taken
need faster: yes
need slower: no

2017/06/05 21:19:58 next delay will be 60.06s


2017/06/05 21:19:59 WARNING: we already bought!!! Switching to sell mode...
2017/06/05 21:19:59 WARNING: we bought!!!!
2017/06/05 21:20:59 ###[ --2017/06/05 21:20:59--poloniex--ETH_STEEM  --  Gunbot v3.3 cycle #35 --------------- ]
2017/06/05 21:20:59 ::::: collecting market data...
2017/06/05 21:21:12 ***************************************************
2017/06/05 21:21:12 EMA1:0.00641318 - EMA2:0.00619192
2017/06/05 21:21:12 ***************************************************
2017/06/05 21:21:13 LP 0.00661345  Bal.ETH 0.99069932  Bal.STEEM 0(0)
2017/06/05 21:21:13 We have open orders
2017/06/05 21:21:13 boughtPrice 0.00630005
2017/06/05 21:21:13 price  grows (2)
2017/06/05 21:21:13 PriceToBuy,62.5721,priceToSell,66.1345
2017/06/05 21:21:13 we have altcoins: 0
2017/06/05 21:21:13 LP 66.1345,>=,prSell 66.1345  secMargin -0.0000630005  falls no
2017/06/05 21:21:13 price to sell: ,0.00661345
2017/06/05 21:21:13 price is sweet
2017/06/05 21:21:13 price is not falling
2017/06/05 21:21:13 Gunbot callback at 2017/06/05 21:21:13 cycle # 35
2017/06/05 21:21:13 Callback:
2017/06/05 21:21:13 ---------
2017/06/05 21:21:13 No actions taken
need faster: yes
need slower: no

2017/06/05 21:21:13 next delay will be 60.06s

4
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 21, 2017, 06:01:14 PM »
Another issue with Kraken, gunbot bought 5x on EUR_XMR market (log is attached below). This is the newest version (3.2 with GUI, linuxx64). Perhaps the error "invalid nonce" came at a bad time @cyle 2781, messing things up?

Code: [Select]
2017/05/21 05:05:41 [ --2017/05/21 05:05:41--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2780 --------------- ]
2017/05/21 05:05:41 ::::: collecting market data...
2017/05/21 05:05:42 ***************************************************
2017/05/21 05:05:42 Low BB:29.54123831 - High BB:32.37372509
2017/05/21 05:05:42 ***************************************************
2017/05/21 05:05:47 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:05:47 Open orders
2017/05/21 05:05:47 boughtPrice 27.3
2017/05/21 05:05:47 price  grows (2)
2017/05/21 05:05:47 PriceToBuy,302493.6000,priceToSell,278460.0000
2017/05/21 05:05:47 LP 300414.0000000,<=,prBuy 302493.6000000  secMargin 12.09974400127787  grows yes
2017/05/21 05:05:47 no altcoins: 0
2017/05/21 05:05:47 price to buy: 30.24936000319467
2017/05/21 05:05:47 price is sweet to buy
2017/05/21 05:05:47 price is growing
2017/05/21 05:05:47 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:05:47 ***************************************************
2017/05/21 05:05:47 [object Object]
2017/05/21 05:05:47 ***************************************************
2017/05/21 05:05:48
2017/05/21 05:05:48 *** MARKET CALLBACK | buy 1.33199586 XMREUR @ limit 30.04140
2017/05/21 05:05:48 Gunbot callback at 2017/05/21 05:05:48 cycle # 2780
2017/05/21 05:05:48 Callback:
2017/05/21 05:05:48 ---------
2017/05/21 05:05:48 buy 1.33199586 XMREUR @ limit 30.04140
need faster: no
need slower: no

2017/05/21 05:05:48 next delay will be 120s


2017/05/21 05:07:48 [ --2017/05/21 05:07:48--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2781 --------------- ]
2017/05/21 05:07:48 ::::: collecting market data...
2017/05/21 05:07:49 ***************************************************
2017/05/21 05:07:49 Low BB:29.54068545 - High BB:32.37396461
2017/05/21 05:07:49 ***************************************************
2017/05/21 05:07:53 2017/05/21 05:07:53 Error: Error: Kraken API returned error: API:Invalid nonce
2017/05/21 05:07:53 !!! Cycle 2782 failed. Will repeat in 61s
2017/05/21 05:08:54 [ --2017/05/21 05:08:54--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2782 --------------- ]
2017/05/21 05:08:54 ::::: collecting market data...
2017/05/21 05:08:55 ***************************************************
2017/05/21 05:08:55 Low BB:29.54068545 - High BB:32.37396461
2017/05/21 05:08:55 ***************************************************
2017/05/21 05:08:59 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:08:59 Open orders
2017/05/21 05:08:59 boughtPrice 30.0414
2017/05/21 05:08:59 price  grows (2)
2017/05/21 05:08:59 PriceToBuy,302490.0524,priceToSell,306422.2800
2017/05/21 05:08:59 LP 300414.0000000,<=,prBuy 302490.0500000  secMargin 12.099602097637286  grows yes
2017/05/21 05:08:59 no altcoins: 0
2017/05/21 05:08:59 price to buy: 30.249005244093212
2017/05/21 05:08:59 price is sweet to buy
2017/05/21 05:08:59 price is growing
2017/05/21 05:08:59 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:08:59 ***************************************************
2017/05/21 05:08:59 [object Object]
2017/05/21 05:08:59 ***************************************************
2017/05/21 05:09:01
2017/05/21 05:09:01 *** MARKET CALLBACK | buy 1.33199586 XMREUR @ limit 30.04140
2017/05/21 05:09:01 Gunbot callback at 2017/05/21 05:09:01 cycle # 2782
2017/05/21 05:09:01 Callback:
2017/05/21 05:09:01 ---------
2017/05/21 05:09:01 buy 1.33199586 XMREUR @ limit 30.04140
need faster: no
need slower: no

2017/05/21 05:09:01 next delay will be 120s


2017/05/21 05:11:01 [ --2017/05/21 05:11:01--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2783 --------------- ]
2017/05/21 05:11:01 ::::: collecting market data...
2017/05/21 05:11:02 ***************************************************
2017/05/21 05:11:02 Low BB:29.53821808 - High BB:32.37492378
2017/05/21 05:11:02 ***************************************************
2017/05/21 05:11:07 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:11:07 Open orders
2017/05/21 05:11:07 boughtPrice 30.0414
2017/05/21 05:11:07 price  grows (2)
2017/05/21 05:11:07 PriceToBuy,302473.9451,priceToSell,306422.2800
2017/05/21 05:11:07 LP 300414.0000000,<=,prBuy 302473.9500000  secMargin 12.09895780359592  grows yes
2017/05/21 05:11:07 no altcoins: 0
2017/05/21 05:11:07 price to buy: 30.2473945089898
2017/05/21 05:11:07 price is sweet to buy
2017/05/21 05:11:07 price is growing
2017/05/21 05:11:07 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:11:07 ***************************************************
2017/05/21 05:11:07 [object Object]
2017/05/21 05:11:07 ***************************************************
2017/05/21 05:11:08
2017/05/21 05:11:08 *** MARKET CALLBACK | buy 1.33199586 XMREUR @ limit 30.04140
2017/05/21 05:11:08 Gunbot callback at 2017/05/21 05:11:08 cycle # 2783
2017/05/21 05:11:08 Callback:
2017/05/21 05:11:08 ---------
2017/05/21 05:11:08 buy 1.33199586 XMREUR @ limit 30.04140
need faster: no
need slower: no

2017/05/21 05:11:08 next delay will be 120s


2017/05/21 05:13:08 [ --2017/05/21 05:13:08--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2784 --------------- ]
2017/05/21 05:13:08 ::::: collecting market data...
2017/05/21 05:13:09 ***************************************************
2017/05/21 05:13:09 Low BB:29.53575331 - High BB:32.37587962
2017/05/21 05:13:09 ***************************************************
2017/05/21 05:13:13 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:13:13 Open orders
2017/05/21 05:13:13 boughtPrice 30.0414
2017/05/21 05:13:13 price  grows (2)
2017/05/21 05:13:13 PriceToBuy,302457.8489,priceToSell,306422.2800
2017/05/21 05:13:13 LP 300414.0000000,<=,prBuy 302457.8500000  secMargin 12.098313955105214  grows yes
2017/05/21 05:13:13 no altcoins: 0
2017/05/21 05:13:13 price to buy: 30.245784887763033
2017/05/21 05:13:13 price is sweet to buy
2017/05/21 05:13:13 price is growing
2017/05/21 05:13:13 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:13:13 ***************************************************
2017/05/21 05:13:13 [object Object]
2017/05/21 05:13:13 ***************************************************
2017/05/21 05:13:15
2017/05/21 05:13:15 *** MARKET CALLBACK | buy 1.33199586 XMREUR @ limit 30.04140
2017/05/21 05:13:15 Gunbot callback at 2017/05/21 05:13:15 cycle # 2784
2017/05/21 05:13:15 Callback:
2017/05/21 05:13:15 ---------
2017/05/21 05:13:15 buy 1.33199586 XMREUR @ limit 30.04140
need faster: no
need slower: no

2017/05/21 05:13:15 next delay will be 120s


2017/05/21 05:15:15 [ --2017/05/21 05:15:15--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2785 --------------- ]
2017/05/21 05:15:15 ::::: collecting market data...
2017/05/21 05:15:16 ***************************************************
2017/05/21 05:15:16 Low BB:29.53317275 - High BB:32.37686951
2017/05/21 05:15:16 ***************************************************
2017/05/21 05:15:20 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:15:20 Open orders
2017/05/21 05:15:20 boughtPrice 30.0414
2017/05/21 05:15:20 price  grows (1)
2017/05/21 05:15:20 PriceToBuy,302440.9694,priceToSell,306422.2800
2017/05/21 05:15:20 LP 300414.0000000,<=,prBuy 302440.9700000  secMargin 12.097638777421574  grows no
2017/05/21 05:15:20 no altcoins: 0
2017/05/21 05:15:20 price to buy: 30.244096943553934
2017/05/21 05:15:20 price is sweet to buy
2017/05/21 05:15:20 price is not growing
2017/05/21 05:15:20 Gunbot callback at 2017/05/21 05:15:20 cycle # 2785
2017/05/21 05:15:20 Callback:
2017/05/21 05:15:20 ---------
2017/05/21 05:15:20 price is not growing
need faster: yes
need slower: no

2017/05/21 05:15:20 next delay will be 60s


2017/05/21 05:16:20 [ --2017/05/21 05:16:20--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2786 --------------- ]
2017/05/21 05:16:20 ::::: collecting market data...
2017/05/21 05:16:21 ***************************************************
2017/05/21 05:16:21 Low BB:29.52818924 - High BB:32.37832889
2017/05/21 05:16:21 ***************************************************
2017/05/21 05:16:29 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:16:29 Open orders
2017/05/21 05:16:29 boughtPrice 30.0414
2017/05/21 05:16:29 price  grows (2)
2017/05/21 05:16:29 PriceToBuy,302407.2415,priceToSell,306422.2800
2017/05/21 05:16:29 LP 300414.0000000,<=,prBuy 302407.2400000  secMargin 12.096289661984457  grows yes
2017/05/21 05:16:29 no altcoins: 0
2017/05/21 05:16:29 price to buy: 30.240724154961143
2017/05/21 05:16:29 price is sweet to buy
2017/05/21 05:16:29 price is growing
2017/05/21 05:16:29 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:16:29 ***************************************************
2017/05/21 05:16:29 [object Object]
2017/05/21 05:16:29 ***************************************************
2017/05/21 05:16:34 2017/05/21 05:16:34 Error: Error in server response: {"code":"ESOCKETTIMEDOUT","connect":false}
2017/05/21 05:16:34 !!! Cycle 2787 failed. Will repeat in 61s
2017/05/21 05:17:35 [ --2017/05/21 05:17:35--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2787 --------------- ]
2017/05/21 05:17:35 ::::: collecting market data...
2017/05/21 05:17:36 ***************************************************
2017/05/21 05:17:36 Low BB:29.52322836 - High BB:32.37977204
2017/05/21 05:17:36 ***************************************************
2017/05/21 05:17:40 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:17:40 Open orders
2017/05/21 05:17:40 boughtPrice 30.0414
2017/05/21 05:17:40 price  grows (2)
2017/05/21 05:17:40 PriceToBuy,302373.6428,priceToSell,306422.2800
2017/05/21 05:17:40 LP 300414.0000000,<=,prBuy 302373.6400000  secMargin 12.094945711520088  grows yes
2017/05/21 05:17:40 no altcoins: 0
2017/05/21 05:17:40 price to buy: 30.237364278800218
2017/05/21 05:17:40 price is sweet to buy
2017/05/21 05:17:40 price is growing
2017/05/21 05:17:40 Buying on kraken 1.3319958690340663 of XXMR for 30.0414
2017/05/21 05:17:40 ***************************************************
2017/05/21 05:17:40 [object Object]
2017/05/21 05:17:40 ***************************************************
2017/05/21 05:17:45 2017/05/21 05:17:45 Error: Kraken API returned error: API:Invalid nonce
2017/05/21 05:17:45 !!! Cycle 2788 failed. Will repeat in 61s
2017/05/21 05:18:46 [ --2017/05/21 05:18:46--kraken--EUR_XMR  --  Gunbot v3.2 cycle #2788 --------------- ]
2017/05/21 05:18:46 ::::: collecting market data...
2017/05/21 05:18:47 ***************************************************
2017/05/21 05:18:47 Low BB:29.51912592 - High BB:32.38111342
2017/05/21 05:18:47 ***************************************************
2017/05/21 05:18:52 LP 30.0414  Bal.ZEUR 278.5751  Bal.XXMR 0
2017/05/21 05:18:52 Open orders
2017/05/21 05:18:52 boughtPrice 30.0414
2017/05/21 05:18:52 price  grows (1)
2017/05/21 05:18:52 PriceToBuy,302346.2279,priceToSell,306422.2800
2017/05/21 05:18:52 LP 300414.0000000,<=,prBuy 302346.2300000  secMargin 12.09384911635022  grows no
2017/05/21 05:18:52 no altcoins: 0
2017/05/21 05:18:52 price to buy: 30.234622790875548
2017/05/21 05:18:52 price is sweet to buy
2017/05/21 05:18:52 price is not growing
2017/05/21 05:18:52 Gunbot callback at 2017/05/21 05:18:52 cycle # 2788
2017/05/21 05:18:52 Callback:
2017/05/21 05:18:52 ---------
2017/05/21 05:18:52 price is not growing
need faster: yes
need slower: no

5
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 20, 2017, 10:06:15 PM »
Another observation:

I have been running lots of pairs with TRADING_VOLUME 0 at lower cycle time to have full BB stats. Then when I decide the pair should be active I just set it to 0.02 BTC for trading. This way I thought I can avoid having to wait for 10h to have complete BB stats. Since TRADING_VOLUME is zero no buy/sell action should happen. Then I noticed that the bots gets into limbo after a 0 BTC buy happens (which results in an error message). The bot is "waiting for orders 0 DGB" indefinetely although no altcoin balance/on orders. I attached the corresponding part of the log below. I will now run the TRADING_VOLUME with higher BTC (perhaps 0.001 BTC) instead. However, this could probably be fixed - if you have any hints what in the savefile I have to look for I would be grateful. This is running 3.2_core (22 update, not the GUI one). It was cycle 81, so stats were not completed yet and GAIN was used.

Code: [Select]
2017/05/18 10:58:35 [ --2017/05/18 10:58:35--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #81 --------------- ]
2017/05/18 10:58:35 ::::: collecting market data...
2017/05/18 10:58:35 ***************************************************
2017/05/18 10:58:35 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 10:58:35 ***************************************************
2017/05/18 10:58:38 LP 0.0000034  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 10:58:38 No open orders
2017/05/18 10:58:38 boughtPrice undefined
2017/05/18 10:58:38 price  grows (2)
2017/05/18 10:58:38 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 10:58:38 LP 0.0340000,>,prBuy 0.0337905  secMargin 0.0000013516219178082197  grows yes
2017/05/18 10:58:38 no altcoins: 0
2017/05/18 10:58:38 price to buy: 0.000003379054794520549
2017/05/18 10:58:38 last price is too high
2017/05/18 10:58:38 Gunbot callback at 2017/05/18 10:58:38 cycle # 81
2017/05/18 10:58:38 Callback:
2017/05/18 10:58:38 ---------
2017/05/18 10:58:38 price too high
need faster: yes
need slower: no

2017/05/18 10:58:38 next delay will be 60s


2017/05/18 10:59:38 [ --2017/05/18 10:59:38--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #82 --------------- ]
2017/05/18 10:59:38 ::::: collecting market data...
2017/05/18 10:59:38 ***************************************************
2017/05/18 10:59:38 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 10:59:38 ***************************************************
2017/05/18 10:59:40 LP 0.00000335  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 10:59:40 No open orders
2017/05/18 10:59:40 boughtPrice undefined
2017/05/18 10:59:40 price  steady (0)
2017/05/18 10:59:40 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 10:59:40 LP 0.0335000,<=,prBuy 0.0337796  secMargin 0.0000013511837837837842  grows yes
2017/05/18 10:59:40 no altcoins: 0
2017/05/18 10:59:40 price to buy: 0.00000337795945945946
2017/05/18 10:59:40 price is sweet to buy
2017/05/18 10:59:40 price is growing
2017/05/18 10:59:40 Buying on poloniex 0.0005 of DGB for 0.00000335
2017/05/18 10:59:40 2017/05/18 10:59:40 Error: Amount (0.0005) too low. Increase BTC_TRADING_LIMIT
2017/05/18 10:59:40 !!! Cycle 83 failed. Will repeat in 61s
2017/05/18 11:00:41 [ --2017/05/18 11:00:41--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #83 --------------- ]
2017/05/18 11:00:41 ::::: collecting market data...
2017/05/18 11:00:41 ***************************************************
2017/05/18 11:00:41 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:00:41 ***************************************************
2017/05/18 11:00:43 LP 0.00000336  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:00:43 No open orders
2017/05/18 11:00:43 boughtPrice undefined
2017/05/18 11:00:43 price  grows (1)
2017/05/18 11:00:43 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 11:00:43 Gunbot callback at 2017/05/18 11:00:43 cycle # 83
2017/05/18 11:00:43 Callback:
2017/05/18 11:00:43 ---------
2017/05/18 11:00:43 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:00:43 next delay will be 60s


2017/05/18 11:01:43 [ --2017/05/18 11:01:43--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #84 --------------- ]
2017/05/18 11:01:43 ::::: collecting market data...
2017/05/18 11:01:44 ***************************************************
2017/05/18 11:01:44 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:01:44 ***************************************************
2017/05/18 11:01:45 LP 0.00000339  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:01:45 No open orders
2017/05/18 11:01:45 boughtPrice undefined
2017/05/18 11:01:45 price  grows (1)
2017/05/18 11:01:45 PriceToBuy,0.0337,priceToSell,--not set--
2017/05/18 11:01:45 Gunbot callback at 2017/05/18 11:01:45 cycle # 84
2017/05/18 11:01:45 Callback:
2017/05/18 11:01:45 ---------
2017/05/18 11:01:45 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:01:45 next delay will be 60s


2017/05/18 11:02:45 [ --2017/05/18 11:02:45--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #85 --------------- ]
2017/05/18 11:02:45 ::::: collecting market data...
2017/05/18 11:02:46 ***************************************************
2017/05/18 11:02:46 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:02:46 ***************************************************
2017/05/18 11:02:48 LP 0.0000034  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:02:48 No open orders
2017/05/18 11:02:48 boughtPrice undefined
2017/05/18 11:02:48 price  grows (1)
2017/05/18 11:02:48 PriceToBuy,0.0337,priceToSell,--not set--
2017/05/18 11:02:48 Gunbot callback at 2017/05/18 11:02:48 cycle # 85
2017/05/18 11:02:48 Callback:
2017/05/18 11:02:48 ---------
2017/05/18 11:02:48 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:02:48 next delay will be 60s

Hey Gunthar, another update:

The same problem also happens if the bot places a regular buy order which is not getting filled soon because the price rises. The buy order is stuck and the bot is waiting to receive altcoin balance which never happens. I now have an order thats stuck for hours and who knows when the prices falls below the buy level and if its a good time then to place the buy.

I really think we should have some option that auto-cancels buy orders that are not filled within 1 hour or some other CONFIG variable. Thats the last big problem that I see, otherwise everything is working really well!

EDIT: buying a small amount of altcoin gets the bot going again. After it sells the altcoin, it resumes looking to buy.

6
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 20, 2017, 12:17:23 PM »
Another observation:

I have been running lots of pairs with TRADING_VOLUME 0 at lower cycle time to have full BB stats. Then when I decide the pair should be active I just set it to 0.02 BTC for trading. This way I thought I can avoid having to wait for 10h to have complete BB stats. Since TRADING_VOLUME is zero no buy/sell action should happen. Then I noticed that the bots gets into limbo after a 0 BTC buy happens (which results in an error message). The bot is "waiting for orders 0 DGB" indefinetely although no altcoin balance/on orders. I attached the corresponding part of the log below. I will now run the TRADING_VOLUME with higher BTC (perhaps 0.001 BTC) instead. However, this could probably be fixed - if you have any hints what in the savefile I have to look for I would be grateful. This is running 3.2_core (22 update, not the GUI one). It was cycle 81, so stats were not completed yet and GAIN was used.

Code: [Select]
2017/05/18 10:58:35 [ --2017/05/18 10:58:35--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #81 --------------- ]
2017/05/18 10:58:35 ::::: collecting market data...
2017/05/18 10:58:35 ***************************************************
2017/05/18 10:58:35 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 10:58:35 ***************************************************
2017/05/18 10:58:38 LP 0.0000034  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 10:58:38 No open orders
2017/05/18 10:58:38 boughtPrice undefined
2017/05/18 10:58:38 price  grows (2)
2017/05/18 10:58:38 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 10:58:38 LP 0.0340000,>,prBuy 0.0337905  secMargin 0.0000013516219178082197  grows yes
2017/05/18 10:58:38 no altcoins: 0
2017/05/18 10:58:38 price to buy: 0.000003379054794520549
2017/05/18 10:58:38 last price is too high
2017/05/18 10:58:38 Gunbot callback at 2017/05/18 10:58:38 cycle # 81
2017/05/18 10:58:38 Callback:
2017/05/18 10:58:38 ---------
2017/05/18 10:58:38 price too high
need faster: yes
need slower: no

2017/05/18 10:58:38 next delay will be 60s


2017/05/18 10:59:38 [ --2017/05/18 10:59:38--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #82 --------------- ]
2017/05/18 10:59:38 ::::: collecting market data...
2017/05/18 10:59:38 ***************************************************
2017/05/18 10:59:38 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 10:59:38 ***************************************************
2017/05/18 10:59:40 LP 0.00000335  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 10:59:40 No open orders
2017/05/18 10:59:40 boughtPrice undefined
2017/05/18 10:59:40 price  steady (0)
2017/05/18 10:59:40 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 10:59:40 LP 0.0335000,<=,prBuy 0.0337796  secMargin 0.0000013511837837837842  grows yes
2017/05/18 10:59:40 no altcoins: 0
2017/05/18 10:59:40 price to buy: 0.00000337795945945946
2017/05/18 10:59:40 price is sweet to buy
2017/05/18 10:59:40 price is growing
2017/05/18 10:59:40 Buying on poloniex 0.0005 of DGB for 0.00000335
2017/05/18 10:59:40 2017/05/18 10:59:40 Error: Amount (0.0005) too low. Increase BTC_TRADING_LIMIT
2017/05/18 10:59:40 !!! Cycle 83 failed. Will repeat in 61s
2017/05/18 11:00:41 [ --2017/05/18 11:00:41--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #83 --------------- ]
2017/05/18 11:00:41 ::::: collecting market data...
2017/05/18 11:00:41 ***************************************************
2017/05/18 11:00:41 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:00:41 ***************************************************
2017/05/18 11:00:43 LP 0.00000336  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:00:43 No open orders
2017/05/18 11:00:43 boughtPrice undefined
2017/05/18 11:00:43 price  grows (1)
2017/05/18 11:00:43 PriceToBuy,0.0338,priceToSell,--not set--
2017/05/18 11:00:43 Gunbot callback at 2017/05/18 11:00:43 cycle # 83
2017/05/18 11:00:43 Callback:
2017/05/18 11:00:43 ---------
2017/05/18 11:00:43 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:00:43 next delay will be 60s


2017/05/18 11:01:43 [ --2017/05/18 11:01:43--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #84 --------------- ]
2017/05/18 11:01:43 ::::: collecting market data...
2017/05/18 11:01:44 ***************************************************
2017/05/18 11:01:44 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:01:44 ***************************************************
2017/05/18 11:01:45 LP 0.00000339  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:01:45 No open orders
2017/05/18 11:01:45 boughtPrice undefined
2017/05/18 11:01:45 price  grows (1)
2017/05/18 11:01:45 PriceToBuy,0.0337,priceToSell,--not set--
2017/05/18 11:01:45 Gunbot callback at 2017/05/18 11:01:45 cycle # 84
2017/05/18 11:01:45 Callback:
2017/05/18 11:01:45 ---------
2017/05/18 11:01:45 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:01:45 next delay will be 60s


2017/05/18 11:02:45 [ --2017/05/18 11:02:45--poloniex--BTC_DGB  --  Gunbot v3.2 cycle #85 --------------- ]
2017/05/18 11:02:45 ::::: collecting market data...
2017/05/18 11:02:46 ***************************************************
2017/05/18 11:02:46 Low BB:0.00000330 - High BB:0.00000366
2017/05/18 11:02:46 ***************************************************
2017/05/18 11:02:48 LP 0.0000034  Bal.BTC 0.31016783  Bal.DGB 0(0)
2017/05/18 11:02:48 No open orders
2017/05/18 11:02:48 boughtPrice undefined
2017/05/18 11:02:48 price  grows (1)
2017/05/18 11:02:48 PriceToBuy,0.0337,priceToSell,--not set--
2017/05/18 11:02:48 Gunbot callback at 2017/05/18 11:02:48 cycle # 85
2017/05/18 11:02:48 Callback:
2017/05/18 11:02:48 ---------
2017/05/18 11:02:48 Waiting for orders: 0 DGB
need faster: yes
need slower: no

2017/05/18 11:02:48 next delay will be 60s

7
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 20, 2017, 10:06:10 AM »
@OutOfSync to me it looks like 3.2 BB needs 3 cycles to calculate its values!? but I might be wrong and the values showing up are ...?.. something else!

It shows BB values after 3 cycles because you need at least 3 values to calculate standard deviation. However, until stats are calculated (300 cycles with default settings) the bot does not use BB strategy but the GAIN value (2% as default). 300 cycles with default delay of 120 s is 10 hours untils BB stats are done. This is just quite long if you have to e.g. update the binary and hotconfig is therefore not possible...

A trick if you know you are going to do a quick restart: save your save.json file in another folder > start yor bot > copy/paste yoru old save.json file while the bot is already running. Dont do that if you stop yrou bot for long time tho: you will get weird standard deviation

Thanks for the suggestion, I tried it but it doesn't seem to work. Seems like the bot saves the current status before loading the -save.json file. I always end up with the empty lastPrices array in the save file. Also no luck with setting readonly permission to prevent saving the current (empty) array over the previous fully filled one.

8
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 17, 2017, 09:16:19 PM »
@OutOfSync to me it looks like 3.2 BB needs 3 cycles to calculate its values!? but I might be wrong and the values showing up are ...?.. something else!

It shows BB values after 3 cycles because you need at least 3 values to calculate standard deviation. However, until stats are calculated (300 cycles with default settings) the bot does not use BB strategy but the GAIN value (2% as default). 300 cycles with default delay of 120 s is 10 hours untils BB stats are done. This is just quite long if you have to e.g. update the binary and hotconfig is therefore not possible...

9
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 17, 2017, 08:13:47 AM »
Hi Gun,

thanks again for ironing out all the bugs and patiently explaining things! Would it be possible to change v3.2 so that lastestPrices are reloaded when we restart the bot? I think you added this to v3.1 at some point and it was really useful for setting up the BB. I hate it when the bot needs to recalculate stats for hours. I understand that this might be dangerous when the bot was switched off for some time because the values are too old and not accurate anymore. Could this be an optional setting in the config? Something like "LOAD_LATEST_PRICES_ON_START: false" as default but so that we can change it if we are aware of the associated risks? That would be awesome!

Thanks again!

10
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 14, 2017, 10:38:01 PM »
2 issues to report:

1) "Altcoin on orders" is reported incorrectly in kraken market (did not check other markets):

Situation: I have some ETH that I manually placed a selling order for. Now I started a different pair in kraken from scratch with brand new config and no save file. The ETH on orders is now reported as "balance on order" for the newly started pair and the bot is confused because it thinks we have altcoins but no boughtPrice. This could be mitigated if the "balance on order" is reported correctly for the pair the bot is running.

2) I cannot find the Low BB and High BB values in the "-save.json" file.

Saving these important values would make it easy to write a GUI that reports them over time. I am thinking along the lines of an InfluxDB database with Grafana dashboard tracking all parameters. Would be really nice to tweak the bot.

Thanks Gunthar for an awesome update!

Solved both in patch 2020
Thanks for reporting!

Thanks for including the BB values, this will be really helpful! I was wondering if you can also include the mean value, I think I can calculate this from the latestPrices array but it would just be nice to show lowBB, highBB and mean.

Regarding the "onOrder" issue:
Unfortunately the issue persists, the ETH now shows as alt balance although it still is on selling order ("On Orders" is not shown anymore). gbot complains about "Missing boughtPrice" since it cannot find a record of this altcoin balance. I think in this situation the altcoin balance should be reported as zero and not as the alt coin balance which is on selling order.

Nasty problem, but thanks for taking care of the bugs!

11
Technical Support & Development / Re: Bugs/Issues tracker v3.2
« on: May 13, 2017, 01:24:24 PM »
2 issues to report:

1) "Altcoin on orders" is reported incorrectly in kraken market (did not check other markets):

Situation: I have some ETH that I manually placed a selling order for. Now I started a different pair in kraken from scratch with brand new config and no save file. The ETH on orders is now reported as "balance on order" for the newly started pair and the bot is confused because it thinks we have altcoins but no boughtPrice. This could be mitigated if the "balance on order" is reported correctly for the pair the bot is running.

2) I cannot find the Low BB and High BB values in the "-save.json" file.

Saving these important values would make it easy to write a GUI that reports them over time. I am thinking along the lines of an InfluxDB database with Grafana dashboard tracking all parameters. Would be really nice to tweak the bot.

Thanks Gunthar for an awesome update!

Pages: [1]