preview_order
Preview an order's impact on margin, commission, and warnings before sending it. Evaluate cost and risk of buy/sell orders using IBKR's what-if simulation.
Instructions
Preview an order's impact (margin, estimated commission, warnings) WITHOUT sending it.
Uses IBKR's whatif so the agent can reason about cost/margin before committing. side
is "BUY" or "SELL"; size is cash_amount (USD) or quantity (shares). Pass
limit_price to preview a LIMIT order (needs quantity).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | BUY | |
| symbol | Yes | ||
| quantity | No | ||
| cash_amount | No | ||
| limit_price | No |