buy
Purchase stocks using cash amount for fractional shares or quantity for full shares. Add limit price for limit orders; omit for market orders.
Instructions
Buy. Provide cash_amount (US$, fractional via cashQty) OR quantity (shares).
Omit limit_price for a market order. Pass limit_price for a LIMIT order —
LIMIT requires quantity (cashQty is market-only). A limit order may surface a
confirmation IBKR hasn't mapped yet; if so it is blocked (safe) until allow-listed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| quantity | No | ||
| cash_amount | No | ||
| limit_price | No |