Fixed

Order side on Broker API is limited to "buy" and "sell"

Broker API

The OrderSide schema now documents only the values the API actually accepts and returns: buy and sell. The values buy_minus, sell_plus, undisclosed, cross, sell_short, sell_short_exempt, and cross_short have been removed from the order side enum.

  • Order, position, rebalancing run, and trade event payloads now reflect the buy/sell order side values only.
  • Trade activities now reference a dedicated TradeActivitySide schema, so activity side values are unchanged.

Affected Endpoints

  • POST /v1/trading/accounts/{account_id}/orders
  • GET /v1/trading/accounts/{account_id}/orders
  • GET /v1/trading/accounts/{account_id}/orders/{order_id}
  • GET /v1/trading/accounts/{account_id}/orders:by_client_order_id
  • PATCH /v1/trading/accounts/{account_id}/orders/{order_id}
  • DELETE /v1/trading/accounts/{account_id}/orders
  • POST /v1/trading/accounts/{account_id}/orders/estimation
  • DELETE /v1/trading/accounts/{account_id}/positions
  • DELETE /v1/trading/accounts/{account_id}/positions/{symbol_or_asset_id}
  • GET /v1/rebalancing/runs
  • GET /v1/rebalancing/runs/{run_id}
  • GET /v2/events/trades
  • GET /v1/accounts/activities
  • GET /v1/accounts/activities/{activity_type}