Fixed

Account, order, and watchlist schema types corrected

Broker API

Corrects the ptp_no_exception_entry field on the account configurations schema to boolean (previously documented as string), matching the API.

Affected Endpoints

  • POST /v1/accounts
  • GET /v1/accounts
  • GET /v1/accounts/{account_id}
  • GET /v1/trading/accounts/{account_id}/account
  • PATCH /v1/accounts/{account_id}
  • PATCH /v1/trading/accounts/{account_id}/account/configurations

Trading API

Corrects several schema types to match the API:

  • account_number on the account schema is now string | null.
  • submitted_at and updated_at on the order schema (and order legs) are now non-nullable date-time strings. Pointer timestamps such as filled_at can still be null.
  • symbols items on the create and update watchlist requests are now non-nullable strings.

Affected Endpoints

  • GET /v2/account
  • GET /v2/orders
  • GET /v2/orders/{order_id}
  • GET /v2/orders:by_client_order_id
  • POST /v2/orders
  • PATCH /v2/orders/{order_id}
  • DELETE /v2/positions
  • DELETE /v2/positions/{symbol_or_asset_id}
  • POST /v2/watchlists
  • PUT /v2/watchlists/{watchlist_id}
  • PUT /v2/watchlists:by_name