---
spec: trading.yaml
operationId: placeOrder
---

Place a new order for the specified account. Call [Preview Order](/docs/trading-orders-preview) first to pre-validate and show the results to the user, and then use `confirmId` in this request.

## Code Samples

```json
{
  "instrument": "BAC",
  "side": "buy",
  "type": "limit",
  "quantityType": "qty",
  "qty": "100",
  "limitPrice": "30.0",
  "category": "stock",
  "durationType": "day",
  "extendHours": "reg",
  "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."
}
```
