Submit Multi-Leg Order
submit_multileg_orderSubmit a multi-leg option strategy order (e.g., covered call, vertical spread, straddle) where all legs execute together as one combination order.
Instructions
Submit a multi-leg option combination order; all legs fill or rest together as one strategy order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| legs | Yes | The legs of the combination, in strategy order. Option symbols only. | |
| side | Yes | Buy or Sell — the direction of the strategy as a whole | |
| remark | No | Order remark (max 255 characters) | |
| strategy | Yes | Strategy, which fixes how many legs are required and the direction of each: CoveredCall / CoveredPut (stock + option) / VerticalCallSpread / VerticalPutSpread / Collar / Straddle / Strangle / CalendarCallSpread / CalendarPutSpread (the two calendar spreads pair the same strike across two expiries) | |
| order_type | Yes | Order type: LO (Limit, requires submitted_price) or MO (Market) | |
| submitted_price | No | Net limit price for the whole combination. Required for LO. | |
| client_request_id | No | Idempotency key, unique per intended order. See the field of the same name on `submit_order`. | |
| submitted_quantity | Yes | Number of strategy units to trade (each unit is one set of legs in the ratios given by `legs`) |