Fix bug after rebase
This commit is contained in:
parent
3174f37b41
commit
11ebdefd09
@ -97,9 +97,9 @@ class Ftx(Exchange):
|
|||||||
raise OperationalException(e) from e
|
raise OperationalException(e) from e
|
||||||
|
|
||||||
@retrier
|
@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']:
|
if self._config['dry_run']:
|
||||||
return
|
return {}
|
||||||
try:
|
try:
|
||||||
return self._api.cancel_order(order_id, pair, params={'type': 'stop'})
|
return self._api.cancel_order(order_id, pair, params={'type': 'stop'})
|
||||||
except ccxt.InvalidOrder as e:
|
except ccxt.InvalidOrder as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user