CCP (Beta)

Submit Order

Submits an Order.

post/ccp/order

Query parameters

acctstring required

User Account

conidnumber required

Contract identifier from IBKR's database.

ccy'USD' | 'GBP' | 'EUR' required

Contract Currency

exchange'NYSE' | 'CBOE' | 'NYMEX' required

Exchange

qtynumber required

Order Quantity

type'limit' | 'market'

Order Price; required if order type is limit

side'sell' | 'buy'

Side

pricenumber

Order Price; required if order type is limit

tif'IOC' | 'GTC'

Time in Force

Response

An Object

clientOrderIdstring
execIdstring
execType'-1 "Invalid"' | '0 "New"' | '1 "Partially Filled"' | '2 "Filled"' | '3 "Done for the Day"' | '4 "Canceled"' | '5 "Replaced"' | '6 "Pending Cancel"' | '7 "Stopped"' | '8 "Rejected"' | '9 "Suspended"' | 'A "Pending New"' | 'B "Calculated"' | 'C "Expired"' | 'D "Restated"' | 'E "Pending Replace"' | 'F "Trade"' | 'G "Trade Correct"' | 'H "Trade Cancel"' | 'I "Order Status"'
orderType'1 "Market"' | '2 "Limit"' | '3 "Stop"' | '4 "Stop Limit"' | '5 "Market on Close"' | '6 "With or Without"' | '7 "Limit or Better"' | '8 "Limit With or Without"' | '9 "On Basis"' | 'A "On Close"' | 'B "Limit On Close"' | 'C "Forex Market"' | 'D "Previously Quoted"' | 'E "Previously Indicated"' | 'F "Forex Limit"' | 'G "Forex Swap"' | 'H "Forex Previously Quoted"' | 'I "Funari"' | 'K "Market To Limit"' | 'P "Pegged"'
orderStatus'-1 "Invalid Order Status"' | '0 "New"' | '1 "Partially Filled"' | '2 "Filled"' | '3 "Done for the Day"' | '4 "Canceled"' | '5 "Replaced"' | '6 "Pending Cancel"' | '7 "Stopped"' | '8 "Rejected"' | '9 "Suspended"' | 'A "Pending New"' | 'B "Calculated"' | 'C "Expired"' | 'D "Restated"' | 'E "Pending Replace"'
symbolstring

Underlying symbol for contract

orderQtystring

Quantity of active order

pricestring

Price of active order

lastSharesstring

Quantity of the last partial fill

lastPricestring

Price of the last partial fill

cumQtystring

Cumulative fill quantity

leavesQtystring

Remaining quantity to be filled

avgPricestring

Average fill price

side'1 "Buy"' | '2 "Sell"' | '3 "Buy Minus"' | '4 "Sell Plus"' | '5 "Sell Short"' | '6 "Sell Short Exempt"'
orderIdstring

Order identifier

accountstring

Account number

secType'CS "Stock"' | 'CASH "Forex"' | 'CFD "Contract for Difference"' | 'FUT "Future"' | 'OPT "Option"'

Contracts asset class

txTimestring

Time of transaction in GMT, format YYYYMMDD-hh:m:ss

rcptTimestring

Time of receipt in GMT, format YYYYMMDD-hh:mm:ss

tif'0 "Day"' | '1 "GTC"' | '2 "At the Opening"'

Time in Force

conidstring

Contract identifier from IBKR's database.

currencystring

Trading currency

exchangestring

Exchange or venue

listingExchangestring

Listing Exchange

textnumber

error message

commCurrstring

Commission currency

commsstring

Commissions

realizedPnlstring

Realized PnL

Changes

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