mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
unnecessary variable removed
This commit is contained in:
parent
3e40f5c588
commit
36e95bc868
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user