Preview Order
preview_orderCheck order pricing and fees without placing a trade. Get an estimated cost and buying-power comparison to ensure affordability before submitting an order.
Instructions
Asks the broker to price and validate an order WITHOUT placing it. Non-binding and safe. Returns the broker's estimated cost and transaction fee, plus a buying-power comparison. Use this before draft_order to check affordability and fees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | BUY or SELL. | |
| symbol | Yes | Ticker symbol (e.g. AAPL, MU). | |
| quantity | Yes | Number of shares (fractional allowed). | |
| order_type | No | LMT (Limit) or MKT (Market). | LMT |
| limit_price | No | Required when order_type is LMT. |