Last active
January 3, 2018 09:49
-
-
Save KryptoGB/ebe716caf0e7970630ef67ccd12c2872 to your computer and use it in GitHub Desktop.
Krypto's "DOUBLE_UP" Exploit for Stepgain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are reading this right now you probably know that Gunbots "DOUBLE_UP" averaging feature currently doesn't work with Stepgain. | |
This exploit uses MIN_VOLUME_TO_SELL as a workaround to get a single "DOUBLE_UP" while using the Stepgain strategy. | |
This has only been tested on 5.0.4 though it should apply to 4.0.5 as well. | |
While this should work for other strategies, I've not tested it personally. (edit: BB is Confirmed.) | |
Hit me up on Telegram in TheBotFather or Gunthy Elite channel if you can confirm/deny it working for other versions and strategies. | |
To get this working in your config we only need to mess with 2 variables "BTC_TRADING_LIMIT" and "MIN_VOLUME_TO_SELL" | |
"MIN_VOLUME_TO_SELL" is a setting that was implemented so gunbot would ignore dust (tiny leftover amounts) on the exchanges | |
By setting MIN_VOLUME_TO_SELL to X% below BTC_TRADING_LIMIT we can trick the bot into thinking this amount is dust and to execute a | |
"DOUBLE_UP" trend watcher when the pair drops below X% | |
In the following example our MIN_VOLUME_TO_SELL will be set to 10% less than our BTC_TRADING_LIMIT meaning that when | |
a pair loses 10% of it's value it will start a trend watcher to find another buy opportunity. | |
"BTC_TRADING_LIMIT": 0.0010, | |
"MIN_VOLUME_TO_SELL": 0.0009, | |
Results at 10% have been pretty good for most pairs. Feel free to tweak, test and share your results with me on Telegram | |
Be sure to change STOP_LIMIT setting to reflect this new "DOUBLE_UP" if you are running it on all your pairs. In the above example | |
we would want to set STOP_LIMIT to 11 or more to give the trend watcher room to work. | |
Did this tip help you? Send me beer money! BTC: 1Per7XsUsCUv4zWNPnrHUizDQX33XxVvKL | |
Or msg me on Telegram @KryptoGB if you want to tip me in any coin available at Bittrex. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great work!
but is EMA1 +2 really a multiple of data samples and not of 5min candles??
"EMA1": 200, (last 200 samples (1h40m) of data to calculate EMA1)
"EMA2": 50, (last 50 samples (25m) for EMA2)