---
title: "Place Order"
method: POST
path: "/accounts/{account}/orders"
tags: ["Orders"]
---

# Place Order

`POST /accounts/{account}/orders`

Places order

## Request body

- object
  - `CustomerOrderId` string — The order ID assigned by the customer.
  - `Ticker` string — The symbol that identifies the trading product
  - `ListingExchange` string — The exchange on which the trading product is listed (only for InstrumentType=STK)
  - `Currency` string — The currency in which the FX pair trades (only for InstrumentType=CASH)
  - `InstrumentType` string — The instrument type of the contract
  - `ContractId` number — The internal IB identifier for the trading product specified as an integer (can be obtained in response to /secdef request)
  - `Quantity` number — The number of units in the order; contracts or shares
  - `Price` number — The order price
  - `Order Type` 1 | 2 | 3 | 4 — Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
  - `Aux Price` number — Required Price to support Stop and Stop Limit orders
  - `Time in Force` 0 | 1 | 2 | 3 | 7 — Defines order's active lifetime. Day = '0' GTC (Good till Cancel) = '1' IOC (Immediate or Cancel) = '3' Open = '2' Close = '7'
  - `Outside RTH` number — Indicates if order is active outside regular trading hours, where defined. 0 = no (default), 1 = yes
  - `Side` 1 | 2 — Buy = '1', Sell = '2'
  - `OrderRestrictions` number — 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
  - `GermanHftAlgo` boolean — 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.
  - `Mifid2DecisionMaker` string — This field permits specification of the user's preregistered (via account management) MiFID II short code for decision makers.
  - `Mifid2Algo` string — This field permits specification of the user's preregistered (via account management) MiFID II short code for algos that are responsible for investment decisions
  - `Mifid2ExecutionTrader` string — This field permits specification of the user's preregistered (via account management) MiFID II person responsible for handling/routing of the order
  - `Mifid2ExecutionAlgo` string — 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 `200`

Returns order status information

- OrderState[]
  - `CustomerOrderId` number
  - `ContractId` number
  - `Ticker` string
  - `ListingExchange` string
  - `RemainingQuantity` number
  - `FilledQuantity` number
  - `OrderType` 1 | 2 | 3 | 4 — Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
  - `TimeInForce` 0 | 1 | 2 | 3 | 7 — Defines order's active lifetime. Day = '0' GTC (Good till Cancel) = '1' IOC (Immediate or Cancel) = '3' Open = '2' Close = '7'
  - `OutsideRTH` string
  - `Side` string
  - `Price` number
  - `Status` '-1' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'A' | 'B' | 'C' | 'D' | 'E' — 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'
  - `Warning` string
  - `TransactionTime` string

## Other responses

- `202` — Unsuccessfull response
- `204` — Unsuccessfull response
- `400` — Unsuccessfull response
- `401` — Unsuccessfull response
- `403` — Unsuccessfull response
- `408` — Unsuccessfull response

---

[API](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api.md) · [All operations](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/interactivebrokers/ibkr-3rd-party-web-api/revisions/97f75703dba5/schema)
