New Order Preview

View as MarkdownOpen in Claude
Preview the projected effects of an order ticket or bracket of orders, including cost and changes to margin and account equity.

Path parameters

accountIdstringRequired
The account to which the order will clear.

Request

This endpoint expects an object.
orderslist of objectsOptional
Array of order tickets objects. Only one order ticket object may be submitted per request, unless constructing a bracket.

Response

Order Preview
amountobject
Describes the projected costs associated with the order ticket.
equityobject
Describes the projected change to the account's equity.
initialobject
Describes the projected change to initial margin.
maintenanceobject
Describes the projected change to maintenance margin.
positionobject
Describes the projected change to the account's position in the instrument.
warnstring

Human-readable text of warning message, if applicable. Otherwise null.

errorstring or null

Human-readable text of an error message, if applicable. Otherwise null.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error