Added

Account activity types expanded and new filter enum

Broker API

The account activity schemas now match the set of entry types the backend actually returns and accepts, and filtering uses its own enum.

  • ActivityType (the value returned on an activity) gains ALLOC, CFEE, CORR, CSR, DIVFEE, DIVFT, DIVTW, DIVWH, DTCS, DVF, ECEXP, EXTRD, FIMAT, FXCNV, FXTRD, INTNRA, INTTW, INVPNL, JNL, MEM, NC, PTR, SC, SEG, SSO, SSP, SUB, VOF, and WH.
  • A new ActivityTypeFilter schema lists the values accepted for filtering. It is now referenced by the activity_type path parameter and the activity_types query parameter.
  • The returned and accepted sets are not identical: TRANS, MISC, SWP, and TRD can be used as filters only, while CORR, SEG, SSO, SSP, and DTCS are returned but rejected as filter values.
  • CSD is now documented as a cash deposit (+), including returned withdrawals, and CSW as a cash withdrawal (-), including returned deposits. Descriptions were added for DVF, EXTRD, INVPNL, and SC.
  • activity_sub_type remains a free-form string; the documented mapping is explicitly non-exhaustive and FEE now lists ICF and EPI.

Affected Endpoints

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