I can't submit OTO order or OCO order with option symbol

I am using Alpaca API and submit an OTO order or OCO order with an option symbol. For example: I submit order with body

{
  "side": "buy",
  "symbol": "AMZN240517P00185000",
  "type": "market",
  "limit_price": null,
  "qty": 1,
  "time_in_force": "day",
  "order_class": "oto",
  "take_profit": null,
  "stop_loss": {
    "stop_price": 9.3000000000,
    "limit_price": null
  }
}

I received an error message from Alpaca: “Complex orders not supported for options trading”. Does Alpaca support OTO orders or OCO orders for option trading?

@Vu_Hoang As of right now Alpaca only supports single leg orders and only level 1 + 2 (so no complex orders or spreads at this point).

We are working diligently to support complex orders and level 3 in the near future, so please stay tuned as we send out updates on our progress.

1 Like

Thank you for your answer, understood!