mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
if condition refactored
This commit is contained in:
parent
20d794e265
commit
663e33d2ef
|
@ -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.')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user