Order Entry V2 Websocket - Search For Trades
Input - Search for Trades
Request a trade record using custom criteria. Based on query parameters, one or more trades may be returned.
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 | → customerAccountIds[] | Customer Account IDs | String |
| OPTIONAL | |
10 | → customerOrderIds[] | Customer Order IDs | String |
| OPTIONAL | |
11 | → executingFirmIds[] | Executing Firm IDs | String |
| REQUIRED | |
12 | → glbxSecurityIds[] | Globex Security IDs | Integer | OPTIONAL | ||
13 | → manualInd | Manual Indicator | YesNoIndicator |
| REQUIRED | Indicates whether the order was generated by automated trading logic. |
14 | → transactionTimeEnd | Transaction Time End | DateTime | OPTIONAL | ||
15 | → transactionTimeStart | Transaction Time Start | DateTime | OPTIONAL | ||
16 | → venueExecutionId | Venue Execution ID | String | OPTIONAL | ||
17 | → venueOrderIds[] | Venue Order IDs | String | OPTIONAL |
Output - Search for Trades 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 | → responseClippedInd | Response Clipped Indicator | yesNoIndicator |
| OPTIONAL | |
6 | → responseCount | Response Count | int32 | OPTIONAL | ||
7 | → responseIndex | Response Index | int32 | OPTIONAL | ||
8 | → sentTime | Sent Time | dateTime | ALWAYS | Timestamp of the message leaving the producing application. | |
9 | → sequenceNbr | Sequence Number | string | ALWAYS | ||
10 | payload[] | |||||
11 | → action | Action | orderAction |
| ALWAYS | |
12 | → executionTime | Execution Time | dateTime | ALWAYS | ||
13 | → instrument | |||||
14 | → → glbxSecurityId | Globex Security ID | int32 | ALWAYS | ||
15 | → side | |||||
16 | → → aggressorInd | Aggressor Indicator | yesNoIndicator |
| ALWAYS | |
17 | → → entities | |||||
18 | → → → customerAccountId | Customer Account Id | string | ALWAYS | ||
19 | → → → executingFirmId | Executing Firm ID | string | ALWAYS | ||
20 | → → → operatorId | Operator ID | string | ALWAYS | ||
21 | → → → senderCountry | Sender Country | string | ALWAYS | ||
22 | → → → senderState | Sender State | string | OPTIONAL | ||
23 | → → order | |||||
24 | → → → customerOrderId | Customer Order ID | string | ALWAYS | ||
25 | → → → remainingQtyInt | Remaining Quantity Integer | int32 | ALWAYS | ||
26 | → → → status | Status | orderStatus | ALWAYS | ||
27 | → → → type | Type | orderType |
| ALWAYS | |
28 | → → → venueOrderId | Venue Order ID | string | ALWAYS | ||
29 | → → price | Price | price | ALWAYS | ||
30 | → → qtyInt | Quantity Integer | int32 | ALWAYS | ||
31 | → → sideInd | Side Indicator | marketSideIndicator |
| ALWAYS | |
32 | → → venueExecutionId | Venue Execution ID | string | ALWAYS | ||
33 | → spreadReportType[] | SpreadReportType | spreadReportType |
| ALWAYS | |
34 | → tradeDt | Trade Date | date | ALWAYS | ||
35 | → venueTradeSeq | Venue Trade Sequence | string | ALWAYS |
Output - Search for Trades 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 | → transactionTime | Transaction Time | dateTime | OPTIONAL |
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.