Username: Password:

Author Topic: GunBot failed to sell.  (Read 20684 times)

Offline DJAgenore

  • Rookie
  • *
  • Posts: 7
    • View Profile
GunBot failed to sell.
« on: July 11, 2017, 08:43:35 PM »
PROLOGUE:
GB version 3.3.2
Standard setting, StepGain strategy with buy and sell levels all at 1 1 1 , for emulating a 1000Trades.
At the end I tried to switch at GAIN with 1 1 values to say to GB "sell!" (wrongly passing from BB strat)
I've highlighted important steps with color.


2017/07/11 19:54:04   Activating hot reconfig...
2017/07/11 19:54:04   ###[ --2017/07/11 19:54:04--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #1 --------------- ]
2017/07/11 19:54:04   ::::: collecting market data...
2017/07/11 19:54:04   Server running at http://127.0.0.1:56322
2017/07/11 19:54:12   2017/07/11 19:54:19   Activating hot reconfig...
2017/07/11 19:54:19   ###[ --2017/07/11 19:54:19--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #1 --------------- ]
2017/07/11 19:54:19   ::::: collecting market data...
2017/07/11 19:54:19   Server running at http://127.0.0.1:56344
2017/07/11 19:54:58   Activating hot reconfig...
2017/07/11 19:54:58   ###[ --2017/07/11 19:54:58--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #1 --------------- ]
2017/07/11 19:54:58   ::::: collecting market data...
2017/07/11 19:54:58   Server running at http://127.0.0.1:56361
2017/07/11 19:55:27   ***************************************************
2017/07/11 19:55:27   EMA1:0.00139473 - EMA2:0.00132740
2017/07/11 19:55:27   ***************************************************
2017/07/11 19:55:36   LP 0.00133103  Bal.BTC 0.00559942  Bal.STRAT 0(0)
2017/07/11 19:55:36   No open orders
2017/07/11 19:55:36   boughtPrice 0.00171550
2017/07/11 19:55:36   price  steady (0)
2017/07/11 19:55:36   PriceToBuy,0.0000,priceToSell,17.4981
2017/07/11 19:55:36   LP 13.3103000,>,prBuy 0.0000000  secMargin 0  grows no
2017/07/11 19:55:36   no altcoins: 0
2017/07/11 19:55:36   price to buy: 0
2017/07/11 19:55:36   last price is too high
2017/07/11 19:55:36   Gunbot callback at 2017/07/11 19:55:36 cycle # 1
2017/07/11 19:55:36   Callback:
2017/07/11 19:55:36   ---------
2017/07/11 19:55:36   price too high
need faster: no
need slower: no

2017/07/11 19:55:36   next delay will be 120s


2017/07/11 19:57:36   

###[ --2017/07/11 19:57:36--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #2 --------------- ]
2017/07/11 19:57:36   ::::: collecting market data...
2017/07/11 19:57:38   ***************************************************
2017/07/11 19:57:38   EMA1:0.00139473 - EMA2:0.00132740
2017/07/11 19:57:38   ***************************************************
2017/07/11 19:57:48   LP 0.00133222  Bal.BTC 0.00559942  Bal.STRAT 0(0)
2017/07/11 19:57:48   No open orders
2017/07/11 19:57:48   boughtPrice 0.00171550
2017/07/11 19:57:48   price  grows (1)
2017/07/11 19:57:48   PriceToBuy,0.0000,priceToSell,17.4981
2017/07/11 19:57:48   LP 13.3222000,>,prBuy 0.0000000  secMargin 0.0006862000000000001  grows yes
2017/07/11 19:57:48   no altcoins: 0
2017/07/11 19:57:48   price to buy: 0
2017/07/11 19:57:48   last price is too high
2017/07/11 19:57:48   Gunbot callback at 2017/07/11 19:57:48 cycle # 2
2017/07/11 19:57:48   Callback:
2017/07/11 19:57:48   ---------
2017/07/11 19:57:48   price too high
need faster: no
need slower: no

2017/07/11 19:57:48   next delay will be 120s


2017/07/11 19:59:48   

[...cut...]   

###[ --2017/07/11 20:24:54--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #14 --------------- ]
2017/07/11 20:24:54   ::::: collecting market data...
2017/07/11 20:24:55   ***************************************************
2017/07/11 20:24:55   EMA1:0.00141174 - EMA2:0.00129015
2017/07/11 20:24:55   ***************************************************
2017/07/11 20:25:20   LP 0.00132087  Bal.BTC 0.00559942  Bal.STRAT 0(0)
2017/07/11 20:25:20   No open orders
2017/07/11 20:25:20   boughtPrice 0.00171550
2017/07/11 20:25:20   price  grows (1)
2017/07/11 20:25:20   PriceToBuy,13.0182,priceToSell,17.4981
2017/07/11 20:25:20   LP 13.2087000,>,prBuy 13.0182060  secMargin 0.0006862000000000001  grows yes
2017/07/11 20:25:20   no altcoins: 0
2017/07/11 20:25:20   price to buy: 0.0013018205846153845
2017/07/11 20:25:20   last price is too high
2017/07/11 20:25:20   Gunbot callback at 2017/07/11 20:25:20 cycle # 14
2017/07/11 20:25:20   Callback:
2017/07/11 20:25:20   ---------
2017/07/11 20:25:20   price too high
need faster: no
need slower: no

2017/07/11 20:25:20   next delay will be 120s


2017/07/11 20:27:20   

###[ --2017/07/11 20:27:20--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #15 --------------- ]
2017/07/11 20:27:20   ::::: collecting market data...
2017/07/11 20:27:22   ***************************************************
2017/07/11 20:27:22   EMA1:0.00141174 - EMA2:0.00129015
2017/07/11 20:27:22   ***************************************************
2017/07/11 20:27:22   STEPGAIN price to buy 0.00132087 -- GAIN price to buy 0.0013271621785714285
2017/07/11 20:27:25   LP 0.00131875  Bal.BTC 0.00559942  Bal.STRAT 0(0)
2017/07/11 20:27:25   No open orders
2017/07/11 20:27:25   boughtPrice 0.00171550
2017/07/11 20:27:25   price  steady (0)
2017/07/11 20:27:25   PriceToBuy,13.2087,priceToSell,17.4981
2017/07/11 20:27:25   LP 13.1875000,<=,prBuy 13.2087000  secMargin 0.0006862000000000001  grows yes
2017/07/11 20:27:25   no altcoins: 0
2017/07/11 20:27:25   price to buy: 0.00132087
2017/07/11 20:27:25   price is sweet to buy
2017/07/11 20:27:25   price is growing
2017/07/11 20:27:25   Buying on poloniex 3.7919691943127964 of STRAT for 0.00131875
2017/07/11 20:27:32   
2017/07/11 20:27:32 *** MARKET CALLBACK | buy 3.7919691943127964 STRAT for 0.00131875 BTC
2017/07/11 20:27:32   Gunbot callback at 2017/07/11 20:27:32 cycle # 15
2017/07/11 20:27:32   Callback:
2017/07/11 20:27:32   ---------
2017/07/11 20:27:32   buy 3.7919691943127964 STRAT for 0.00131875 BTC
need faster: no
need slower: no

2017/07/11 20:27:32   next delay will be 120s

note: BOUGHT DONE!



2017/07/11 20:29:32   

###[ --2017/07/11 20:29:32--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #16 --------------- ]
2017/07/11 20:29:32   ::::: collecting market data...
2017/07/11 20:29:40   ***************************************************
2017/07/11 20:29:40   EMA1:0.00141174 - EMA2:0.00129015
2017/07/11 20:29:40   ***************************************************
2017/07/11 20:29:40   STEPGAIN price to buy 0.00131875 -- GAIN price to buy 0.0013257222
2017/07/11 20:29:43   LP 0.00130844  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:29:43   No open orders
2017/07/11 20:29:43   boughtPrice 0.00131873
2017/07/11 20:29:43   price  falls (-1)
2017/07/11 20:29:43   PriceToBuy,13.1875,priceToSell,13.4510
2017/07/11 20:29:43   we have altcoins: 3.78248927
2017/07/11 20:29:43   LP 13.084399999999999,<,prSell 13.451046  secMargin 0.000527492  falls no
2017/07/11 20:29:43   price is too low to sell
2017/07/11 20:29:43   Gunbot callback at 2017/07/11 20:29:43 cycle # 16
2017/07/11 20:29:43   Callback:
2017/07/11 20:29:43   ---------
2017/07/11 20:29:43   waiting to sell
need faster: no
need slower: no

2017/07/11 20:29:43   next delay will be 120s


2017/07/11 20:31:43   

[...cut...]

###[ --2017/07/11 20:45:23--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #23 --------------- ]
2017/07/11 20:45:23   ::::: collecting market data...
2017/07/11 20:45:30   ***************************************************
2017/07/11 20:45:30   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:45:30   ***************************************************
2017/07/11 20:45:45   LP 0.001335  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:45:45   No open orders
2017/07/11 20:45:45   boughtPrice 0.00131873
2017/07/11 20:45:45   price  steady (0)
2017/07/11 20:45:45   PriceToBuy,12.9351,priceToSell,13.4510
2017/07/11 20:45:45   we have altcoins: 3.78248927
2017/07/11 20:45:45   LP 13.35,<,prSell 13.451046  secMargin 0.0005334047272727272  falls no
2017/07/11 20:45:45   price is too low to sell
2017/07/11 20:45:45   Gunbot callback at 2017/07/11 20:45:45 cycle # 23
2017/07/11 20:45:45   Callback:
2017/07/11 20:45:45   ---------
2017/07/11 20:45:45   waiting to sell
need faster: no
need slower: no

2017/07/11 20:45:45   next delay will be 120s


2017/07/11 20:47:45   

note: Last Price starts going over SellPrice:

###[ --2017/07/11 20:47:45--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #24 --------------- ]
2017/07/11 20:47:45   ::::: collecting market data...
2017/07/11 20:47:47   ***************************************************
2017/07/11 20:47:47   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:47:47   ***************************************************
2017/07/11 20:47:50   LP 0.00133501  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:47:50   No open orders
2017/07/11 20:47:50   boughtPrice 0.00131873
2017/07/11 20:47:50   price  grows (1)
2017/07/11 20:47:50   PriceToBuy,12.9357,priceToSell,13.3500
2017/07/11 20:47:50   we have altcoins: 3.78248927
2017/07/11 20:47:50   LP 13.3501,>=,prSell 13.35  secMargin 0.0005334306086956521  falls no
2017/07/11 20:47:50   price to sell: ,0.001335
2017/07/11 20:47:50   price is sweet
2017/07/11 20:47:50   price is not falling
2017/07/11 20:47:50   Gunbot callback at 2017/07/11 20:47:50 cycle # 24
2017/07/11 20:47:50   Callback:
2017/07/11 20:47:50   ---------
2017/07/11 20:47:50   No actions taken
need faster: yes
need slower: no

2017/07/11 20:47:50   next delay will be 60s


2017/07/11 20:48:50   

###[ --2017/07/11 20:48:50--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #25 --------------- ]
2017/07/11 20:48:50   ::::: collecting market data...
2017/07/11 20:48:58   ***************************************************
2017/07/11 20:48:58   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:48:58   ***************************************************
2017/07/11 20:49:08   LP 0.001342  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:49:08   No open orders
2017/07/11 20:49:08   boughtPrice 0.00131873
2017/07/11 20:49:08   price  grows (2)
2017/07/11 20:49:08   PriceToBuy,12.9363,priceToSell,13.3501
2017/07/11 20:49:08   we have altcoins: 3.78248927
2017/07/11 20:49:08   LP 13.420000000000002,>=,prSell 13.3501  secMargin 0.0005334545  falls no
2017/07/11 20:49:08   price to sell: ,0.00133501
2017/07/11 20:49:08   price is sweet
2017/07/11 20:49:08   price is not falling
2017/07/11 20:49:08   Gunbot callback at 2017/07/11 20:49:08 cycle # 25
2017/07/11 20:49:08   Callback:
2017/07/11 20:49:08   ---------
2017/07/11 20:49:08   No actions taken
need faster: yes
need slower: no

2017/07/11 20:49:08   next delay will be 60s


2017/07/11 20:50:08   

###[ --2017/07/11 20:50:08--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #26 --------------- ]
2017/07/11 20:50:08   ::::: collecting market data...
2017/07/11 20:50:16   ***************************************************
2017/07/11 20:50:16   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:50:16   ***************************************************
2017/07/11 20:50:25   LP 0.00134201  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:50:25   No open orders
2017/07/11 20:50:25   boughtPrice 0.00131873
2017/07/11 20:50:25   price  grows (3)
2017/07/11 20:50:25   PriceToBuy,12.9395,priceToSell,13.4200
2017/07/11 20:50:25   we have altcoins: 3.78248927
2017/07/11 20:50:25   LP 13.4201,>=,prSell 13.420000000000002  secMargin 0.0005335883199999999  falls no
2017/07/11 20:50:25   price to sell: ,0.001342
2017/07/11 20:50:25   price is sweet
2017/07/11 20:50:25   price is not falling
2017/07/11 20:50:25   Gunbot callback at 2017/07/11 20:50:25 cycle # 26
2017/07/11 20:50:25   Callback:
2017/07/11 20:50:25   ---------
2017/07/11 20:50:25   No actions taken
need faster: yes
need slower: no

2017/07/11 20:50:25   next delay will be 60s


2017/07/11 20:51:25   

###[ --2017/07/11 20:51:25--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #27 --------------- ]
2017/07/11 20:51:25   ::::: collecting market data...
2017/07/11 20:51:27   ***************************************************
2017/07/11 20:51:27   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:51:27   ***************************************************
2017/07/11 20:51:31   LP 0.00134201  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:51:31   No open orders
2017/07/11 20:51:31   boughtPrice 0.00131873
2017/07/11 20:51:31   price  grows (3)
2017/07/11 20:51:31   PriceToBuy,12.9425,priceToSell,13.4201
2017/07/11 20:51:31   we have altcoins: 3.78248927
2017/07/11 20:51:31   LP 13.4201,>=,prSell 13.4201  secMargin 0.000533712  falls no
2017/07/11 20:51:31   price to sell: ,0.00134201
2017/07/11 20:51:31   price is sweet
2017/07/11 20:51:31   price is not falling
2017/07/11 20:51:31   Gunbot callback at 2017/07/11 20:51:31 cycle # 27
2017/07/11 20:51:31   Callback:
2017/07/11 20:51:31   ---------
2017/07/11 20:51:31   No actions taken
need faster: yes
need slower: no

2017/07/11 20:51:31   next delay will be 60s


2017/07/11 20:52:31   

###[ --2017/07/11 20:52:31--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #28 --------------- ]
2017/07/11 20:52:31   ::::: collecting market data...
2017/07/11 20:52:39   ***************************************************
2017/07/11 20:52:39   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:52:39   ***************************************************
2017/07/11 20:52:48   LP 0.00134978  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:52:48   No open orders
2017/07/11 20:52:48   boughtPrice 0.00131873
2017/07/11 20:52:48   price  grows (4)
2017/07/11 20:52:48   PriceToBuy,12.9453,priceToSell,13.4201
2017/07/11 20:52:48   we have altcoins: 3.78248927
2017/07/11 20:52:48   LP 13.497800000000002,>=,prSell 13.4201  secMargin 0.0005338265185185185  falls no
2017/07/11 20:52:48   price to sell: ,0.00134201
2017/07/11 20:52:48   price is sweet
2017/07/11 20:52:48   price is not falling
2017/07/11 20:52:48   Gunbot callback at 2017/07/11 20:52:48 cycle # 28
2017/07/11 20:52:48   Callback:
2017/07/11 20:52:48   ---------
2017/07/11 20:52:48   No actions taken
need faster: yes
need slower: no

2017/07/11 20:52:48   next delay will be 60s


2017/07/11 20:53:48   

###[ --2017/07/11 20:53:48--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #29 --------------- ]
2017/07/11 20:53:48   ::::: collecting market data...
2017/07/11 20:53:50   ***************************************************
2017/07/11 20:53:50   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:53:50   ***************************************************
2017/07/11 20:54:01   LP 0.00134219  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:54:01   No open orders
2017/07/11 20:54:01   boughtPrice 0.00131873
2017/07/11 20:54:01   price  grows (3)
2017/07/11 20:54:01   PriceToBuy,12.9506,priceToSell,13.4978
2017/07/11 20:54:01   we have altcoins: 3.78248927
2017/07/11 20:54:01   LP 13.4219,<,prSell 13.497800000000002  secMargin 0.0005340438571428572  falls no
2017/07/11 20:54:01   price is too low to sell
2017/07/11 20:54:01   Gunbot callback at 2017/07/11 20:54:01 cycle # 29
2017/07/11 20:54:01   Callback:
2017/07/11 20:54:01   ---------
2017/07/11 20:54:01   waiting to sell
need faster: yes
need slower: no

2017/07/11 20:54:01   next delay will be 60s


2017/07/11 20:55:01   

###[ --2017/07/11 20:55:01--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #30 --------------- ]
2017/07/11 20:55:01   ::::: collecting market data...
2017/07/11 20:55:09   ***************************************************
2017/07/11 20:55:09   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:55:09   ***************************************************
2017/07/11 20:55:20   LP 0.0013483  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:55:20   No open orders
2017/07/11 20:55:20   boughtPrice 0.00131873
2017/07/11 20:55:20   price  grows (4)
2017/07/11 20:55:20   PriceToBuy,12.9529,priceToSell,13.4219
2017/07/11 20:55:20   we have altcoins: 3.78248927
2017/07/11 20:55:20   LP 13.483,>=,prSell 13.4219  secMargin 0.0005341415172413793  falls no
2017/07/11 20:55:20   price to sell: ,0.00134219
2017/07/11 20:55:20   price is sweet
2017/07/11 20:55:20   price is not falling
2017/07/11 20:55:20   Gunbot callback at 2017/07/11 20:55:20 cycle # 30
2017/07/11 20:55:20   Callback:
2017/07/11 20:55:20   ---------
2017/07/11 20:55:20   No actions taken
need faster: yes
need slower: no

2017/07/11 20:55:20   next delay will be 60s


2017/07/11 20:56:20   

###[ --2017/07/11 20:56:20--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #31 --------------- ]
2017/07/11 20:56:20   ::::: collecting market data...
2017/07/11 20:56:22   ***************************************************
2017/07/11 20:56:22   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:56:22   ***************************************************
2017/07/11 20:56:32   LP 0.0013499  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:56:32   No open orders
2017/07/11 20:56:32   boughtPrice 0.00131873
2017/07/11 20:56:32   price  grows (4)
2017/07/11 20:56:32   PriceToBuy,12.9571,priceToSell,13.4830
2017/07/11 20:56:32   we have altcoins: 3.78248927
2017/07/11 20:56:32   LP 13.499,>=,prSell 13.483  secMargin 0.0005343141333333332  falls no
2017/07/11 20:56:32   price to sell: ,0.0013483
2017/07/11 20:56:32   price is sweet
2017/07/11 20:56:32   price is not falling
2017/07/11 20:56:32   Gunbot callback at 2017/07/11 20:56:32 cycle # 31
2017/07/11 20:56:32   Callback:
2017/07/11 20:56:32   ---------
2017/07/11 20:56:32   No actions taken
need faster: yes
need slower: no

2017/07/11 20:56:32   next delay will be 60s


2017/07/11 20:57:32   

###[ --2017/07/11 20:57:32--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #32 --------------- ]
2017/07/11 20:57:32   ::::: collecting market data...
2017/07/11 20:57:40   ***************************************************
2017/07/11 20:57:40   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:57:40   ***************************************************
2017/07/11 20:57:49   LP 0.00134989  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:57:49   No open orders
2017/07/11 20:57:49   boughtPrice 0.00131873
2017/07/11 20:57:49   price  grows (2)
2017/07/11 20:57:49   PriceToBuy,12.9615,priceToSell,13.4990
2017/07/11 20:57:49   we have altcoins: 3.78248927
2017/07/11 20:57:49   LP 13.4989,<,prSell 13.499  secMargin 0.000534496258064516  falls no
2017/07/11 20:57:49   price is too low to sell
2017/07/11 20:57:49   Gunbot callback at 2017/07/11 20:57:49 cycle # 32
2017/07/11 20:57:49   Callback:
2017/07/11 20:57:49   ---------
2017/07/11 20:57:49   waiting to sell
need faster: yes
need slower: no

2017/07/11 20:57:49   next delay will be 60s


2017/07/11 20:58:49   

note: Here the price, greater that price to sell since some cycles, goes up decisely:


###[ --2017/07/11 20:58:49--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #33 --------------- ]
2017/07/11 20:58:49   ::::: collecting market data...
2017/07/11 20:58:53   ***************************************************
2017/07/11 20:58:53   EMA1:0.00139748 - EMA2:0.00134488
2017/07/11 20:58:53   ***************************************************
2017/07/11 20:59:01   LP 0.00136999  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 20:59:01   No open orders
2017/07/11 20:59:01   boughtPrice 0.00131873
2017/07/11 20:59:01   price  grows (2)
2017/07/11 20:59:01   PriceToBuy,12.9657,priceToSell,13.4989
2017/07/11 20:59:01   we have altcoins: 3.78248927
2017/07/11 20:59:01   LP 13.6999,>=,prSell 13.4989  secMargin 0.0005346668749999999  falls no
2017/07/11 20:59:01   price to sell: ,0.00134989
2017/07/11 20:59:01   price is sweet
2017/07/11 20:59:01   price is not falling
2017/07/11 20:59:01   Gunbot callback at 2017/07/11 20:59:01 cycle # 33
2017/07/11 20:59:01   Callback:
2017/07/11 20:59:01   ---------
2017/07/11 20:59:01   No actions taken
need faster: yes
need slower: no

2017/07/11 20:59:01   next delay will be 60s


2017/07/11 21:00:01   

###[ --2017/07/11 21:00:01--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #34 --------------- ]
2017/07/11 21:00:01   ::::: collecting market data...
2017/07/11 21:00:02   ***************************************************
2017/07/11 21:00:02   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:00:02   ***************************************************
2017/07/11 21:00:12   LP 0.00136853  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:00:12   No open orders
2017/07/11 21:00:12   boughtPrice 0.00131873
2017/07/11 21:00:12   price  steady (0)
2017/07/11 21:00:12   PriceToBuy,12.9755,priceToSell,13.6999
2017/07/11 21:00:12   we have altcoins: 3.78248927
2017/07/11 21:00:12   LP 13.6853,<,prSell 13.6999  secMargin 0.0005350707878787878  falls no
2017/07/11 21:00:12   price is too low to sell
2017/07/11 21:00:12   Gunbot callback at 2017/07/11 21:00:12 cycle # 34
2017/07/11 21:00:12   Callback:
2017/07/11 21:00:12   ---------
2017/07/11 21:00:12   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:00:12   next delay will be 60s


2017/07/11 21:01:12   

###[ --2017/07/11 21:01:12--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #35 --------------- ]
2017/07/11 21:01:12   ::::: collecting market data...
2017/07/11 21:01:14   ***************************************************
2017/07/11 21:01:14   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:01:14   ***************************************************
2017/07/11 21:01:18   LP 0.00135749  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:01:18   No open orders
2017/07/11 21:01:18   boughtPrice 0.00131873
2017/07/11 21:01:18   price  falls (-2)
2017/07/11 21:01:18   PriceToBuy,12.9843,priceToSell,13.6853
2017/07/11 21:01:18   we have altcoins: 3.78248927
2017/07/11 21:01:18   LP 13.574900000000001,<,prSell 13.6853  secMargin 0.0005354337647058824  falls no
2017/07/11 21:01:18   price is too low to sell
2017/07/11 21:01:18   Gunbot callback at 2017/07/11 21:01:18 cycle # 35
2017/07/11 21:01:18   Callback:
2017/07/11 21:01:18   ---------
2017/07/11 21:01:18   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:01:18   next delay will be 60s


2017/07/11 21:02:18   

note: Here the price starts to fall badly, leaving me a Bag:


###[ --2017/07/11 21:02:18--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #36 --------------- ]
2017/07/11 21:02:18   ::::: collecting market data...
2017/07/11 21:02:19   ***************************************************
2017/07/11 21:02:19   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:02:19   ***************************************************
2017/07/11 21:02:24   LP 0.00134998  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:02:24   No open orders
2017/07/11 21:02:24   boughtPrice 0.00131873
2017/07/11 21:02:24   price  falls (-4)
2017/07/11 21:02:24   PriceToBuy,12.9895,priceToSell,13.5749
2017/07/11 21:02:24   we have altcoins: 3.78248927
2017/07/11 21:02:24   LP 13.4998,<,prSell 13.574900000000001  secMargin 0.0005356498285714286  falls yes
2017/07/11 21:02:24   price is too low to sell
2017/07/11 21:02:24   Gunbot callback at 2017/07/11 21:02:24 cycle # 36
2017/07/11 21:02:24   Callback:
2017/07/11 21:02:24   ---------
2017/07/11 21:02:24   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:02:24   next delay will be 60s


2017/07/11 21:03:24   

###[ --2017/07/11 21:03:24--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #37 --------------- ]
2017/07/11 21:03:24   ::::: collecting market data...
2017/07/11 21:03:32   ***************************************************
2017/07/11 21:03:32   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:03:32   ***************************************************
2017/07/11 21:03:42   LP 0.00132958  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:03:42   No open orders
2017/07/11 21:03:42   boughtPrice 0.00131873
2017/07/11 21:03:42   price  falls (-4)
2017/07/11 21:03:42   PriceToBuy,12.9924,priceToSell,13.4998
2017/07/11 21:03:42   we have altcoins: 3.78248927
2017/07/11 21:03:42   LP 13.2958,<,prSell 13.4998  secMargin 0.0005357704444444444  falls yes
2017/07/11 21:03:42   price is too low to sell
2017/07/11 21:03:42   Gunbot callback at 2017/07/11 21:03:42 cycle # 37
2017/07/11 21:03:42   Callback:
2017/07/11 21:03:42   ---------
2017/07/11 21:03:42   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:03:42   next delay will be 60s


2017/07/11 21:04:42   

###[ --2017/07/11 21:04:42--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #38 --------------- ]
2017/07/11 21:04:42   ::::: collecting market data...
2017/07/11 21:04:50   ***************************************************
2017/07/11 21:04:50   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:04:50   ***************************************************
2017/07/11 21:05:03   LP 0.00131303  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:05:03   No open orders
2017/07/11 21:05:03   boughtPrice 0.00131873
2017/07/11 21:05:03   price  falls (-4)
2017/07/11 21:05:03   PriceToBuy,12.9899,priceToSell,13.4510
2017/07/11 21:05:03   we have altcoins: 3.78248927
2017/07/11 21:05:03   LP 13.1303,<,prSell 13.451046  secMargin 0.0005356639999999999  falls yes
2017/07/11 21:05:03   price is too low to sell
2017/07/11 21:05:03   Gunbot callback at 2017/07/11 21:05:03 cycle # 38
2017/07/11 21:05:03   Callback:
2017/07/11 21:05:03   ---------
2017/07/11 21:05:03   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:05:03   next delay will be 60s


2017/07/11 21:06:03   

###[ --2017/07/11 21:06:03--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #39 --------------- ]
2017/07/11 21:06:03   ::::: collecting market data...
2017/07/11 21:06:19   ***************************************************
2017/07/11 21:06:19   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:06:19   ***************************************************
2017/07/11 21:06:19   STEPGAIN price to buy 0.00131303 -- GAIN price to buy 0.001325087644736842
2017/07/11 21:06:37   LP 0.00132503  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:06:37   No open orders
2017/07/11 21:06:37   boughtPrice 0.00131873
2017/07/11 21:06:37   price  falls (-2)
2017/07/11 21:06:37   PriceToBuy,13.1303,priceToSell,13.4510
2017/07/11 21:06:37   we have altcoins: 3.78248927
2017/07/11 21:06:37   LP 13.250300000000001,<,prSell 13.451046  secMargin 0.000535388947368421  falls yes
2017/07/11 21:06:37   price is too low to sell
2017/07/11 21:06:37   Gunbot callback at 2017/07/11 21:06:37 cycle # 39
2017/07/11 21:06:37   Callback:
2017/07/11 21:06:37   ---------
2017/07/11 21:06:37   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:06:37   next delay will be 60s


2017/07/11 21:07:37   

note: Here the bot has another chanche to sell, but miss:

###[ --2017/07/11 21:07:37--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #40 --------------- ]
2017/07/11 21:07:37   ::::: collecting market data...
2017/07/11 21:07:45   ***************************************************
2017/07/11 21:07:45   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:07:45   ***************************************************
2017/07/11 21:07:55   LP 0.00135984  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:07:55   No open orders
2017/07/11 21:07:55   boughtPrice 0.00131873
2017/07/11 21:07:55   price  steady (0)
2017/07/11 21:07:55   PriceToBuy,12.9798,priceToSell,13.4510
2017/07/11 21:07:55   we have altcoins: 3.78248927
2017/07/11 21:07:55   LP 13.5984,>=,prSell 13.451046  secMargin 0.0005352510769230769  falls no
2017/07/11 21:07:55   price to sell: ,0.0013451046
2017/07/11 21:07:55   price is sweet
2017/07/11 21:07:55   price is not falling
2017/07/11 21:07:55   Gunbot callback at 2017/07/11 21:07:55 cycle # 40
2017/07/11 21:07:55   Callback:
2017/07/11 21:07:55   ---------
2017/07/11 21:07:55   No actions taken
need faster: yes
need slower: no

2017/07/11 21:07:55   next delay will be 60s


2017/07/11 21:08:55   

note: From now on, price crashed:

###[ --2017/07/11 21:08:55--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #41 --------------- ]
2017/07/11 21:08:55   ::::: collecting market data...
2017/07/11 21:08:58   ***************************************************
2017/07/11 21:08:58   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:08:58   ***************************************************
2017/07/11 21:09:02   LP 0.00135893  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:09:02   No open orders
2017/07/11 21:09:02   boughtPrice 0.00131873
2017/07/11 21:09:02   price  falls (-2)
2017/07/11 21:09:02   PriceToBuy,12.9851,priceToSell,13.5984
2017/07/11 21:09:02   we have altcoins: 3.78248927
2017/07/11 21:09:02   LP 13.5893,<,prSell 13.5984  secMargin 0.0005354682000000002  falls yes
2017/07/11 21:09:02   price is too low to sell
2017/07/11 21:09:02   Gunbot callback at 2017/07/11 21:09:02 cycle # 41
2017/07/11 21:09:02   Callback:
2017/07/11 21:09:02   ---------
2017/07/11 21:09:02   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:09:02   next delay will be 60s


2017/07/11 21:09:08   Config file changed. Reconfig sheduled.
2017/07/11 21:10:02   

###[ --2017/07/11 21:10:02--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #42 --------------- ]
2017/07/11 21:10:02   ::::: collecting market data...
2017/07/11 21:10:05   ***************************************************
2017/07/11 21:10:05   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:10:05   ***************************************************
2017/07/11 21:10:05   BB price to sell 0.0013543136 -- GAIN price to sell 0.0013319173
2017/07/11 21:10:20   LP 0.001305  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:10:20   No open orders
2017/07/11 21:10:20   boughtPrice 0.00131873
2017/07/11 21:10:20   price  falls (-2)
2017/07/11 21:10:20   PriceToBuy,13.2577,priceToSell,13.5431
2017/07/11 21:10:20   we have altcoins: 3.78248927
2017/07/11 21:10:20   LP 13.049999999999999,<,prSell 13.543136  secMargin 0.0005356658536585366  falls yes
2017/07/11 21:10:20   price is too low to sell
2017/07/11 21:10:20   Gunbot callback at 2017/07/11 21:10:20 cycle # 42
2017/07/11 21:10:20   Callback:
2017/07/11 21:10:20   ---------
2017/07/11 21:10:20   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:10:20   next delay will be 60s


2017/07/11 21:11:20   

###[ --2017/07/11 21:11:20--poloniex--BTC_STRAT  --  Gunbot v3.3 cycle #43 --------------- ]
2017/07/11 21:11:20   ::::: collecting market data...
2017/07/11 21:11:28   ***************************************************
2017/07/11 21:11:28   EMA1:0.00139496 - EMA2:0.00134429
2017/07/11 21:11:28   ***************************************************
2017/07/11 21:11:28   BB price to sell 0.0013542157 -- GAIN price to sell 0.0013319173
2017/07/11 21:11:37   LP 0.00127237  Bal.BTC 0.00059884  Bal.STRAT 3.78248927(0)
2017/07/11 21:11:37   No open orders
2017/07/11 21:11:37   boughtPrice 0.00131873
2017/07/11 21:11:37   price  falls (-2)
2017/07/11 21:11:37   PriceToBuy,13.2497,priceToSell,13.5422
2017/07/11 21:11:37   we have altcoins: 3.78248927
2017/07/11 21:11:37   LP 12.723700000000001,<,prSell 13.542157  secMargin 0.0005353404761904763  falls yes
2017/07/11 21:11:37   price is too low to sell
2017/07/11 21:11:37   Gunbot callback at 2017/07/11 21:11:37 cycle # 43
2017/07/11 21:11:37   Callback:
2017/07/11 21:11:37   ---------
2017/07/11 21:11:37   waiting to sell
need faster: yes
need slower: no

2017/07/11 21:11:37   next delay will be 60s

Bot stopped.
Bag handled manually.

Any ideas of what's gone wrong?
Thx.

Offline Gunthar

  • Administrator
  • *****
  • Posts: 287
    • View Profile
Re: GunBot failed to sell.
« Reply #1 on: July 11, 2017, 09:34:46 PM »

Bot stopped.
Bag handled manually.

Any ideas of what's gone wrong?
Thx.


this was the only error i can see

Offline DJAgenore

  • Rookie
  • *
  • Posts: 7
    • View Profile
Re: GunBot failed to sell.
« Reply #2 on: July 12, 2017, 05:38:33 PM »
EPILOGUE:

Yesterday evening I had a chat with Gunthar, which I thanks for his time and will to explain, and I understood the fact.
I think that sharing what's happened -or at least what I've understood- with the community can be helpful for anyone whi can occur in a situation like this and have no clue about the failed sell.

First thing to consider:
Last Price is a tricky number. It shows the last closed contract, but is not mandatory correlated to BID/ASK markets. So if a currency have a wide spread between bid/ask, LP have little meanings. That was not the strict case, since market was rising so LP was accepted for sure, but is a statement that has to be remembered.

Most important thing, and directly involved in this situation:
GunBot has a built-in Trend Watcher.
This means that the Bot will consider your parameters but, as stated, try the "or better" chanche of it.

Let's have a look.

Cycle 15: Bot sees that LP was < than Price To Buy, and Price is growing.
So the BOT tried to compile the buy order. Imho, if the Price was falling, maybe the BOT should have waited for buying better, but that's only my supposition with no consistency in this example.

Cycle 24: the key reasoning of GB!

2017/07/11 20:47:50   price  grows (1)
2017/07/11 20:47:50   PriceToBuy,12.9357,priceToSell,13.3500
2017/07/11 20:47:50   we have altcoins: 3.78248927
2017/07/11 20:47:50   LP 13.3501,>=,prSell 13.35  secMargin 0.0005334306086956521  falls no
2017/07/11 20:47:50   price to sell: ,0.001335
2017/07/11 20:47:50   price is sweet
2017/07/11 20:47:50   price is not falling

As you can see, LP fulfill the prSell... BUT GunBot sees that Price is growing, so decided to NOT sell and try to get a better price. Also, Gunthar said me that even if not showed in the log, GunBot also looks at Volume of trading, and if it's growing or reducing.

Cycle 25:

2017/07/11 20:49:08   price  grows (2)
2017/07/11 20:49:08   PriceToBuy,12.9363,priceToSell,13.3501
2017/07/11 20:49:08   we have altcoins: 3.78248927
2017/07/11 20:49:08   LP 13.420000000000002,>=,prSell 13.3501  secMargin 0.0005334545  falls no
2017/07/11 20:49:08   price to sell: ,0.00133501
2017/07/11 20:49:08   price is sweet
2017/07/11 20:49:08   price is not falling

Now you see that Price to Sell has been updated at Cycle 24 Last Price, so GunBot try to get a better deal.
That's why GB see a market with Growing Price (and probably Volumes not reducing) so with a possible better deal that required.

Also in the following Cycles, PrSell updates itself to former cycle's last price. So basically the bot is "ignoring" my modest 1% requested gain and try a better deal for me, with ofc increased gains.

Cycle 34:

2017/07/11 21:00:12   price  steady (0)
2017/07/11 21:00:12   PriceToBuy,12.9755,priceToSell,13.6999
2017/07/11 21:00:12   we have altcoins: 3.78248927
2017/07/11 21:00:12   LP 13.6853,<,prSell 13.6999  secMargin 0.0005350707878787878  falls no
2017/07/11 21:00:12   price is too low to sell

Price is no more increasing, but fall a bit but is a so little correction that is considered steady.
Bot decided to stay.

Later on, price falls HARDLY (we can consider a mini-dump) and Bot is taken off guard.
LP reconsider itself on the former one, 'cause is still over the minimum parameter I set, but found no matching during the dump.

Cycle 40:

017/07/11 21:07:55   price  steady (0)
2017/07/11 21:07:55   PriceToBuy,12.9798,priceToSell,13.4510
2017/07/11 21:07:55   we have altcoins: 3.78248927
2017/07/11 21:07:55   LP 13.5984,>=,prSell 13.451046  secMargin 0.0005352510769230769  falls no
2017/07/11 21:07:55   price to sell: ,0.0013451046
2017/07/11 21:07:55   price is sweet
2017/07/11 21:07:55   price is not falling

Here I can say that there's the only doubt left open in our chat, because I don't understand why BOT has not sell after a Rise and a Fall. As Gunthar said, there are some evalutation done on the array of +/- about Price and Volume.

Later on, the Dump continues and bot is Game Over.
I placed a manual order and stop.
Actually indeed, knowing how bot works, I would let it go no matter what.

Looking at the logs, Gunthar confirmed me that if Price had not fallen so rapidly, is sure that GB would have fulfilled a sale, and also I have to point out that I've never ever thought that GB is broken or doesn't work.

Finally, the point in this story is Trend Watcher, that has not sold at my parameter because he was doing better, but was taken on surprise by the dump.
I'm sure that for a missed spot like this, in many other spots it would create sweet extra-gains that compensate or even better, but I'm also aware that -like ME- many other should not catch Trend Watcher workout immediately.

Gunthar said me that in the next release, TW will be optionally turnable on/off, so ppls can decide to resign possible extra gains by having their parameters as mandatory no matter what the market is going, but at least avoiding any possible harsh falls.

PS: Gunthar, if you read this ... if I manually switched to PINGPONG SELL strategy placing in Sell Price the Last Price while Market was rising (so no problem in fullfilling the order), will Trend Watcher overrid also with this strategy or instead PingPong is Mandatory?

That's all, folks.
Take not of this knowledge.