legs array with one entry describing the contract. The presence of that single leg is what tells the platform “this is an option order.”
The rule that drives everything: the number of entries in
legs decides the order shape — 0 = equity, 1 = single-leg option (this page), 2–4 = multi-leg option. See Order Flow.Anatomy of a single-leg option order
The top-level fields describe the order; the leg describes the contract.| Level | Field | Notes |
|---|---|---|
| Order | symbol | The underlying symbol (e.g. AAPL). |
| Order | side | BUY or SELL — the direction of the order. |
| Order | type | MARKET, LIMIT, STOP, or STOP_LIMIT (price fields per those rules). |
| Order | qty | Number of contracts. |
| Order | timeInForce | DAY or GTC only for options. |
| Order | price | Per-contract limit price, if LIMIT/STOP_LIMIT. |
| Leg | securityType | OPT for an option. |
| Leg | side | BUY or SELL (also accepts B/S). |
| Leg | putCall | CALL or PUT (also accepts C/P). |
| Leg | strikePrice | The strike, as a decimal string. |
| Leg | maturity | Expiration date, YYYY-MM-DD. |
| Leg | positionEffect | OPEN or CLOSE (also accepts O/C). |
| Leg | ratioQty | "1" for a single leg. |
| Leg | symbol | Optional; defaults to the order-level underlying. |
side vs. positionEffect. side is whether you’re buying or selling the contract; positionEffect is whether that opens a new position or closes an existing one. A BUY + OPEN opens a long option; a SELL + CLOSE sells one you already hold; a SELL + OPEN writes a new short option.Example — buy 1 AAPL call to open (limit)
Buy to open 1 AAPL 2.50 per contract.cURL
Example — sell to close 2 puts (limit)
Request body
Example — market option order
Response
Watch it fill
Option order updates arrive on the sameaccount topic as account.order events, but with securityType: "OPTION" and the legs echoed back:
account.order — single option filled
Next steps
Multi-leg option
Combine 2–4 legs into spreads, calendars, and ratio strategies.
Options contract symbols
Look up the strikes and expirations available for an underlying.
Limit order
The pricing and WebSocket mechanics carry over to options.
Try it live
Interactive reference and full schema.