Skip to main content

Search Option Orders

Search for multiple Option Orders.

POST
/trading-api/v1/optionorder/search-option-orders

Request Body

Orders are retrieved using Order IDs, account numbers, security numbers, dates, and order types.

This request must consist of the below StoneX identifiers:

AttributesData TypeLengthDescription
orderIdsString32Assigned Order identifiers
accountNumberString
securityNumberString
dateFromString
dateToString
orderTypesStringSingle, Block, Allocation
orderStatusesBooleanCreated, Open, Filled, Cancel, Canceled, Route, Routed, Rejected, Deleted, Expired

Response Body

Responses from the request will return with a Status Code. There are 3 Codes: Successful (200), Bad Request (400) and Internal Server Error (500).

Successful Response

The response for a Successful request will look like:

A successful request will respond with a result containing the account number and account status

AttributesData TypeLengthDescription
statusCodeInteger
messageString
dataData Block
errorsErrors
traceIdString
hasErrorsBoolean