Fake order response should contain order_id

This commit is contained in:
Matthias
2024-01-02 09:22:43 +01:00
parent 10dbf47836
commit e722d81456
2 changed files with 2 additions and 2 deletions

View File

@@ -1385,7 +1385,7 @@ class Exchange:
order = self.fetch_stoploss_order(order_id, pair)
except InvalidOrderException:
logger.warning(f"Could not fetch cancelled stoploss order {order_id}.")
order = {'fee': {}, 'status': 'canceled', 'amount': amount, 'info': {}}
order = {'id': order_id, 'fee': {}, 'status': 'canceled', 'amount': amount, 'info': {}}
return order