preview_stock_order
Preview a stock order before placing it to verify details and obtain a confirm token for safe execution.
Instructions
Preview a stock order WITHOUT sending it (dry_run=True). Always call this first.
Args: symbol: Ticker symbol (e.g. 'NVDA'). order_type: buy | sell | sell_short | buy_to_cover quantity: Number of shares. price_type: limit | market | stop | stop_limit | trailing_stop_dollar | trailing_stop_percent duration: day | day_ext | overnight | gt90 (gt90 ≈ GTC, 90-day) price: Limit price (required for limit/stop_limit orders). stop_price: Stop trigger price (required for stop/stop_limit orders).
Returns JSON with order preview confirmation data, plus "confirm_token": pass that token unchanged to place_stock_order (with the identical order arguments) to actually send it. The token expires in 10 minutes and works once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| symbol | Yes | ||
| duration | No | gt90 | |
| quantity | Yes | ||
| order_type | Yes | ||
| price_type | No | limit | |
| stop_price | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |