Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: wiseold on September 06, 2017, 06:08:40 AM

Title: 4.0.5 definitive settings?
Post by: wiseold on September 06, 2017, 06:08:40 AM
Hi All,
Have been new to gunbot for a number of days now, trying and experimenting with many versions, using Linux.
I have been enjoying the config.js format since 3.3.3, and have been concentrating on 4.0.5., and trying various versions between the two. I see lots of reports of certain strategies not working as advertised on 4.0.5
I note that the default strategies in the config.js files as shipped between these various versions are all a little inconstant. EMA values, lines missing etc.

Was wondering if anybody has a known good configuration for 4.0.5. I see there is an example for 4.0.2, this is where my confusion started.

Could this be why some people not having much luck with 4.0.5??

Thanks in advance
Cam
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 06, 2017, 06:37:18 AM
For the short time I used it (had to remove capital to pay some bigger bills) I got the fastest results on the 4.0.5. I traded pure BB. Added two EMA lines to the strategy (no big deal), killed double up and set a little differently on gain. Got some behaviour that seemed strange at first, but it played out in profit after all.
Title: Re: 4.0.5 definitive settings?
Post by: wiseold on September 06, 2017, 06:44:12 AM
I see - curious to what your actual EMA and gain numbers are/were. I see a huge range that people use across the versions
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 06, 2017, 08:04:52 AM
Mine is like so. Don't take this as gospel, it worked for me. The settings are almost standard, like in the downloaded config. The EMA settings numbers I got from some posts here on the forum. I suggest strong pairs (no shitcoins). See how it plays out, but leave it on at least some time. I didn't shit my pants when on the rare occasion the bot bought after a sale on the way up, because at the end it cleared in profit. (YMMV, some users say this strategy is risky on 4.0.5., and I may have been lucky)

"strategies": {
      "bb": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.85,
         "EMA1": 4,
         "EMA2": 2,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
Title: Re: 4.0.5 definitive settings?
Post by: wiseold on September 06, 2017, 08:44:59 AM
Many thanks, anybody else want to chime in with opinions/numbers?
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 06, 2017, 09:09:15 AM
It played well on pairs with strong 24h volumes (like ETH, LTC, XMR vs. BTC). Less so on coins like REP and GNO with low-ish 24 h volumes. OTOH, it might have been just luck.
Title: Re: 4.0.5 definitive settings?
Post by: wiseold on September 06, 2017, 09:13:50 AM
Another question - what are the EMA "units" in 4.0.5? Same as all of the other versions? I thought it had been changed at some point.....
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 06, 2017, 10:34:43 AM
Copied from v4.0.2 Instructions:

Given the following array we collect from "Tickers":
•"period_storage_ticker": 300, //we collect an array of 300 prices
•"interval_ticker_update": 25000, //we collect one price every 25000 ms (25 seconds)
 These are the used variables in the Trend Watcher formula:
•"LASTPOINTS": 1, //How many elements should be taken from the end of the array to calculate the last point.
•"AVGPOINTS": 10, //How many elements should be taken to calculate an average.
•"AVGMINIMUM": 0.00000001, //Ignore (i.e. return null) if the average is below a minimum
 -"EMA1": 200, //We use the latest 200 prices of the 300 collected as EMA1 (Each one every 25seconds - see above)
 -"EMA2": 50, //We use the latest 50 prices of the 300 collected as EMA2 (Each one every 25 seconds - see above)
•"PERIOD": 15, //We use 15 minutes candlesticks in the EMA formula
Title: Re: 4.0.5 definitive settings?
Post by: wiseold on September 06, 2017, 11:24:19 AM
Interesting, "period_storage_ticker" in the default 4.0.5 config is 2000

Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 06, 2017, 12:26:08 PM
I don't know if you have seen this, another forum member posted his settings and also claims to have had good success. I have saved this "for science".
(sorry "member" I don't remember your nick to credit you, but please chime in if you happen to read this)

"BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.6,
         "HIGH_BB": 40,
         "LOW_BB": 30,
         "EMA1": 4,
         "EMA2": 2,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.0005,
         "MIN_VOLUME_TO_SELL": 0.0005

ATT: Doubling up is enabled here.
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 07, 2017, 09:24:22 AM
found him! these are cavemans settings. second version:


         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.6,
         "HIGH_BB": 45,
         "LOW_BB": 25,
         "EMA1": 2,
         "EMA2": 4,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.0003,
         "MIN_VOLUME_TO_SELL": 0.0003

He made one change to that latest config: changed Low BB to 30. This is the good mans post:https://gunthy.org/index.php/topic,1131.0.html (https://gunthy.org/index.php/topic,1131.0.html)

Title: Re: 4.0.5 definitive settings?
Post by: BitFlipp4r on September 07, 2017, 10:19:12 AM
Shouldn't EMA1 be higher than EMA2? (see https://github.com/GuntharDeNiro/BTCT/issues/54)
Title: Re: 4.0.5 definitive settings?
Post by: sloaleks on September 07, 2017, 04:58:57 PM
To be honest, I'm not sure. Still have not figured it out, at least not the nuances. As mentioned, I picked up those EMA settings from the forum here. There wasn't any explanation I'm aware of, just, you know, set it up like this.
Title: Re: 4.0.5 definitive settings?
Post by: TenaciousJ on September 10, 2017, 06:33:32 AM
All the other strategies in the config.js file list the longer EMA is first (200/50, etc.)