From 663e33d2efc389f51870054fb9e3a2e17622518a Mon Sep 17 00:00:00 2001 From: misagh Date: Sun, 9 Dec 2018 16:06:00 +0100 Subject: [PATCH] if condition refactored --- freqtrade/exchange/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index 85abf2939..e9d819beb 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -240,7 +240,7 @@ class Exchange(object): Checks if order time in force configured in strategy/config are supported """ if any(v != 'gtc' for k, v in order_time_in_force.items()): - if not self.name == 'Binance': + if self.name is not 'Binance': raise OperationalException( f'Time in force policies are not supporetd for {self.name} yet.')