Modify Open Order
Modify an existing, unfilled order.
Path parameters
accountId
The account to which the order will clear.
orderId
The IB-assigned order ID of the desired order ticket.
Request
This endpoint expects an object.
conid
IB contract ID of the instrument.
orderType
IB order type identifier.
side
Side of the order ticket.
tif
Time in force of the order ticket.
quantity
Quantity of the order ticket in units of the instrument.
acctId
Receiving account of the order ticket.
conidex
Contract ID and routing destination together in format 123456@EXCHANGE.
secType
IB asset class identifier.
cOID
Client-configurable order identifier. The value must be unique for a 24 hour span. The value can be no longer than 64 characters. Should not be set for the child of a bracket order.
parentId
If the order ticket is a child order in a bracket, the parentId field must be set equal to the cOID provided for the parent order.
listingExchange
The listing exchange of the instrument.
isSingleGroup
Indicates that all orders in the containing array are to be treated as an OCA group.
outsideRTH
Instructs IB to permit the order to execute outside of regular trading hours.
allOrNone
Instructs IB to execute the order entirely or not execute at all.
auxPrice
Additional price value used in certain order types, such as stop orders.
ticker
Ticker symbol of the instrument.
trailingAmt
Offset used with Trailing orders.
trailingType
Specifies the type of trailing used with a Trailing order.
referrer
IB internal identifier for order entry UI element.
cashQty
Quantity of currency used with cash quantity orders.
useAdaptive
Instructs IB to apply the Price Management Algo.
isCcyConv
Indicates that a forex order is for currency conversion and should not entail a virtual forex position in the account, where applicable.
price
Price of the order ticket, where applicable.
strategy
The name of an execution algorithm.
strategyParameters
Parameters governing the selected algorithm, if applicable.
extOperator
ExtOperator is used to identify external operator
manualIndicator
For all orders for US Futures products, clients must submit this flag to indicate whether the order was originated manually (by a natural person) or automatically (by an automated trading system transmitting orders without human intervention). Submit a True value to indicate a manually originated order, and submit a False value to indicate an automated order. Orders for USFUT products that do not include this field will be rejected.
taxOptimizerId
Identifies set of tax lots selected, for gains and losses management.
jsonPayload
Response
Status of submission
orderSubmitSuccess
A successful submission of one or more order tickets.
OR
orderSubmitError
Indicates that the order reply message or submission was not accepted.
OR
orderReplyMessage
An array containing objects that each deliver the order reply messages emitted against one order ticket in the submission request's array. Indicies of the order reply message objects in this array correspond to the indicies of the order tickets in the submission request's array.
OR
advancedOrderReject
Relates a message generated in response to the rejection of the submitted order ticket. In some cases, it may also present a mechanism to resubmit the same order following a prompted decision.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error

