Places order
643 matches
13 actions
IBKR 3rd Party Web
13 actions
- Account PositionsGETv1.0.0
- Account Values SummaryGETv1.0.0
- Brokerage AccountsGETv1.0.0
- Cancel OrderDELETEv1.0.0
- Exchange ComponentsGETv1.0.0
- Get security definitionGETv1.0.0
- Market Data SnapshotGETv1.0.0
- Modify OrderPUTv1.0.0
- Open OrdersGETv1.0.0
- Place OrderPOSTv1.0.0
- Return margin impact infoPOSTv1.0.0
- Return specific order infoGETv1.0.0
- Returns trades in accountGETv1.0.0
Finance/IBKR 3rd Party Web
Place Order
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
{
"type": "object",
"properties": {
"Aux Price": {
"type": "number",
"description": "Required Price to support Stop and Stop Limit orders"
},
"ContractId": {
"type": "number",
"description": "The internal IB identifier for the trading product specified as an integer (can be obtained in response to /secdef request)"
},
"Currency": {
"type": "string",
"description": "The currency in which the FX pair trades (only for InstrumentType=CASH)"
},
"CustomerOrderId": {
"type": "string",
"description": "The order ID assigned by the customer."
},
"GermanHftAlgo": {
"type": "boolean",
"description": "By setting this bool to false the customer attests that the order is not subject to German HFT Act, was not generated using any automated algorithm, and no algorithm determined or changed financial instrument, side, quantity, order type, limit or other price, trading venue or timing of this order. Currently we cannot accept orders where this flag is set to true. Such orders will be rejected."
},
"InstrumentType": {
"type": "string",
"description": "The instrument type of the contract"
},
"ListingExchange": {
"type": "string",
"description": "The exchange on which the trading product is listed (only for InstrumentType=STK)"
},
"Mifid2Algo": {
"type": "string",
"description": "This field permits specification of the user's preregistered (via account management) MiFID II short code for algos that are responsible for investment decisions"
},
"Mifid2DecisionMaker": {
"type": "string",
"description": "This field permits specification of the user's preregistered (via account management) MiFID II short code for decision makers."
},
"Mifid2ExecutionAlgo": {
"type": "string",
"description": "This field permits specification of the user's preregistered (via account management) MiFID II short code for algos that are responsible for handling/routing of the order."
},
"Mifid2ExecutionTrader": {
"type": "string",
"description": "This field permits specification of the user's preregistered (via account management) MiFID II person responsible for handling/routing of the order"
},
"Order Type": {
"type": "number",
"description": "Market = '1'\nLimit = '2'\nStop = '3'\nStopLimit = '4'\n",
"enum": [
1,
2,
3,
4
]
},
"OrderRestrictions": {
"type": "number",
"description": "MultiValueString representing the restrictions associated with\nan order. If more than one restriction is applicable to an\norder, this field can contain multiple instructions separated\nby space. \n'1' Program Trade\n'2' Index Arbitrage \n'3' Non-Index Arbitrage\n"
},
"Outside RTH": {
"type": "number",
"description": "Indicates if order is active outside regular trading hours, where defined. 0 = no (default), 1 = yes"
},
"Price": {
"type": "number",
"description": "The order price"
},
"Quantity": {
"type": "number",
"description": "The number of units in the order; contracts or shares"
},
"Side": {
"type": "number",
"description": "Buy = '1', Sell = '2'",
"enum": [
1,
2
]
},
"Ticker": {
"type": "string",
"description": "The symbol that identifies the trading product"
},
"Time in Force": {
"type": "number",
"description": "Defines order's active lifetime.\nDay = '0'\nGTC (Good till Cancel) = '1'\nIOC (Immediate or Cancel) = '3'\nOpen = '2'\nClose = '7'\n",
"enum": [
0,
1,
2,
3,
7
]
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
{
"type": "array",
"items": {
"type": "object",
"description": "An object containing all the properties defining an order",
"properties": {
"ContractId": {
"type": "number"
},
"CustomerOrderId": {
"type": "number"
},
"FilledQuantity": {
"type": "number"
},
"ListingExchange": {
"type": "string"
},
"OrderType": {
"type": "number",
"description": "Market = '1'\nLimit = '2'\nStop = '3'\nStopLimit = '4'\n",
"enum": [
1,
2,
3,
4
]
},
"OutsideRTH": {
"type": "string"
},
"Price": {
"type": "number"
},
"RemainingQuantity": {
"type": "number"
},
"Side": {
"type": "string",
"enum": [
1,
2
]
},
"Status": {
"type": "string",
"description": "Status of the order\nInvalidOrderStatus = '-1'\nNew = '0'\nPartiallyFilled = '1'\nFilled = '2'\nDoneForTheDay = '3'\nCanceled = '4'\nReplaced = '5'\nPendingCancelReplace = '6'\nStopped = '7'\nRejected = '8'\nSuspended = '9'\nPendingNew = 'A'\nCalculated = 'B'\nExpired = 'C'\nAcceptedForBidding = 'D'\nPendingReplace = 'E'\n",
"enum": [
"-1",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"A",
"B",
"C",
"D",
"E"
]
},
"Ticker": {
"type": "string"
},
"TimeInForce": {
"type": "number",
"description": "Defines order's active lifetime.\nDay = '0'\nGTC (Good till Cancel) = '1'\nIOC (Immediate or Cancel) = '3'\nOpen = '2'\nClose = '7'\n",
"enum": [
0,
1,
2,
3,
7
]
},
"TransactionTime": {
"type": "string"
},
"Warning": {
"type": "string"
}
}
}
}