unnecessary variable removed
This commit is contained in:
parent
3e40f5c588
commit
36e95bc868
@ -263,10 +263,8 @@ class Exchange(object):
|
|||||||
"""
|
"""
|
||||||
Validates the trailing stoploss configuration
|
Validates the trailing stoploss configuration
|
||||||
"""
|
"""
|
||||||
|
|
||||||
tsl = config.get('trailing_stop', False)
|
|
||||||
# Skip if trailing stoploss is not activated
|
# Skip if trailing stoploss is not activated
|
||||||
if not tsl:
|
if not config.get('trailing_stop', False):
|
||||||
return
|
return
|
||||||
|
|
||||||
tsl_positive = float(config.get('trailing_stop_positive', 0))
|
tsl_positive = float(config.get('trailing_stop_positive', 0))
|
||||||
|
Loading…
Reference in New Issue
Block a user