preview_order
Validate an order and check it against safety guardrails before placing it, returning a single-use confirmation ID for a dry-run preview.
Instructions
Validate an order and check it against the guardrails WITHOUT sending it.
size is the number of units (fractions allowed). limit_price is required for order_type=limit, stop_price for stopMarket. expiry gtd needs expiry_date (YYYY-MM-DD). Market orders only support expiry gfd. Returns a single-use confirmation_id for place_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isin | Yes | ||
| side | Yes | ||
| size | Yes | ||
| expiry | No | gfd | |
| exchange | No | ||
| order_type | No | market | |
| stop_price | No | ||
| expiry_date | No | ||
| limit_price | No | ||
| sell_fractions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||