Order Entry V2 Websocket - Submit Order
Input - Submit Order
Submit a new order.
Fields
Ref | Field | Name | Data Type | Values | Usage | Description |
---|---|---|---|---|---|---|
1 | header |
| ||||
2 | → applicationName | Application Name | String |
| REQUIRED | Identifies the application generating the message. |
3 | → applicationVendor | Application Vendor | String |
| REQUIRED | Identifies the vendor of the application generating the message. |
4 | → applicationVersion | Application Version | String |
| REQUIRED | Identifies the version of the application generating the message. |
5 | → messageType | Message Type | MessageType |
| REQUIRED |
|
6 | → requestId | Request ID | String |
| REQUIRED | A unique identifier for the request provided by the client for correlation. |
7 | → sentTime | Sent Time | DateTime |
| REQUIRED | Timestamp of the message leaving the producing application. |
8 | payload |
| ||||
9 | → customerOrderHandlingInstr | Customer Order Handling Instruction | CustomerOrderHandlingInstruction |
| REQUIRED |
|
10 | → customerOrderId | Customer Order ID | String |
| REQUIRED |
|
11 | → displayQtyInt | Display Quantity Integer | Integer |
| OPTIONAL |
|
12 | → durationType | Duration Type | OrderDurationType |
| REQUIRED |
|
13 | → entities |
| ||||
14 | → → customerAccountId | Customer Account ID | String |
| REQUIRED |
|
15 | → → customerOriginType | Customer Origin Type | OriginType |
| REQUIRED |
|
16 | → → customerType | Customer Type | CustomerType |
| REQUIRED |
|
17 | → → executingFirmId | Executing Firm ID | String |
| REQUIRED |
|
18 | → → operatorId | Operator ID | String |
| REQUIRED |
|
19 | → → senderCountry | Sender Country | String |
| REQUIRED |
|
20 | → → senderState | Sender State | String |
| OPTIONAL |
|
21 | → expirationDt | Expiration Date | Date |
| CONDITIONAL | Criteria
|
22 | → instrument |
| ||||
23 | → → glbxSecurityId | Globex Security ID | Integer |
| REQUIRED |
|
24 | → manualInd | Manual Indicator | YesNoIndicator |
| REQUIRED | Indicates whether the order was generated by automated trading logic. |
25 | → memo | Memo | String |
| OPTIONAL |
|
26 | → minimumQtyInt | Minimum Quantity Integer | Integer |
| OPTIONAL |
|
27 | → price | Price | Price |
| CONDITIONAL | Criteria
|
28 | → qtyInt | Quantity Integer | Integer |
| REQUIRED |
|
29 | → selfMatchPreventionId | Self-Match Prevention ID | Integer |
| OPTIONAL |
|
30 | → selfMatchPreventionInstr | Self-Match Prevention Instruction | SelfMatchPreventionInstruction |
| OPTIONAL |
|
31 | → sideInd | Side Indicator | MarketSideIndicator |
| REQUIRED |
|
32 | → stopPrice | Stop Price | Price |
| CONDITIONAL | Criteria
|
33 | → type | Type | OrderType |
| REQUIRED |
|
Output - Submit Order Response - Success
Fields
Ref | Field | Name | Data Type | Values | Usage | Description |
---|---|---|---|---|---|---|
1 | header |
| ||||
2 | → messageType | Message Type | messageType |
| ALWAYS |
|
3 | → possibleRetransInd | Possible Retransmission Indicator | yesNoIndicator |
| OPTIONAL |
|
4 | → requestId | Request ID | string |
| ALWAYS | A unique identifier for the request provided by the client for correlation. |
5 | → sentTime | Sent Time | dateTime |
| ALWAYS | Timestamp of the message leaving the producing application. |
6 | → sequenceNbr | Sequence Number | string |
| ALWAYS |
|
7 | payload |
| ||||
8 | → action | Action | orderAction |
| ALWAYS |
|
9 | → customerOrderHandlingInstr | Customer Order Handling Instruction | customerOrderHandlingInstruction |
| ALWAYS |
|
10 | → customerOrderId | Customer Order ID | string |
| ALWAYS |
|
11 | → displayQtyInt | Display Quantity Integer | int32 |
| OPTIONAL |
|
12 | → durationType | Duration Type | orderDurationType |
| ALWAYS |
|
13 | → entities |
| ||||
14 | → → customerAccountId | Customer Account ID | string |
| ALWAYS |
|
15 | → → customerOriginType | Customer Origin Type | originType |
| OPTIONAL |
|
16 | → → customerType | Customer Type | customerType |
| OPTIONAL |
|
17 | → → executingFirmId | Executing Firm ID | string |
| ALWAYS |
|
18 | → → senderCountry | Sender Country | string |
| ALWAYS |
|
19 | → → senderState | Sender State | string |
| OPTIONAL |
|
20 | → expirationDt | Expiration Date | date |
| CONDITIONAL | Criteria
|
21 | → instrument |
| ||||
22 | → → glbxSecurityId | Globex Security ID | int32 |
| ALWAYS |
|
23 | → manualInd | Manual Indicator | yesNoIndicator |
| ALWAYS | Indicates whether the order was generated by automated trading logic. |
24 | → memo | Memo | string |
| OPTIONAL |
|
25 | → minimumQtyInt | Minimum Quantity Integer | int32 |
| OPTIONAL |
|
26 | → price | Price | price |
| CONDITIONAL | Criteria
|
27 | → qtyInt | Quantity Integer | int32 |
| ALWAYS |
|
28 | → sideInd | Side Indicator | marketSideIndicator |
| ALWAYS |
|
29 | → status | Status | orderStatus |
| ALWAYS |
|
30 | → stopPrice | Stop Price | price |
| CONDITIONAL | Criteria
|
31 | → transactionTime | Transaction Time | dateTime |
| ALWAYS |
|
32 | → type | Type | orderType |
| ALWAYS |
|
33 | → venueExecutionId | Venue Execution ID | string |
| ALWAYS |
|
34 | → venueOrderId | Venue Order ID | string |
| ALWAYS |
|
Output - Submit Order Response - Error
Fields
Ref | Field | Name | Data Type | Values | Usage | Description |
---|---|---|---|---|---|---|
1 | errors[] |
| ||||
2 | → code | Code | string |
| ALWAYS |
|
3 | → message | Message | string |
| ALWAYS |
|
4 | → referenceField | Reference Field | string |
| OPTIONAL |
|
5 | header |
| ||||
6 | → messageType | Message Type | messageType |
| ALWAYS |
|
7 | → requestId | Request ID | string |
| ALWAYS | A unique identifier for the request provided by the client for correlation. |
8 | → sentTime | Sent Time | dateTime |
| ALWAYS | Timestamp of the message leaving the producing application. |
9 | → sequenceNbr | Sequence Number | string |
| ALWAYS |
|
10 | payload |
| ||||
11 | → customerOrderId | Customer Order ID | string |
| OPTIONAL |
|
12 | → transactionTime | Transaction Time | dateTime |
| OPTIONAL |
|
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.