Username: Password:

Author Topic: My Gunbot 5.0.4 is not making any buy or sell  (Read 8464 times)

Offline oskaka

  • Rookie
  • *
  • Posts: 4
    • View Profile
My Gunbot 5.0.4 is not making any buy or sell
« on: September 17, 2017, 11:19:07 AM »
Hello people, im very noob with this bot and i dont have any Code idea, so its been a little bit difficult to me to understand this bot. But i think i have it configured but its not making any buy or sell. Every time the price coin reaches Buy or Sell level, the bot just set it lower or higher and it doesnt do the operation,
I let 12 hours running and he only bought 3 PAY, total 0.001 BTC, when the limit is set to 0.08 oer trade. I really dont understand. If you dont mind, i let the code for you to see if there is something weird or wrong why my bot is not doing anything.

{
   "pairs": {
      "bittrex": {
         "BTC-PAY": {
            "strategy": "bb",
            "override": {}
            },
            
            "BTC-ARK": {
                "strategy": "bb",
                "override": {
"DOUBLE_UP": true,
"HIGH_BB": 45,
"LOW_BB": 45
}
            },

            "BTC-LSK": {
                "strategy": "bb",
                "override": {
"HIGH_BB": 15,
"LOW_BB": 15
}
            }
      }
   },

   "exchanges": {
      "poloniex": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      },
      "kraken": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      },
      "bittrex": {
         "key": "-----",
         "secret": "-----"
      },
      "cryptopia": {
         "key": "YOUR_API_KEY_HERE",
         "secret": "YOUR_SECRET_KEY_HERE"
      }

   },

   "bot": {
      "debug": false,

      "period_storage_ticker": 2000,
      "interval_ticker_update": 25000,

      "timeout_buy": 60000,
      "timeout_sell": 60000,

      "WATCH_MODE": false,
      "VERBOSE": true,
      "TV_GAIN": 0.6,
      "TV_TRADING_LIMIT": 0.001,
      "BOT_DELAY": 1
   },

   "ws": {
      "port": 5001
   },

   "imap_listener": {
      "enabled": false,
      "authorized_froms": ["noreply@tradingview.com"],
      "user": "YOUR_EMAIL_HERE",
      "password": "YOUR_PASSWORD_HERE",
      "host": "imap.gmail.com",
      "port": 993,
      "tls": true,
      "tlsOptions": {
         "rejectUnauthorized": false
      }
   },

   "strategies": {
      "bb": {
         "BTC_TRADING_LIMIT": 0.08,
         "PERIOD": 15,
         "EMA1": 2,
         "EMA2": 4,
         "GAIN": 2,
         "HIGH_BB": 25,
         "LOW_BB": 25,
         "STDV": 2,
         "SMAPERIOD": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "gain": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "BUY_LEVEL": 2,
         "GAIN": 2,
         "EMA1": 200,
         "EMA2": 50,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "pp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PP_BUY": 0.00000001,
         "PP_SELL": 0.12345678,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "stepgain": {
         "BTC_TRADING_LIMIT": 0.02,
         "PERIOD": 15,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "BUYLVL": 2,
         "SELLLVL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "bbgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.6,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "gainbb": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUY_LEVEL": 2,
         "GAIN": 0.6,
         "HIGH_BB": 45,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "bbstepgain": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "SELLLVL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "stepgainbb": {
         "BTC_TRADING_LIMIT": 0.001,
         "PERIOD": 15,
         "HIGH_BB": 49,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "BUYLVL": 2,
         "GAIN": 0.6,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "bbpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.1,
         "HIGH_BB": 40,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PP_SELL": 0.12345678,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "ppbb": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 0.1,
         "HIGH_BB": 40,
         "LOW_BB": 40,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PP_BUY": 0.00000001,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "gainstepgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "HIGH_BB": 45,
         "LOW_BB": 45,
         "STDV": 2,
         "SMAPERIOD": 150,
         "PERIOD": 15,
         "SELLLVL1": 0.6,
         "SELLLVL2": 2,
         "SELLLVL3": 70,
         "SELLLVL": 2,
         "BUY_LEVEL": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": true,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001
      },
      "stepgaingain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUYLVL1": 0.6,
         "BUYLVL2": 2,
         "BUYLVL3": 70,
         "BUYLVL": 2,
         "GAIN": 2,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "gainpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUY_LEVEL": 0.1,
         "PP_SELL": 0.12345678,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "ppgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "GAIN": 2,
         "PP_BUY": 0.12345678,
         "EMA1": 200,
         "EMA2": 50,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "stepgainpp": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "BUYLVL1": 1,
         "BUYLVL2": 3,
         "BUYLVL3": 5,
         "BUYLVL": 2,
         "PP_SELL": 0.1,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      },
      "ppstepgain": {
         "BTC_TRADING_LIMIT": 0.01,
         "PERIOD": 15,
         "SELLLVL1": 2,
         "SELLLVL2": 5,
         "SELLLVL3": 10,
         "SELLLVL": 2,
         "PP_BUY": 0.00000001,
         "LASTPOINTS": 5,
         "AVGPOINTS": 250,
         "AVGMINIMUM": 0.00000001,
         "EMA1": 2000,
         "EMA2": 1000,
         "PANIC_SELL": false,
         "DOUBLE_UP": false,
         "STOP_LIMIT": 60,
         "BUY_ENABLED": true,
         "MIN_VOLUME_TO_BUY": 0.001,
         "MIN_VOLUME_TO_SELL": 0.001

      }


   },

   "optionals": {
      "toOverride": {
         "BOUGHT_PRICE": 0.104744

      }
   }


}

edit: the bot just sold 100 LISK i had manualy bought this morning, at the price of 0.001475000 when the market was 0.00148542 so this bot is doing something weird. can you please help me?
Thanks
« Last Edit: September 17, 2017, 11:37:09 AM by oskaka »

Offline Mjmail

  • Rookie
  • *
  • Posts: 15
    • View Profile
Re: My Gunbot 5.0.4 is not making any buy or sell
« Reply #1 on: September 17, 2017, 11:48:24 AM »
I have same problem. 5.0.4 buy and sell nothing...

Offline oskaka

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: My Gunbot 5.0.4 is not making any buy or sell
« Reply #2 on: September 18, 2017, 08:28:20 AM »
I've manually bought some ARK and some LISK at good price.

And the bot, tonight, he sold me all my ark and lisk and then dont buy it back, now the price is much higher but the lost has sold all my tokens :s

Offline sloaleks

  • Contributor
  • **
  • Posts: 610
    • View Profile
Re: My Gunbot 5.0.4 is not making any buy or sell
« Reply #3 on: September 19, 2017, 07:28:00 AM »
Its all up to the pairs, not the bot. I runs the way you set it. Firstly, it runs with a gain of 2, which ATM is a bit unrealistic (untill the BB are calculated with enough data). Secondly, the bot's Bollinger bands don't correspond exactly to what you are showed on your exchange. You may see a buying opportunity, the bot doesn't. Synching BBs is a feat I have not accomplished yet, so I turned to setting BBs closer together and making gain only a half % plus fees. Like 45vs45, with gain set to 0.85 for instance. No doubling up. Double up is an averageing tool to be used on coin drops. It as was still not predictable enough (tho a simple setting still getting me some profit), so I learned to use stepgain and just wait for the bot to make it+s thing. I now get fewer trades, but still getting about 1 percent a day. This is quite an accomplishment for me, but there are gurus making way more.

Offline XferSX

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: My Gunbot 5.0.4 is not making any buy or sell
« Reply #4 on: September 20, 2017, 03:32:19 PM »
I've manually bought some ARK and some LISK at good price.

And the bot, tonight, he sold me all my ark and lisk and then dont buy it back, now the price is much higher but the lost has sold all my tokens :s

Don't manual trade on a pair GB is watching. Use a different account.

AFAIK Gunbot will use "gain" strategy until it has enough price data to calculate BB's. This looks like why it bought 0.001

Offline paramecie

  • Contributor
  • **
  • Posts: 302
    • View Profile
Re: My Gunbot 5.0.4 is not making any buy or sell
« Reply #5 on: September 20, 2017, 04:16:03 PM »
>Don't manual trade on a pair GB is watching. Use a different account.

No, that's really not a problem with 5.0.4, I did tens of trades, no worries.


>AFAIK Gunbot will use "gain" strategy until it has enough price data to calculate BB's. This looks like why it bought 0.001

I think that was 3.x or 4.x
In 5.x it doesn't seem to work like this.


But the major problem is here, will be fixed in 5.0.5:
https://github.com/GuntharDeNiro/BTCT/issues/131


And of course, in very first, the good choice of pairs, investment, strategies, settings...


HTH?