Skip to content

Release Candidate v3.3.3 - Poloniex/Bittrex - All OS - Code name: "Autopilot"

Pre-release
Pre-release
Compare
Choose a tag to compare
@GuntharDeNiro GuntharDeNiro released this 25 Jul 16:42
· 121 commits to master since this release

This is a major release introducing new concepts both in core and strategies. Starting by this release, Gunbot devs family is now bigger: @raffaeledonadono is now caring about the "core-engine" while i am focused on the "strategies" part of the code. This new devs structure will allow us to stay focused on the different parts of the code while double checking each other code with doubled security and coding accuracy.
Please: continue to forward all support requests to me, tho, thank you.

  • The final release will aim to:

    • Make Gunbot able to run as many pairs and as many exchanges as you want in one single process using a very low amount of RAM and CPU
    • Solve all past reported bugs
    • Give new Technical Analysis instruments for an advanced trading experience
    • Give a real cross-platform package including GUI for *nix/OSX/arm
    • Give Gunbot real-data from exchanges with no limit to "bot timing"
    • Give 3rd parties devs a Websocket API to build plugins
    • Give Gunbot capability to work as a live data-hub for 3rd parties software
    • Give end-users capability to build their own strategies based on TA indicators
  • This Release Candidate aims to:

    • Give existing customers a tool to liquidate their altcoin holdings with profit and give new liquidity to their Gunbot to continue trading at new price levels (healing from recent cripto-crashes)
    • Give a preview and receive feedbacks for a community-driven final release
  • This Release Candidate is able to:

    • Run all your pairs in one single console for Poloniex and Bittrex exchanges
    • Average down your "bought price" from existing "bags" and sell them at profit in 24/48 hours
    • Continue to trade all your pairs without creating "bags" or liquidating them at lower levels (with profit) if the value of the altcoin dropped below the bought price.
    • Fetching real data from Poloniex and Bittrex exchanges: you can now see the same values than exchanges for indicators (BB, EMA, etc). If Gunbot restarts, the indicators data will NOT be lost.
    • Trade all your pairs with a real and effective BB and GAIN strategy (SG and other strategies to be completed in a patch)
    • Deprecate bot timing: we are now "live" on the exchange and we run following microseconds tickers updates from exchanges
    • Fix all bugs reported in v3.3.2: double buys, wrong indicators, wrong priceToBuy/priceToSell calculations
      included all 422 errors, stuck instances etc
    • Added TA indicators capability
    • Added "watch mode only" and "panic sell" mode: first mode would run gunbot without trading, second one would sell all altcoin at actual market price (WARNING: it might be at loss).
  • How to run v3.3.3 from existing v3.x

    • Disclaimer: v3.3.3 is backward compatible with any existing trades/balances. - v3.3.3 config files are NOT backward compatible
    • Step-by-Step instructions:
  1. The concept: one of the main issues of Gunbot old versions, was to be unable to follow the price flow during up and down levels swings. If BB and EMA moved to new low levels and you bought during the previous price level timeframe, you would end with the unfamous "bags" in your portfolio. Despite we all "luv" bags because they represent cheap coins we were able to buy, if market conditions keep being bearish, "bags" would engulf our portfolio with unsold coins, hence missed trades because of low primary coin liquidity. The v3.3.3 "Autopilot" version, solves this issue with a simple wise move: averaging down your bought price and selling all "bags" at a profit in a short-term time frame, giving so new liquidity to your Gunbot and making it able to continue its profitable strategy on the new market level.
  2. How it works: the leading indicators are still BB. Now we use live data from exchange so we can trick BB at a reliable value, same than exchanges. I tested this strategy with SMA: it triggers the average-buy order TOO EARLY, do not use SMA for this strategy!!
    See the following scenario:
    • Your last buy order for coin X was at 0.001;
    • HighBB was at 0.0014;
    • Bear come in the scene and price drops to 0.00083 and now HighBB is at 0.00094;
    • Because HighBB value (0.00094) dropped below your last bought price (0.001), Gunbot buys again SAME AMOUNT OF COIN X
    • We have now a new "bought price" at (0.001+0.00083)/2=0.00091 with an HighBB at 0.00094: WE CAN SELL AT PROFIT VERY SOON!!!
  3. What you need to do to autostart this on your existing bags?
    The Release Candidate is already configured to start this automatically on your existing bags. The only thing you need to configure are pairs you want to run on this. Let's see some config file format:
    • We are still without GUI so you will need to understand how the config file is structured: it is a json file
    • Sections in the config.js file need their synthax:
      Exchanges/Pair section

"pairs": {
"poloniex": {
"BTC_XMR": {
"strategy": "bb",
"override": {}
},
"BTC_ETH": {
"strategy": "bb",
"override": {}
},
"BTC_ETC": {
"strategy": "bb",
"override": {}
}
},

  "bittrex": {
  	"BTC-LTC": {
  		"strategy": "bb",
  		"override": {}
  	},
                 "BTC-PIVX": {
  		"strategy": "bb",
  		"override": {}
  	}
  }

},

As you can see it is a simple json file but we need to respect commas, quotes and parenthesis format inside it. The tree is like this:

PAIR SECTION > EXCHANGE > PAIR LIST

If you have any doubt you can contact me for assistance about the right synthax to use or you can open config.js file with Notepad++ using its embedded code highlight feature.

Strategies section
The strategy section is preconfigured to start averaging down when it is needed and sell pretty much immediately with 0.6% of profit: if follows BB in buy (unless TRAILING STOP enters the scene) and then sells at 0.6% with GAIN (notice the highBB setting is at 60 to not override GAIN). Start like this to get rid of your bags and let it run for 1 or 2 days. You will see your bot coming back to life on your poloniex/bittrex trading history (and balance). When you are satisfied of your bags recovering, switch highBB setting at 40 or below at desired levels: you will meet a new GUNBOT: emotionless, continuosly profitable, despite the coins swings.
Example of strategy to get rid of bags

"strategies": {
"bb": {
"PERIOD": 15,
"BUY_LEVEL": 0.1,
"GAIN": 0.6,
"HIGH_BB": 60,
"LOW_BB": 40,
"PANIC_SELL": false
}

Change to this configuration once you got rid of your bags

"strategies": {
"bb": {
"PERIOD": 15,
"BUY_LEVEL": 0.1,
"GAIN": 0.6,
"HIGH_BB": 40,
"LOW_BB": 40,
"PANIC_SELL": false
}

Disclaimer: you need capital to average down. Rather you are able to deposit more bitcoin at your exchange account or you need some immediate liquidity from existing bags. How much capital or how much liquidity you need to start using this strategy? Same amount in BTC (or primary coin) of one of your bags: say you have a list of 10 bags > deposit BTC (or primary coin) amount equal to ONE OF YOUR BAGS HOLDING VALUE IN BTC (i.e. if one of your bags is ETH and its value in BTC is 0.02BTC: deposit 0.02BTC), or sell one of your bags (any of your choice) at market price so to give your account an immediate liquidity, if you are unable to deposit more BTC (or primary coin). You dont need to deposit a lot of BTC (or primary coin) to average down your bags: it is enough to cover just one bag only and your GUNBOT will start a chain of bags-recovering, getting liquidity as it sells your bags. Keep this in mind by now on when you use GUNBOT: dont use all your capital, GUNBOT will need a reserve in case averaging down is needed because market conditions.

  1. How to start GUNBOT
  • Windows: compile the config.js file and double click on gunthy.exe
  • Linux/MacOs: compile config.js file and run ./gunthy

I'm pretty sure a lot of questions will come out and i'm looking forward to all of you bugging me 24/7 on forums and Telegram...but this is why we love GUNBOT!

Please report any bag immediately!!! ;)
Thanks!
~Gun