preflight_short_order
Estimate costs for a short-sale equity order before placing it. Returns estimated commission, fees, and buying power impact without executing the trade.
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 | ||
| order_type | No | MARKET | |
| time_in_force | No | DAY | |
| limit_price | No | ||
| stop_price | No | ||
| expiration_time | No | ||
| equity_market_session | No | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |