About Gunbot strategies

A strategy in Gunbot is a collection of settings that can be assigned to one or more trading pairs. These pairs will then trade according to the assigned settings. The most important factors of a strategy are the buy and sell methods, these define the logic for buy and sell orders.

Gunbot has 15 different methods for executing buy and sell orders. These can be freely combined, where one method is being used for buying and another for selling.

Each method has it's own wiki article describing the exact logic and explaining all available strategy parameters.

Trading methods

Method names are case sensitive.

Keep in mind that not all combinations of buy/sell methods are a good match to use together with trailing or certain confirming indicators.

For example using MACD , which triggers only in cycles where the MACD line crosses the signal line, together with Stochastic (in cross mode, which also only triggers in cycles with an indicator cross) as confirming indicator is a bad combination because both MACD and Stochastic must cross in the same cycle - very much reducing your opportunities for a trade.

Protections

Indicator based sell methods generally have no protection against selling below break-even point. Some buy methods allow for pyramid buying.

See the table below for details about protections/constraints per method.

Method Allows for pyramid buying? Protection against buying above EMA? Protection against selling below break-even point? ADX no no no ATRTS no no yes bb no yes yes BBTA no no no EMASPREAD no no no emotionless no yes yes gain no yes yes ichimoku no no no MACD yes no no MACDH yes no no pp no no no SMACROSS yes no no stepgain no yes yes tsa no no yes tssl no yes yes

Using overrides

Settings for strategies are global, and apply to all pairs that you set to run on this strategy. When you need to make changes in the strategy settings for individual pairs, you can configure this using overrides for these pairs.

On the pair level you can define exceptions for parts of a strategy. You could for example use a higher TRADING_LIMIT on a pair that you see particular potential in. The following example does just that.

" BTC-ADA " : { " strategy " : " stepgain " , " enabled " : true , " override " : { " TRADING_LIMIT " : 9000.00 , }

This example shows how the override looks in the config file. Overrides can also be added easily with the GUI.

Strategy naming

You can create multiple variants of the same strategy, and give them an own name.

For example, you could save a second stepgain strategy under a different name - just make sure the BUY_METHOD and SELL_METHOD parameters matches one of the availabe strategies listed on top of this page.

" Bullish-stepgain " : { " BUY_METHOD " : " stepgain " , " SELL_METHOD " : " stepgain " , ... }

The pair syntax to use this strategy would then look like:

" BTC-ADA " : { " strategy " : " Bullish-stepgain " , " enabled " : true , " override " : { }, }

These examples show how this looks the config file. Creating strategies can be done easily with the GUI.