Improved

`legs` on the order leg schema clarified as always null

The legs field on the order leg schema is now documented as always null for an order leg, since legs are not nested beyond one level. The field's type and runtime behavior are unchanged.

Broker API

  • 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 /v1/events/trades
  • GET /v2/events/trades

Trading API

  • POST /v2/orders
  • GET /v2/orders
  • GET /v2/orders/{order_id}
  • GET /v2/orders:by_client_order_id
  • PATCH /v2/orders/{order_id}
  • DELETE /v2/positions
  • DELETE /v2/positions/{symbol_or_asset_id}