latestOpenAPI 3.1.02026-08-22181751733.6 KB

67f9f562c2c6

tradingOrders

New Order Preview

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

post/iserver/account/{accountId}/orders/whatif

Path parameters

accountIdstring required

The account to which the order will clear.

Request body

Response

Order Preview

warnstring

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

errorstring nullable

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