Order Entry API V2 - Search for Trades
Request a trade record using custom criteria. Based on query parameters, one or more trades may be returned.
- 1 Request
- 1.1 Body
- 2 Response - 200
- 2.1 Body
- 3 Response - 400
- 3.1 Body
- 4 Response - 403
- 4.1 Body
- 5 Response - 500
- 5.1 Body
URL | /trades/search |
|---|---|
HTTP Method | POST |
Version | 2.0.0 |
Request
Body
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 | → requestId | Request ID | String |
| REQUIRED | A unique identifier for the request provided by the client for correlation. |
6 | → sentTime | Sent Time | DateTime |
| REQUIRED | Timestamp of the message leaving the producing application. |
7 | payload |
| ||||
8 | → customerAccountIds[] | Customer Account IDs | String |
| OPTIONAL |
|
9 | → customerOrderIds[] | Customer Order IDs | String |
| OPTIONAL |
|
10 | → executingFirmIds[] | Executing Firm IDs | String |
| REQUIRED |
|
12 | → manualInd | Manual Indicator | YesNoIndicator |
| REQUIRED | Indicates whether the order was generated by automated trading logic. |
13 | → transactionTimeEnd | Transaction Time End | DateTime |
| OPTIONAL |
|
14 | → transactionTimeStart | Transaction Time Start | DateTime |
| OPTIONAL |
|
15 | → venueExecutionId | Venue Execution ID | String |
| OPTIONAL |
|
16 | → venueOrderIds[] | Venue Order IDs | String |
| OPTIONAL |
|
Response - 200
Body
Ref | Field | Name | Data Type | Values | Usage | Description |
|---|---|---|---|---|---|---|
1 | header |
| ||||
2 | → requestId | Request ID | string |
| ALWAYS | A unique identifier for the request provided by the client for correlation. |
3 | → responseClippedInd | Response Clipped Indicator | yesNoIndicator |
| OPTIONAL |
|
4 | → responseCount | Response Count | int32 |
| OPTIONAL |
|
5 | → responseIndex | Response Index | int32 |
| OPTIONAL |
|
6 | → sentTime | Sent Time | dateTime |
| ALWAYS | Timestamp of the message leaving the producing application. |
7 | payload[] |
| ||||
8 | → executionTime | Execution Time | dateTime |
| ALWAYS |
|
9 | → instrument |
| ||||
10 | → → glbxSecurityId | Globex Security ID | int32 |
| ALWAYS |
|
11 | → side |
| ||||
12 | → → aggressorInd | Aggressor Indicator | yesNoIndicator |
| ALWAYS |
|
13 | → → entities |
| ||||
14 | → → → customerAccountId | Customer Account Id | string |
| ALWAYS |
|
15 | → → → executingFirmId | Executing Firm ID | string |
| ALWAYS |
|
16 | → → → operatorId | Operator ID | string |
| ALWAYS |
|
17 | → → → senderCountry | Sender Country | string |
| ALWAYS |
|
18 | → → → senderState | Sender State | string |
| OPTIONAL |
|
19 | → → order |
| ||||
20 | → → → customerOrderId | Customer Order ID | string |
| ALWAYS |
|
21 | → → → remainingQtyInt | Remaining Quantity Integer | int32 |
| ALWAYS |
|
22 | → → → status | Status | orderStatus |
| ALWAYS |
|
23 | → → → type | Type | orderType |
| ALWAYS |
|
24 | → → → venueOrderId | Venue Order ID | string |
| ALWAYS |
|
25 | → → price | Price | price |
| ALWAYS |
|
26 | → → qtyInt | Quantity Integer | int32 |
| ALWAYS |
|
27 | → → sideInd | Side Indicator | marketSideIndicator |
| ALWAYS |
|
28 | → → venueExecutionId | Venue Execution ID | string |
| ALWAYS |
|
29 | → spreadReportType[] | SpreadReportType | spreadReportType |
| ALWAYS |
|
30 | → tradeDt | Trade Date | date |
| ALWAYS |
|
31 | → venueTradeSeq | Venue Trade Sequence | string | |||