Gunbot-Backtest-settings-explained
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
GUNBOT BACKTEST SETTINGS EXPLAINED
2
ParameterDefault valueDescription
3
General Settings Relevant to all strategies.
4
TRADING_FEES0.25Values: numerical - represents a percentage.
5
This sets the trading fees paid to the exchange. Gunbot uses this data to calculate the break-even point.
6
Does your exchange charge 0.25% fees per trade? Then set this to 0.25. When your exchange has different fees for different types of trades, set the average fees per trade.
7
Trading fees are reflected in the average bought price. Exchanges only calculate fees after the trade comes in, Gunbot needs to know about fees before the trade is sent to the exchange.
8
BUY_METHODbbThe strategy that Gunbot will apply to place a purchase order.
9
SELL_METHODbbThe strategy that Gunbot will apply to place a sales order.
10
PERIODAUTOValues: 1/5/15/30/60 – stands for a Candlestick Period in minutes.
11
This sets the candlestick period used for trading, this affects all indicators within the strategy. Only use supported values.
12
Setting a short period allows you to trade on shorter trends, but be aware that these will be noisier than longer periods.
13
You don't have to change this manually when back testing, it automatically picks up the period you've chosen In Tradingview.
14
BUY_LEVEL1Values: numerical – represent a percentage.
15
This sets entry point for TAKE_BUY at a percentage below the lowest EMA.
16
When you set this to 1, the entry point will be set 1% below the currently lowest EMA.
17
GAIN0.6Values: numerical – represents a percentage.
18
This sets the minimum target for selling. Gunbot will sell once price reaches the set percentage above the break-even point. and HIGH_BB is reached. If you want to have at least 2% profit per trade, set this to 2.
19
EMA 1 (SLOW)16Values: numerical – represents a number of candlesticks.
20
Set this to the amount of candlesticks you want to use for your slow EMA. The closing price for each candle is used in the slow EMA calculation.
21
For example: when you set PERIOD to 5, and want to use 2h for slow EMA – you need to set EMA1 to 24 (24 * 5 mins).
22
EMA 2 (FAST)8Values: numerical – represents a number of candlesticks.
23
Set this to the amount of candlesticks you want to use for your fast EMA. The closing price for each candle is used in the fast EMA calculation.
24
For example: when you set PERIOD to 5, and want to use 1h for fast EMA – you need to set EMA2 to 12 (12 * 5 mins).
25
STOP_LIMIT60Values: numerical – represents a percentage.
26
Sets a stop limit to sell a coin at a calculated loss. After a stop limit sell order has been placed, the bot will go into buying mode after TRADES_TIMEOUT has passed and will buy again when market conditions meet your buying strategy.
27
Setting a stop limit at 60 would make sure that all holdings for a coin are sold when 60% value is lost, compared to the averaged bought price. E.g. average bought price is 100, stop limit is executed at 40 and all assets are sold.
28
ARTX0.5Values: numerical - represents a multiplier for ATR.
29
This value defines the multiplier used for calculation of the lower and upper limits for trading with ATRTS
30
When set to 5, ATR gets multiplied by 5 and the result gets subtracted from next rounds bid & added to next rounds ask to set the limits.
31
ATR_PERIOD14Values: numerical, represents a number of periods.
32
The number of periods used for calculating ATR.
33
STDV2Values: numerical (recommended: between 1.9 and 2.1) - represents a multiplier value used in the bollinger bands calculation.
34
This value defines the multiplier used for calculating Bollinger Bands.
35
SMAPERIOD50Values: numerical – represents a number of candlesticks.
36
This defines the number of periods used for calculating Bollinger Bands.
37
HIGH_BB0Values: numerical – represent a percentage.
38
This sets the target for selling. Negative values are allowed. The bot will sell when price hits the set percentage from the upper Bollinger Band and GAIN is reached.
39
When set to 0, the upper Bollinger Band is the target (well, almost). When set to 30, the target is 30% under the upper Bollinger Band - the lower band is at 100% from the upper band.
40
LOW_BB0Values: numerical – represent a percentage.
41
This sets the target for buying. Negative values are allowed. The bot will buy when price hits the set percentage from the lower Bollinger Band and the price is below the entry point as defined by BUY_LEVEL.
42
When set to 0, the lower Bollinger Band is the target. When set to 30, the target is 30% above the lower Bollinger Band - the upper band is at 100% from the lower band.
43
TENKAN_PERIOD9Values: numerical, represents a number of candlestick periods.
44
Set this to the number of candlestick periods you want to use for calculating Tenkan-sen.
45
KIJUN_PERIOD26Values: numerical, represents a number of candlestick periods.
46
Set this to the number of candlestick periods you want to use for calculating Kijun-sen.
47
SENKOUSPAN_PERIOD52Values: numerical, represents a number of candlestick periods.
48
Set this to the number of candlestick periods you want to use for calculating Senkou span.
49
KUMO_SENTIMENSTrueValues: true or false.
50
Enable this to only allow trades when they are confirmed by a strong trend. Set this to false to ignore Kumu trends.
51
When enabled, a buy order can only happen when Tenkan-sen crosses up Kijun-sen and the price is above Kumo. A sell order would only occur when Tenkan-sen crosses under Kijun-sen and price is below Kumo
52
MACD_SHORT12Values: numerical, represents a number of periods.
53
The number of periods used for calculating the short-term moving average for MACD.
54
MACD_LONG26Values: numerical, represents a number of periods.
55
The number of periods used for calculating the long-term moving average for MACD.
56
MACD_SIGNAL9Values: numerical, represents a number of periods.
57
The number of periods used for calculating the MACD signal line.
58
PP_BUY0.00000001Values: numerical – represents a price in base currency.
59
This sets the exact target price for placing a buy order. A buy order will be placed as soon as this price is hit or an even better price is available.
60
For example: when trading a BTC-x pair with PP_BUY set to 0.00123456, a buy order will be placed in the first cycle where the price reaches 0.00123456 or lower.
61
PP_SELL99999Values: numerical – represents a price in base currency.
62
This sets the exact target price for placing a sell order. A sell order will be placed as soon as this price is hit or an even better price is available.
63
For example: when trading a BTC-x pair with PP_SELL set to 0.00123456, a buy order will be placed in the first cycle where the price reaches 0.00123456 or lower.
64
SLOW_SMA2 Values: numerical, represents a number of periods.
65
The number of periods used for calculating the slow SMA.
66
FAST_SMA1 Values: numerical, represents a number of periods.
67
The number of periods used for calculating the fast SMA.
68
BUYLVL10.6Values: numerical – represent a percentage.
69
This sets the starting point for buy trailing at a percentage below the lowest EMA.
70
When you set this to 1, trailing for a buy order starts when price reaches a point 1% below the lowest EMA.
71
BUYLVL2
2Values: Numeric-Represents a percentage
72
Determines the second level below the lowest EMA to be considered when buying. Used when BUYLVL is set to 1 or 2.
73
If set to 2, this means that the price must be at least 2 percent below the lowest EMA.
74
BUYLVL370Values: Numeric-Represents a percentage
75
Determines the third level below the lowest EMA to be considered when buying. Used when BUYLVL is set to 2 or 3.
76
When set to 10, this means that the price must be at least 10 percent below the lowest EMA.
77
SELLLVL10.6Values: Numeric-Represents a percentage
78
Determines the first level above the break-even point that qualifies for sale. Only used when SELLLVL is set to 1.
79
If set to 1, this means that the price must be at least 1 percent higher than the average price purchased.
80
SELLLVL22Values: Numeric-Represents a percentage
81
Defines the second level above the break-even point that qualifies for sale. Used when SELLLVL is set to 1 or 2.
82
If set to 2, this means that the price must be at least 2 percent higher than the average purchased price
83
SELLLVL370Values: Numeric-Represents a percentage
84
Determines the third level above the break-even point that qualifies for sale. Used when SELLLVL is set to 2 or 3.
85
When set to 10, it means that the price must be at least 10 percent higher than the average price purchased.
86
BUYLVL1Values: 1/2/3-stands for steps.
87
This determines which step should be considered to buy:
88
1: BUY when the price drops below BUYLVL1 and the trend turns or the price BUYLVL2.
89
2: BUY when the price drops below BUYLVL2 and the trend turns or the price BUYLVL3 touches.
90
3: BUY when the price drops below BUYLVL3 and the trend reverses.
91
SELLLVL1Values: 1/2/3-stands for steps.
92
This determines which step should be considered for sale:
93
1: SELL When the price rises above SELLLVL1 and the trend reverses or the price SELLLVL2 affects.
94
2: SELL When the price rises above SELLLVL2 and the trend reverses or the price SELLLVL3 touches.
95
3: SELL When the price rises above SELLLVL3 and the trend reverses.
96
BUY_RANGE0.5Values: Numeric-Represents a percentage.
97
Specifies the purchase range for Tssl Set. If You Set a range of 0.5% at a current price of 0.1, set You have the Range in between 0.0995 and 0.1005.
98
SELL_RANGE0.5Values: Numeric-Represents a percentage.
99
Specifies the sales range for Tssl Set. If You have a Range of 0.5% at a purchased price of 0.1, set You have a Range in between 0.0995 and 0.1005.
100
TSSL_TARGET_ONLYTrueValues: True or False
Loading...
Main menu