From d4fdb6dbb5d706f5381d78f40370a4557965d0b8 Mon Sep 17 00:00:00 2001 From: m-HD Date: Sat, 16 Nov 2024 20:18:48 +0100 Subject: [PATCH] changed quotation marks --- binance/client.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/binance/client.py b/binance/client.py index 8f44945b..79984b3b 100755 --- a/binance/client.py +++ b/binance/client.py @@ -2161,7 +2161,7 @@ def cancel_order(self, **params): return self._delete("order", True, data=params) def cancel_all_open_orders(self, **params): - return self._delete('openOrders', True, data=params) + return self._delete("openOrders", True, data=params) def cancel_replace_order(self, **params): """Cancels an existing order and places a new order on the same symbol. @@ -2267,7 +2267,7 @@ def cancel_replace_order(self, **params): :raises: BinanceRequestException, BinanceAPIException """ - return self._post('order/cancelReplace', True, data=params) + return self._post("order/cancelReplace", True, data=params) def get_open_orders(self, **params): """Get all open orders on a symbol. @@ -2477,7 +2477,7 @@ def get_current_order_count(self, **params): ] """ - return self._get('rateLimit/order', True, data=params) + return self._get("rateLimit/order", True, data=params) def get_prevented_matches(self, **params): """Displays the list of orders that were expired because of STP. @@ -4827,7 +4827,7 @@ def cancel_margin_order(self, **params): ) def cancel_all_open_margin_orders(self, **params): - return self._request_margin_api('delete', 'margin/openOrders', signed=True, data=params) + return self._request_margin_api("delete", "margin/openOrders", signed=True, data=params) def set_margin_max_leverage(self, **params): """Adjust cross margin max leverage @@ -11178,10 +11178,10 @@ async def cancel_order(self, **params): cancel_order.__doc__ = Client.cancel_order.__doc__ async def cancel_all_open_orders(self, **params): - return await self._delete('openOrders', True, data=params) + return await self._delete("openOrders", True, data=params) async def cancel_replace_order(self, **params): - return await self._post('order/cancelReplace', signed=True, data=params) + return await self._post("order/cancelReplace", signed=True, data=params) async def get_open_orders(self, **params): return await self._get("openOrders", True, data=params) @@ -11662,7 +11662,7 @@ async def cancel_margin_order(self, **params): cancel_margin_order.__doc__ = Client.cancel_margin_order.__doc__ async def cancel_all_open_margin_orders(self, **params): - return await self._request_margin_api('delete', 'margin/openOrders', signed=True, data=params) + return await self._request_margin_api("delete", "margin/openOrders", signed=True, data=params) cancel_all_open_margin_orders.__doc__ = Client.cancel_all_open_margin_orders.__doc__