Trades

List of Trades for the selected account

Returns a list of trades for the currently selected account for current day and six previous days. It is advised to call this endpoint once per session.

get/iserver/account/trades

Response

An array of trades

execution_idstring

execution identifier for the order

symbolstring

Underlying Symbol

side'B' | 'S' | 'X'

The side of the market of the order.

  • B - Buy contract near posted ask price
  • S - Sell contract near posted bid price
  • X - Option expired
order_descriptionstring

Formatted description of the order "%side% %size% @ %price% on %exchange%".

trade_timestring

Time of Status update in format "YYYYMMDD-hh:mm:ss".

trade_time_rnumber

Time of status update in format unix time.

sizestring

Quantity of the order

pricestring

Average Price

order_refstring

User defined string used to identify the order. Value is set using "cOID" field while placing an order.

submitterstring

User that submitted order

exchangestring

Exchange or venue of order

commissionnumber

Commission of the order

net_amountnumber

Net cost of the order, including contract multiplier and quantity.

accountstring

accountCode

acountCodestring

Account Number

company_namestring

Contracts company name

contract_description_1string

Format contract name

sec_typestring

Asset class

conidstring

IBKR's contract identifier

conidexstring

conid and exchange. Format supports conid or conid@exchange

positionstring

Total quantity owned for this contract

clearing_idstring

Firm which will settle the trade. For IBExecution customers only.

clearing_namestring

Specifies the true beneficiary of the order. For IBExecution customers only.

liquidation_tradenumber

If order adds liquidity to the market.

Example response

[
  {
    "contract_description_1": "FB Stock (NASDAQ.NMS)",
    "sec_type": "STK, FUT, OPT"
  }
]

Changes

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