IB.whatIfOrderAsync
whatIfOrderAsync(self, contract: ib_async.contract.Contract, order: ib_async.order.Order) -> collections.abc.Awaitable[ib_async.order.OrderState]
Completeness: fully-documented · Canonical ID: ib_async.ib.IB.whatIfOrderAsync
Explicit policy override after evidence-backed documentation review.
Related API navigation
- Async variant of:
IB.whatIfOrder - Called by:
IB.whatIfOrder - Calls:
Client.getReqId - Calls:
Client.placeOrder - Completion callback:
EWrapper.openOrder - Protocol mapping:
EClient.placeOrder - Response callback:
EWrapper.openOrder - Returns:
OrderState - 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) - 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)
No library docstring is provided; consult the signature, type fields, and operational guides.