feat(bitget): correctly cancel stop orders

This commit is contained in:
Matthias
2025-08-05 06:23:21 +02:00
parent 95f58b2b8c
commit e36df7eff5

View File

@@ -116,3 +116,6 @@ class Bitget(Exchange):
return self.fetch_dry_run_order(order_id)
return self._fetch_stop_order_fallback(order_id, pair)
def cancel_stoploss_order(self, order_id: str, pair: str, params: dict | None = None) -> dict:
return self.cancel_order(order_id=order_id, pair=pair, params={"stop": True})