IB.placeOrder
placeOrder(self, contract: ib_async.contract.Contract, order: ib_async.order.Order) -> ib_async.order.Trade
Completeness: fully-documented · Canonical ID: ib_async.ib.IB.placeOrder
Explicit policy override after evidence-backed documentation review.
Related API navigation
- Calls:
Client.getReqId - Calls:
Client.placeOrder - Cancel operation:
IB.cancelOrder - Configuration dependency:
Order.faGroup - Configuration dependency:
Order.modelCode - Protocol mapping:
EClient.placeOrder - Response callback:
EWrapper.openOrder - Response callback:
EWrapper.orderBound - Response callback:
EWrapper.orderStatus - Returns:
Trade - Error reference: TWS message codes (applicability is request-dependent).
Sources and provenance
- ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ib-async-repository-2-1-0 (
library-source; retrieved2026-07-15T03:42:42Z) - ibkr-campus-tws-api (
official-current; retrieved2026-07-14T19:13:54.602937Z) - ibkr-campus-tws-api (
official-current; retrieved2026-07-14T19:13:54.602937Z) - ibkr-campus-tws-api (
official-current; retrieved2026-07-14T19:13:54.602937Z) - ibkr-campus-tws-api (
official-current; retrieved2026-07-14T19:13:54.602937Z) - ibkr-campus-tws-api (
official-current; retrieved2026-07-14T19:13:54.602937Z)
Place a new order or modify an existing order. Returns a Trade that is kept live updated with status changes, fills, etc.
Args: contract: Contract to use for order. order: The order to be placed.