Orders

Return specific order info

Returns the order with the referenced Customer Order ID for the account passed in the URL.

get/accounts/{account}/orders/{CustomerOrderId}

Request

  • Base URL
    https://www.interactivebrokers.com/tradingapi/v1
  • URL
    https://www.interactivebrokers.com/tradingapi/v1/accounts/{account}/orders/{CustomerOrderId}
  • Auth
    API key in header portal

Response

Returns order status information

CustomerOrderIdnumber
ContractIdnumber
Tickerstring
ListingExchangestring
RemainingQuantitynumber
FilledQuantitynumber
OrderType1 | 2 | 3 | 4

Market = '1' Limit = '2' Stop = '3' StopLimit = '4'

TimeInForce0 | 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'

OutsideRTHstring
Sidestring
Pricenumber
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'

Warningstring
TransactionTimestring

Changes

No recorded changes to this operation across all 1 revision of this API.