Fixed

Account activity types now match what the API returns and accepts

The account activity type enums now match the values the activities endpoints actually return and accept, and the two sets are documented separately.

  • ActivityType describes the types the listing can return, adding values such as DTCS, CORR, SEG, SSO, SSP, VOF, WH, NC, SC, DVF, EXTRD, INVPNL, FXTRD, FXCNV, FIMAT, ALLOC, MEM, CSR, SUB, and ECEXP.
  • A new ActivityTypeFilter schema lists the values accepted for filtering, used by the {activity_type} path parameter and the activity_types query parameter. TRANS, MISC, SWP, and TRD are filter-only and are never returned as an activity_type.
  • CORR, SEG, SSO, SSP, and DTCS can be returned but are not accepted as filter values. SSO and SSP are former spin-off and split codes; current activities use SPIN and SPLIT.
  • CSD is now documented as a cash deposit (+), including returned withdrawals, and CSW as a cash withdrawal (-), including returned deposits. The previous wording pointed the wrong way for the account holder.
  • Descriptions were added for DVF (DVP flip), EXTRD (external trade), INVPNL (inventory profit and loss), and SC (symbol change).
  • activity_sub_type stays a free-form string. The documented mapping is explicitly non-exhaustive and now lists ICF and EPI under FEE.

Broker API

The {activity_type} path parameter now references ActivityTypeFilter. Accepted values are unchanged on the wire.

Affected Endpoints

  • GET /v1/accounts/activities
  • GET /v1/accounts/activities/{activity_type}

Trading API

TRANS and MISC are no longer listed on the response ActivityType enum. They remain accepted as filter values and expand to their underlying entry types before the query runs, so responses never contained them and request handling is unchanged. Generated clients will see these values move to ActivityTypeFilter, and the {activity_type} path parameter is now constrained to that enum instead of an unconstrained string.

Affected Endpoints

  • GET /v2/account/activities
  • GET /v2/account/activities/{activity_type}