v1

latestOpenAPI 3.0.12026-07-2683220192.3 KB
Trading

Cancel replace order

Requests modification of a working order

post/v1/trading/orders/replace

Request body

orderIdstring
clordIdstring
symbolstring
pricestring int64
orderQtystring int64
timeInForce'TIME_IN_FORCE_DAY' | 'TIME_IN_FORCE_GOOD_TILL_CANCEL' | 'TIME_IN_FORCE_IMMEDIATE_OR_CANCEL' | 'TIME_IN_FORCE_GOOD_TILL_TIME' | 'TIME_IN_FORCE_FILL_OR_KILL'

TimeInForce specifies how long the order remains in effect.

stopPricestring int64
minQtystring int64
allOrNoneboolean
participateDontInitiateboolean
strictLimitboolean
goodTillTimestring date-time
bestLimitboolean
immediatelyExecutableLimitboolean
manualOrderIndicator'MANUAL_ORDER_INDICATOR_MANUAL' | 'MANUAL_ORDER_INDICATOR_AUTOMATED'

ManualOrderIndicator designates the manual or automated nature of an order.

Response

A successful response.

CancelReplaceOrderResponse required