Add trailing_only_offset to template and sample

This commit is contained in:
Matthias 2019-12-30 09:56:42 +01:00
parent 8975e38b1d
commit de23f3928d
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class {{ strategy }}(IStrategy):
# Trailing stoploss # Trailing stoploss
trailing_stop = False trailing_stop = False
# trailing_only_offset_is_reached = False
# trailing_stop_positive = 0.01 # trailing_stop_positive = 0.01
# trailing_stop_positive_offset = 0.0 # Disabled / not configured # trailing_stop_positive_offset = 0.0 # Disabled / not configured

View File

@ -48,6 +48,7 @@ class SampleStrategy(IStrategy):
# Trailing stoploss # Trailing stoploss
trailing_stop = False trailing_stop = False
# trailing_only_offset_is_reached = False
# trailing_stop_positive = 0.01 # trailing_stop_positive = 0.01
# trailing_stop_positive_offset = 0.0 # Disabled / not configured # trailing_stop_positive_offset = 0.0 # Disabled / not configured