cancel_order should return a dict

This commit is contained in:
Matthias 2020-02-21 20:23:43 +01:00
parent 49dcc561b7
commit 8c1a933221

View File

@ -894,9 +894,9 @@ class Exchange:
until=until, from_id=from_id))
@retrier
def cancel_order(self, order_id: str, pair: str) -> None:
def cancel_order(self, order_id: str, pair: str) -> Dict:
if self._config['dry_run']:
return
return {}
try:
return self._api.cancel_order(order_id, pair)