From 36e95bc8689081a4a775808fb6531ba56a3f22a3 Mon Sep 17 00:00:00 2001 From: misagh Date: Tue, 12 Mar 2019 13:10:59 +0100 Subject: [PATCH] unnecessary variable removed --- freqtrade/exchange/exchange.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 8c4315906..13ab51226 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -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))