Add trailing options to sample-strategy

This commit is contained in:
Matthias 2019-01-05 09:03:14 +01:00
parent f32232ba96
commit f7b96d839d
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ class TestStrategy(IStrategy):
# This attribute will be overridden if the config file contains "stoploss"
stoploss = -0.10
# trailing stoploss
trailing_stop = False
trailing_stop_positive = 0.01
trailing_stop_positive_offset = None # Disabled / not configured
# Optimal ticker interval for the strategy
ticker_interval = '5m'