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
amountobjectOptional
Describes the projected costs associated with the order ticket.
equityobjectOptional
Describes the projected change to the account's equity.
initialobjectOptional
Describes the projected change to initial margin.
maintenanceobjectOptional
Describes the projected change to maintenance margin.
positionobjectOptional
Describes the projected change to the account's position in the instrument.
warnstringOptional

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

errorstring or nullOptional

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