preflight_short_order
Estimate costs and buying power impact for a short equity order before placing it. Avoid unexpected fees by pre-calculating commission and expenses.
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, or STOP_LIMIT. Default is MARKET. time_in_force: DAY or GTD. Default is DAY. limit_price: Required for LIMIT and STOP_LIMIT 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.
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 |