unnecessary variable removed

This commit is contained in:
misagh 2019-03-12 13:10:59 +01:00
parent 3e40f5c588
commit 36e95bc868

View File

@ -263,10 +263,8 @@ class Exchange(object):
"""
Validates the trailing stoploss configuration
"""
tsl = config.get('trailing_stop', False)
# Skip if trailing stoploss is not activated
if not tsl:
if not config.get('trailing_stop', False):
return
tsl_positive = float(config.get('trailing_stop_positive', 0))