---
spec: trading.yaml
operationId: placeOptionOrder
---

Place a new option order for the specified account. Call [Preview Option Order](/docs/trading-option-orders-preview) first to pre-validate and show the results to the user, and then use `confirmId` in this request. Option symbol is expected in the following format: \[Underlying symbol\]\[Expiration date YYYYMMDD\]\[C or P\]\[Strike price\]

## Code Samples

```json
{
  "contractId": "AAPL20260116C150",
  "side": "buy",
  "openClose": "open",
  "type": "limit",
  "qty": "1",
  "limitPrice": "5.00",
  "category": "option",
  "durationType": "day",
  "confirmId": "0000001"
}
```

## Response Examples

```json 200
{
  "s": "ok",
  "d": {
    "orderId": "112358"
  }
}
```

```json error
{
  "s": "invalid_grant",
  "errmsg": "Invalid grant, the account may not exist or may not be opened yet."
}
```
