preflight_short_order
Estimate commission, fees, and buying power impact for a short-sale equity order before placing it; does not execute the order.
Instructions
Estimate costs for a short-sale equity order before placing it.
Returns estimated commission, fees, and buying power impact. Does NOT place an order.
Args: symbol: Ticker symbol to short (e.g. "AAPL"). quantity: Number of shares to short. order_type: MARKET, LIMIT, STOP, STOP_LIMIT, MARKET_ON_CLOSE or LIMIT_ON_CLOSE. Default is MARKET. The on-close types execute at the closing auction. time_in_force: DAY or GTD. Default is DAY. limit_price: Required for LIMIT, STOP_LIMIT and LIMIT_ON_CLOSE orders. stop_price: Required for STOP and STOP_LIMIT orders. expiration_time: Required when time_in_force is GTD. ISO 8601 format. equity_market_session: CORE or EXTENDED. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"quantity": "<quantity>"
},
"name": "preflight_short_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| quantity | Yes | ||
| account_id | No | ||
| order_type | No | MARKET | |
| stop_price | No | ||
| limit_price | No | ||
| time_in_force | No | DAY | |
| expiration_time | No | ||
| equity_market_session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |