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
:param client order id: client order id of the old order
762
763
:param new client order id: client order id for the new order
763
764
:param quantity: Order quantity
764
-
:param strict validate: Price and quantity will be checked for incrementation within the symbol’s tick size and quantity step. See the symbol's tick_size and quantity_increment
765
765
:param price: Required if order type is 'limit', 'stopLimit', or 'takeProfitLimit'. Order price
766
+
:param stop price: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order stop price
767
+
:param strict validate: Price and quantity will be checked for incrementation within the symbol’s tick size and quantity step. See the symbol's tick_size and quantity_increment
Copy file name to clipboardExpand all lines: cryptomarket/websockets/trading_client.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -335,6 +335,7 @@ def replace_spot_order(
335
335
new_client_order_id: str,
336
336
quantiy: str,
337
337
price: str,
338
+
stop_price: Optional[str] =None,
338
339
strict_validate: Optional[bool] =None,
339
340
callback: Optional[Callback[Report]] =None
340
341
):
@@ -346,11 +347,12 @@ def replace_spot_order(
346
347
:param new_client_order_id: the new client order id for the modified order. must be unique within the trading day
347
348
:param quantity: new order quantity
348
349
:param price: new order price
350
+
:param stop price: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order stop price
349
351
:param strict_validate: price and quantity will be checked for the incrementation with tick size and quantity step. See symbol's tick_size and quantity_increment
350
352
:param callback: A callable of two arguments, takes either a CryptomarketAPIException, or a report of the new version of the order
0 commit comments