Skip to main content

Single Equity Order

Create a Single Non-Discretionary or Single CAT Equity Order.

POST
/trading-api/v1/equityorder/create-single

Request

Query Parameters

NameData TypeDescription
verifyOnlyBooleanAllows users to review the response of an order without creating the order

Request Body

The Request Body to create a Single Non-Discretionary or Single CAT Equity Order includes several required fields. This ensures that the created order has all necessary parameters for the order to return with no errors.

This request must consist of the below Stonex identifiers:

AttributesData TypeValue
accountNumberStringAssigned Account identifier
inventoryAccountNumberStringAssigned Account identifier
inventorySubNumberStringAssigned Firm identifier
stopPriceNumberPrice assigned to trigger a Stop order
limitPriceNumberPrice assigned to a Limit Order
noPostageBooleanTrue or False
allOrNoneBooleanTrue or False
ttoRepStringCharacter field
commissionTypeStringFlatRate, CentsPerShare, PercentOfDiscount, Zero, Unknown, CommissionSchedule
commissionScheduleInteger
commissionAmountNumber
confirmNoteStringCharacter field
accountTypeStringCash, Margin, Short
securityIdStringCusip, Isin, Sedol, Symbol
securityIdTypeStringCusip, Isin, Sedol, Symbol
quantityNumberAmount
actionStringBuy, Sell, BuyToCover, SellShort
timeInForceStringDay, GoodTillCancel, FillOrKill, GTXPre, NTE
solicitedBooleanTrue or False
notHeldBooleanTrue or False
onCloseBooleanTrue or False

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 TypeDescription
statusCodeIntegerCode identifies success of request
messageStringOutcome of request
dataData BlockMain field containing information of request
errorsErrorsAPI errors
traceIdStringUnique identifier
hasErrorsBooleanTrue or False