preview_order
Preview an order's margin, estimated commission, and warnings before submitting it, using IBKR's whatif scenario to evaluate cost and risk.
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 |