Merge pull request #2724 from freqtrade/improve_strattemplate
[minor] Add trailing_only_offset to template and sample
This commit is contained in:
commit
6a7163d3a9
@ -47,6 +47,7 @@ class {{ strategy }}(IStrategy):
|
||||
|
||||
# Trailing stoploss
|
||||
trailing_stop = False
|
||||
# trailing_only_offset_is_reached = False
|
||||
# trailing_stop_positive = 0.01
|
||||
# trailing_stop_positive_offset = 0.0 # Disabled / not configured
|
||||
|
||||
|
@ -48,6 +48,7 @@ class SampleStrategy(IStrategy):
|
||||
|
||||
# Trailing stoploss
|
||||
trailing_stop = False
|
||||
# trailing_only_offset_is_reached = False
|
||||
# trailing_stop_positive = 0.01
|
||||
# trailing_stop_positive_offset = 0.0 # Disabled / not configured
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user