Added

Watchlists can hold US option contracts

Watchlists now support US option contracts alongside equities and other assets.

  • Create, update and add requests accept an option contract by its OCC symbol, contract ID or name. Only active, tradable contracts that have not expired can be added, and expired contracts are left out of a watchlist.
  • An option item in a watchlist has class: us_option, the contract ID in id, and an empty exchange. Only symbol, name, status and tradable describe the contract; the remaining asset fields are omitted or returned with placeholder values (false, 0, "0", []).
  • The Exchange enum now also allows "", matching the behavior option positions already have. Clients that validate responses strictly against the previous enum should accept the empty value.
  • The create, update and add operations now document a 422 response for an unknown, inactive, non-tradable or already-listed symbol or contract.

Broker API

Look up an option contract ID with GET /v1/options/contracts/{symbol_or_id}. The 404 on adding a symbol now applies only to a missing watchlist.

Affected Endpoints

  • POST /v1/trading/accounts/{account_id}/watchlists
  • GET /v1/trading/accounts/{account_id}/watchlists/{watchlist_id}
  • PUT /v1/trading/accounts/{account_id}/watchlists/{watchlist_id}
  • POST /v1/trading/accounts/{account_id}/watchlists/{watchlist_id}
  • DELETE /v1/trading/accounts/{account_id}/watchlists/{watchlist_id}/{symbol}

Trading API

Look up an option contract ID with GET /v2/options/contracts/{symbol_or_id}. The watchlist example now includes an option item.

Affected Endpoints

  • POST /v2/watchlists
  • GET /v2/watchlists/{watchlist_id}
  • PUT /v2/watchlists/{watchlist_id}
  • POST /v2/watchlists/{watchlist_id}
  • DELETE /v2/watchlists/{watchlist_id}/{symbol}
  • GET /v2/watchlists:by_name
  • PUT /v2/watchlists:by_name
  • POST /v2/watchlists:by_name