preview_option_spread
Preview a two-leg option spread without sending it: specify legs, transactions, limit type, and net price. Get order JSON plus a one-time confirm token for later submission.
Instructions
Preview a two-leg option spread WITHOUT sending it (dry_run=True). Always call this first.
Args: symbol1 / symbol2: OCC symbols of the two legs (e.g. 'NVDA261120C00270000'). transaction1 / transaction2: buy_to_open | sell_to_open | sell_to_close | buy_to_close per leg (e.g. debit call spread = leg1 buy_to_open lower strike, leg2 sell_to_open higher strike). limit_type: 'debit' (you pay net_price) or 'credit' (you receive net_price). net_price: Net limit price per spread. contracts1 / contracts2: Contracts per leg (default 1 each).
Notes: complex orders are DAY only (no GTC) and accepted by Firstrade only 7AM–4PM ET (ref 1110 otherwise). Returns JSON preview plus "confirm_token": pass that token unchanged to place_option_spread (with the identical arguments) to actually send it. The token expires in 10 minutes and works once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol1 | Yes | ||
| symbol2 | Yes | ||
| net_price | Yes | ||
| contracts1 | No | ||
| contracts2 | No | ||
| limit_type | Yes | ||
| transaction1 | Yes | ||
| transaction2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |