Username: Password:

Author Topic: OK my gunbot just bought at the top of a bump.. please help  (Read 18693 times)

Offline Doc

  • Rookie
  • *
  • Posts: 35
    • View Profile
https://snag.gy/zcOj4s.jpg
Code: [Select]
2017/06/07 18:59:41 ###[ --2017/06/07 18:59:41--poloniex--BTC_BURST  --  Gunbot v3.3 cycle #5573 --------------- ]
2017/06/07 18:59:41 ::::: collecting market data...
2017/06/07 18:59:42 ***************************************************
2017/06/07 18:59:42 EMA1:0.00000619 - EMA2:0.00000634
2017/06/07 18:59:42 ***************************************************
2017/06/07 18:59:42 STEPGAIN price to buy 0.00000619 -- GAIN price to buy 0.000006211632000000003
2017/06/07 18:59:54 2017/06/07 18:59:54 Error: statusCode 422
2017/06/07 18:59:54 !!! Cycle 5574 failed. Will repeat in 23s
2017/06/07 19:00:17 ###[ --2017/06/07 19:00:17--poloniex--BTC_BURST  --  Gunbot v3.3 cycle #5574 --------------- ]
2017/06/07 19:00:17 ::::: collecting market data...
2017/06/07 19:00:30 ***************************************************
2017/06/07 19:00:30 EMA1:0.00000606 - EMA2:0.00000629
2017/06/07 19:00:30 ***************************************************
2017/06/07 19:00:30 STEPGAIN price to buy 0.00000619 -- GAIN price to buy 0.000006211632000000003
2017/06/07 19:00:45 LP 0.00000618  Bal.BTC 0.61505343  Bal.BURST 0(0)
2017/06/07 19:00:45 No open orders
2017/06/07 19:00:45 boughtPrice 0.00000599
2017/06/07 19:00:45 price  grows (8)
2017/06/07 19:00:45 PriceToBuy,0.0619,priceToSell,0.0619
2017/06/07 19:00:45 LP 0.0618000,<=,prBuy 0.0619000  secMargin 0.0000056905  grows yes
2017/06/07 19:00:45 no altcoins: 0
2017/06/07 19:00:45 price to buy: 0.00000619
2017/06/07 19:00:45 price is sweet to buy
2017/06/07 19:00:45 price is growing
2017/06/07 19:00:45 Buying on poloniex 5663.430920711975 of BURST for 0.00000618
2017/06/07 19:01:04
2017/06/07 19:01:04 *** MARKET CALLBACK | buy 5663.430920711975 BURST for 0.00000618 BTC
2017/06/07 19:01:04 Gunbot callback at 2017/06/07 19:01:04 cycle # 5574
2017/06/07 19:01:04 Callback:
2017/06/07 19:01:04 ---------
2017/06/07 19:01:04 buy 5663.430920711975 BURST for 0.00000618 BTC
need faster: no
need slower: no

2017/06/07 19:01:04 next delay will be 53s




if the problem are the 422s then help me with those because I have a lot. only 5 couples together

allpairs
Code: [Select]
var config = {
BOT_SLEEP_DELAY:(1000)*53,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*23, // bot repeat cycle delay if previous cycle failed  (koef*sec)
BUYLVL1: 2,
BUYLVL2: 6,
BUYLVL3: 40,
SELLLVL1: 1.5,
SELLLVL2: 3,
SELLLVL3: 70,
BUY_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
SELL_STRATEGY: 'STEPGAIN', // accepted values BB or STEPGAIN or GAIN or PINGPONG
BTC_TRADING_LIMIT: 0.035,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 5, // sell all balance if currency decreases x% after you bought it
POLONIEX_KEY: 123
POLONIEX_SECRET: 456
};
 
module.exports = config;
rest is default

« Last Edit: June 07, 2017, 08:37:55 PM by Doc »

Offline Doc

  • Rookie
  • *
  • Posts: 35
    • View Profile
Re: OK my gunbot just bought at the top of a bump.. please help
« Reply #1 on: June 07, 2017, 08:53:06 PM »
it is not a latency problem
Code: [Select]
PING poloniex.com (104.20.12.48) 56(84) bytes of data.
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=1 ttl=61 time=0.510 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=2 ttl=61 time=0.390 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=3 ttl=61 time=1.17 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=4 ttl=61 time=0.552 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=5 ttl=61 time=0.676 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=6 ttl=61 time=0.408 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=7 ttl=61 time=0.448 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=8 ttl=61 time=4.01 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=9 ttl=61 time=0.681 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=10 ttl=61 time=0.433 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=11 ttl=61 time=0.473 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=12 ttl=61 time=0.520 ms
64 bytes from 104.20.12.48 (104.20.12.48): icmp_seq=13 ttl=61 time=0.590 ms
^C
--- poloniex.com ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12018ms
rtt min/avg/max/mdev = 0.390/0.836/4.015/0.938 ms

Offline nixxda

  • Rookie
  • *
  • Posts: 17
    • View Profile
Re: OK my gunbot just bought at the top of a bump.. please help
« Reply #2 on: June 08, 2017, 08:00:57 PM »
Looks perfectly reasonable to me! Maybe it should have bought lower but together with a few bad cycles...?!
also 2% is not much on an coin which is traded at "only" a few hundred Satoshi.
And last but not least, right now your bot has the second chance to sell at a gain! So whats the problem??! 8)