Fix bug after rebase

This commit is contained in:
Matthias 2020-04-18 19:52:21 +02:00
parent 3174f37b41
commit 11ebdefd09

View File

@ -97,9 +97,9 @@ class Ftx(Exchange):
raise OperationalException(e) from e
@retrier
def cancel_stoploss_order(self, order_id: str, pair: str) -> None:
def cancel_stoploss_order(self, order_id: str, pair: str) -> Dict:
if self._config['dry_run']:
return
return {}
try:
return self._api.cancel_order(order_id, pair, params={'type': 'stop'})
except ccxt.InvalidOrder as e: