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

Pages: [1]
1
Technical Support & Development / Re: Error: Missing boughtPrice
« on: September 15, 2017, 02:42:47 AM »
I am getting this error on 5.0.4 for several pairs.

How do I manually override it in config.js?

2
In that particular example it's not buying because it's waiting to see if the price continues to drop.  It shows 4 price drops and that the price isn't growing, so it wants to wait and see if it can buy at a better price.

3
General Discussion / Re: Feature request - Pair Chooser
« on: June 30, 2017, 01:59:45 AM »
I agree.  This was a feature in 3.2 but is not in 3.3 for some reason.

4
General Discussion / Re: How did I go wrong here?
« on: June 30, 2017, 01:58:21 AM »
In the screenshot you have the max balance to trade set as 250 BTC.

5
Gmon crashes after a couple hours of running, this error appears and I don't know how to fix it.  Running on Ubuntu, 71% memory used, 6% CPU load, 12 pairs on Polo.  I am able to restart gmon, but it will crash again in a couple hours;

events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: spawn netstat EMFILE
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

6
I installed it on Ubuntu and it was running fine last night, today it crashed.  When I try to restart ginit I get this error:

? Select the trade pair currencies you want to automatically start right now: SC
 conflict ALLPAIRS-params.js
? Overwrite ALLPAIRS-params.js? overwrite
    force ALLPAIRS-params.js
   create poloniex-BTC_SC-config.js
ERROR! - There was an error starting GUNBOT for BTC_SC:
1

I'm just trying to start it w/ 1 pair.

EDIT:

Tried this and it seems to be working now:

The nasty one

Sometimes the PM2 God Deamon got detached from your (root-)user and you will see an empty list if you enter 'gl' BUT if you run 'pgrep -f BTC_XXX' you will see a id a result.

So the Gunbot is running but pm2 does not want to see it.

You need to kill the PM2 God Deamon, and remove the content in ~/.pm2/:

Code: [Select]
pgrep -f PM2 | xargs kill -9

Wait like 2 to 5 min till all Gunbots also stopped.
Check if there are running Gunbots
Code: [Select]
pgrep -f gun
If the dont stop, also kill them
Code: [Select]
pgrep -f gun | xargs kill -9

Now remove the content of ~/.pm2/
Code: [Select]
rm -r ~/.pm2/*

And run run 'ginit' again.

7
Gunthar, after our discussion on Telegram and your explanations, I have set the following in ALLPAIRS:

   MAX_LATEST_PRICES:100,
   MAX_LATEST_DIRECTIONS:30,
   MAX_LATEST_PRICES_TREND:100,

I am now getting "expected" percentages, here are percentages from the last 3 days trades:

4.15%
2.66%
4.82%
1.68%
10.56%
2.58%
7.93%
25.08%
3.12%
8.82%
3.42%
4.66%
9.06%
5.23%
2.59%
5.18%
7.76%
5.93%
4.89%
3.79%
6.55%
3.58%

Thanks a lot for your patience and your kind and detailed explanation, much appreciated !

Philippe "Clannad"
I am assuming you do this by adding those lines on ALL PAIRS?
Secondly, if you do so, do these override the settings on the pair-config?

Yes to both questions

8
Technical Support & Development / Re: Bugs/Issues tracker v3.3.2
« on: June 18, 2017, 03:50:53 AM »
Bot sold at a loss today using Stepgain/Stepgain w/ default settings, pics below and a copy of the log.  It bought, and then before it sold it showed the bought price as much lower than what it actually recorded the buy price at.  It also records the sold price incorrectly.






Log: 

collecting market data...
2017/06/17 21:04:09   ***************************************************
2017/06/17 21:04:09   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:04:09   ***************************************************
2017/06/17 21:04:09   STEPGAIN price to buy 0.01238497 -- GAIN price to buy 0.012398546864666665
2017/06/17 21:04:12   LP 0.01238493  Bal.BTC 0.22190022  Bal.FCT 0(0)
2017/06/17 21:04:12   No open orders
2017/06/17 21:04:12   boughtPrice 0.01064075
2017/06/17 21:04:12   price  grows (1)
2017/06/17 21:04:12   PriceToBuy,123.8497,priceToSell,123.8497
2017/06/17 21:04:12   LP 123.8493000,<=,prBuy 123.8497000  secMargin 0.0042563  grows yes
2017/06/17 21:04:12   no altcoins: 0
2017/06/17 21:04:12   price to buy: 0.01238497
2017/06/17 21:04:12   price is sweet to buy
2017/06/17 21:04:12   price is growing
2017/06/17 21:04:12   Buying on poloniex 2.4227987130326936 of FCT for 0.01238493
2017/06/17 21:04:15   
2017/06/17 21:04:15 *** MARKET CALLBACK | buy 2.4227987130326936 FCT for 0.01238493 BTC

2017/06/17 21:04:15   Gunbot callback at 2017/06/17 21:04:15 cycle # 1272
2017/06/17 21:04:15   Callback:
2017/06/17 21:04:15   ---------
2017/06/17 21:04:15   buy 2.4227987130326936 FCT for 0.01238493 BTC
need faster: no
need slower: no

2017/06/17 21:04:15   next delay will be 50.859725282304005s


2017/06/17 21:05:05   ###[ --2017/06/17 21:05:05--poloniex--BTC_FCT  --  Gunbot v3.3 cycle #1273 --------------- ]
2017/06/17 21:05:05   ::::: collecting market data...
2017/06/17 21:05:10   ***************************************************
2017/06/17 21:05:10   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:05:10   ***************************************************
2017/06/17 21:05:10   STEPGAIN price to buy 0.01238493 -- GAIN price to buy 0.01239977160333333
2017/06/17 21:05:14   2017/06/17 21:05:14 Error: statusCode 422
2017/06/17 21:05:14   !!! Cycle 1274 failed. Will repeat in 57.35405068845361s
2017/06/17 21:06:12   ###[ --2017/06/17 21:06:12--poloniex--BTC_FCT  --  Gunbot v3.3 cycle #1274 --------------- ]
2017/06/17 21:06:12   ::::: collecting market data...
2017/06/17 21:06:14   ***************************************************
2017/06/17 21:06:14   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:06:14   ***************************************************
2017/06/17 21:06:14   STEPGAIN price to buy 0.01238493 -- GAIN price to buy 0.01239977160333333
2017/06/17 21:06:22   2017/06/17 21:06:22 Error: statusCode 422
2017/06/17 21:06:22   !!! Cycle 1275 failed. Will repeat in 57.35405068845361s
2017/06/17 21:07:20   ###[ --2017/06/17 21:07:20--poloniex--BTC_FCT  --  Gunbot v3.3 cycle #1275 --------------- ]
2017/06/17 21:07:20   ::::: collecting market data...
2017/06/17 21:07:23   ***************************************************
2017/06/17 21:07:23   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:07:23   ***************************************************
2017/06/17 21:07:23   STEPGAIN price to buy 0.01238493 -- GAIN price to buy 0.01239977160333333
2017/06/17 21:07:28   LP 0.01232135  Bal.BTC 0.19189403  Bal.FCT 2.41916452(0)
2017/06/17 21:07:28   No open orders
2017/06/17 21:07:28   boughtPrice 0.01064075
2017/06/17 21:07:28   price  falls (-1)
2017/06/17 21:07:28   PriceToBuy,123.8493,priceToSell,123.8493
2017/06/17 21:07:28   we have altcoins: 2.41916452
2017/06/17 21:07:28   LP 123.2135,<,prSell 123.8493  secMargin 0.0042563  falls yes
2017/06/17 21:07:28   price is too low to sell
2017/06/17 21:07:28   Gunbot callback at 2017/06/17 21:07:28 cycle # 1275
2017/06/17 21:07:28   Callback:
2017/06/17 21:07:28   ---------
2017/06/17 21:07:28   waiting to sell
need faster: no
need slower: no

2017/06/17 21:07:28   next delay will be 50.859725282304005s


2017/06/17 21:08:19   ###[ --2017/06/17 21:08:19--poloniex--BTC_FCT  --  Gunbot v3.3 cycle #1276 --------------- ]
2017/06/17 21:08:19   ::::: collecting market data...
2017/06/17 21:08:22   ***************************************************
2017/06/17 21:08:22   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:08:22   ***************************************************
2017/06/17 21:08:22   STEPGAIN price to buy 0.01232135 -- GAIN price to buy 0.012400756927999995
2017/06/17 21:08:29   LP 0.01232135  Bal.BTC 0.19189403  Bal.FCT 2.41916452(0)
2017/06/17 21:08:29   No open orders
2017/06/17 21:08:29   boughtPrice 0.01064075
2017/06/17 21:08:29   price  steady (0)
2017/06/17 21:08:29   PriceToBuy,123.2135,priceToSell,123.2135
2017/06/17 21:08:29   we have altcoins: 2.41916452
2017/06/17 21:08:29   LP 123.2135,>=,prSell 123.2135  secMargin 0.005061533439999998  falls yes
2017/06/17 21:08:29   price to sell: ,0.01232135
2017/06/17 21:08:29   price is sweet
2017/06/17 21:08:29   price fall -> sell
2017/06/17 21:08:31   [object Object]
2017/06/17 21:08:31   [object Object]
2017/06/17 21:08:31   
2017/06/17 21:08:31 *** MARKET CALLBACK | sell 2.41916452 FCT for 0.01232135 BTC
2017/06/17 21:08:31   Profit 0.0040656478923120016
2017/06/17 21:08:31   Gunbot callback at 2017/06/17 21:08:31 cycle # 1276
2017/06/17 21:08:31   Callback:
2017/06/17 21:08:31   ---------
2017/06/17 21:08:31   sell 2.41916452 FCT for 0.01232135 BTC
need faster: no
need slower: no

2017/06/17 21:08:31   next delay will be 50.859725282304005s


2017/06/17 21:09:21   ###[ --2017/06/17 21:09:21--poloniex--BTC_FCT  --  Gunbot v3.3 cycle #1277 --------------- ]
2017/06/17 21:09:21   ::::: collecting market data...
2017/06/17 21:09:22   ***************************************************
2017/06/17 21:09:22   EMA1:0.01287014 - EMA2:0.01291549
2017/06/17 21:09:22


Pages: [1]