You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/derivatives_trading_usds_futures/pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[tool.poetry]
2
2
name = "binance-sdk-derivatives-trading-usds-futures"
3
-
version = "10.0.0"
3
+
version = "10.0.1"
4
4
description = "Official Binance Derivatives Trading Usds Futures SDK - A lightweight library that provides a convenient interface to Binance's DerivativesTradingUsdsFutures REST API, WebSocket API and WebSocket Streams."
Copy file name to clipboardExpand all lines: clients/derivatives_trading_usds_futures/src/binance_sdk_derivatives_trading_usds_futures/rest_api/rest_api.py
side (Union[ModifyOrderSideEnum, None]): `SELL`, `BUY`
2731
2731
quantity (Union[float, None]): Order quantity, cannot be sent with `closePosition=true`
2732
-
price (Union[float, None]):
2732
+
price (Optional[float] = None):
2733
2733
order_id (Optional[int] = None):
2734
2734
orig_client_order_id (Optional[str] = None):
2735
2735
price_match (Optional[ModifyOrderPriceMatchEnum] = None): only avaliable for `LIMIT`/`STOP`/`TAKE_PROFIT` order; can be set to `OPPONENT`/ `OPPONENT_5`/ `OPPONENT_10`/ `OPPONENT_20`: /`QUEUE`/ `QUEUE_5`/ `QUEUE_10`/ `QUEUE_20`; Can't be passed together with `price`
Copy file name to clipboardExpand all lines: clients/derivatives_trading_usds_futures/src/binance_sdk_derivatives_trading_usds_futures/websocket_api/api/trade_api.py
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ async def modify_order(
169
169
symbol: Union[str, None],
170
170
side: Union[ModifyOrderSideEnum, None],
171
171
quantity: Union[float, None],
172
-
price: Union[float, None],
172
+
price: Optional[float] =None,
173
173
id: Optional[str] =None,
174
174
order_id: Optional[int] =None,
175
175
orig_client_order_id: Optional[str] =None,
@@ -199,7 +199,7 @@ async def modify_order(
199
199
symbol (Union[str, None]):
200
200
side (Union[ModifyOrderSideEnum, None]): `SELL`, `BUY`
201
201
quantity (Union[float, None]): Order quantity, cannot be sent with `closePosition=true`
202
-
price (Union[float, None]):
202
+
price (Optional[float] = None):
203
203
id (Optional[str] = None): Unique WebSocket request ID.
Copy file name to clipboardExpand all lines: clients/derivatives_trading_usds_futures/src/binance_sdk_derivatives_trading_usds_futures/websocket_api/websocket_api.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -449,7 +449,7 @@ async def modify_order(
449
449
symbol: Union[str, None],
450
450
side: Union[ModifyOrderSideEnum, None],
451
451
quantity: Union[float, None],
452
-
price: Union[float, None],
452
+
price: Optional[float] =None,
453
453
id: Optional[str] =None,
454
454
order_id: Optional[int] =None,
455
455
orig_client_order_id: Optional[str] =None,
@@ -477,7 +477,7 @@ async def modify_order(
477
477
symbol (Union[str, None]):
478
478
side (Union[ModifyOrderSideEnum, None]): `SELL`, `BUY`
479
479
quantity (Union[float, None]): Order quantity, cannot be sent with `closePosition=true`
480
-
price (Union[float, None]):
480
+
price (Optional[float] = None):
481
481
id (Optional[str] = None): Unique WebSocket request ID.
Copy file name to clipboardExpand all lines: clients/spot/pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[tool.poetry]
2
2
name = "binance-sdk-spot"
3
-
version = "8.2.0"
3
+
version = "8.2.1"
4
4
description = "Official Binance Spot SDK - A lightweight library that provides a convenient interface to Binance's Spot REST API, WebSocket API and WebSocket Streams."
0 commit comments