Skip to content

Commit

Permalink
changed quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
m-HD committed Nov 16, 2024
1 parent 47c0971 commit d4fdb6d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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__

Expand Down

0 comments on commit d4fdb6d

Please sign in to comment.