Added

New fields, enum values, and schemas across the Trading API

Trading API

Expands the Trading API to reflect current backend behavior with new fields, enum values, and response schemas:

  • New asset class filter values on GET /v2/orders: crypto_perp, treasury, ipo, corporate, global_equity, us_index, and us_equity_chain.
  • New crypto_status field on the account schema, plus new status values: APPROVED, ACCOUNT_CLOSED_PENDING, ACTION_REQUIRED, LIMITED, INACTIVE, PAPER_ONLY, and ACCOUNT_CLOSED.
  • New min_order_size, min_trade_increment, and price_increment fields on the asset schema.
  • New expires_at and ratio_qty fields on the order schema, and a new held value on the order status enum.
  • New swap_rate, avg_entry_swap_rate, prev_swap_rate, and usd fields on the position schema, plus long and short values on the position side enum.
  • A new WalletFeeEstimateResponse schema returned by the crypto transfer fee estimate endpoint.

Affected Endpoints

  • GET /v2/account
  • GET /v2/orders
  • POST /v2/orders
  • GET /v2/orders/{order_id}
  • PATCH /v2/orders/{order_id}
  • GET /v2/orders:by_client_order_id
  • GET /v2/positions
  • GET /v2/positions/{symbol_or_asset_id}
  • DELETE /v2/positions
  • DELETE /v2/positions/{symbol_or_asset_id}
  • GET /v2/assets
  • GET /v2/assets/{symbol_or_asset_id}
  • GET /v2/wallets/fees/estimate