v1
latestSwagger 2.02026-07-1316446.5 KBPlace Order
Places order
Request body
The order ID assigned by the customer.
The symbol that identifies the trading product
The exchange on which the trading product is listed (only for InstrumentType=STK)
The currency in which the FX pair trades (only for InstrumentType=CASH)
The instrument type of the contract
The internal IB identifier for the trading product specified as an integer (can be obtained in response to /secdef request)
The number of units in the order; contracts or shares
The order price
Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
Required Price to support Stop and Stop Limit orders
Defines order's active lifetime. Day = '0' GTC (Good till Cancel) = '1' IOC (Immediate or Cancel) = '3' Open = '2' Close = '7'
Indicates if order is active outside regular trading hours, where defined. 0 = no (default), 1 = yes
Buy = '1', Sell = '2'
MultiValueString representing the restrictions associated with an order. If more than one restriction is applicable to an order, this field can contain multiple instructions separated by space. '1' Program Trade '2' Index Arbitrage '3' Non-Index Arbitrage
By setting this bool to false the customer attests that the order is not subject to German HFT Act, was not generated using any automated algorithm, and no algorithm determined or changed financial instrument, side, quantity, order type, limit or other price, trading venue or timing of this order. Currently we cannot accept orders where this flag is set to true. Such orders will be rejected.
This field permits specification of the user's preregistered (via account management) MiFID II short code for decision makers.
This field permits specification of the user's preregistered (via account management) MiFID II short code for algos that are responsible for investment decisions
This field permits specification of the user's preregistered (via account management) MiFID II person responsible for handling/routing of the order
This field permits specification of the user's preregistered (via account management) MiFID II short code for algos that are responsible for handling/routing of the order.
Response
Returns order status information
Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
Defines order's active lifetime. Day = '0' GTC (Good till Cancel) = '1' IOC (Immediate or Cancel) = '3' Open = '2' Close = '7'
Status of the order InvalidOrderStatus = '-1' New = '0' PartiallyFilled = '1' Filled = '2' DoneForTheDay = '3' Canceled = '4' Replaced = '5' PendingCancelReplace = '6' Stopped = '7' Rejected = '8' Suspended = '9' PendingNew = 'A' Calculated = 'B' Expired = 'C' AcceptedForBidding = 'D' PendingReplace = 'E'