Add trailing_only_offset to template and sample
This commit is contained in:
parent
8975e38b1d
commit
de23f3928d
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user