Skip to main content

Edit user-editable trade fields

PATCH 

/api/v1/trades/:tradeId

Edit the subset of fields users are permitted to change:

  • strategyId: always editable
  • notes: always editable (max 2000 characters)

Trade dates come from fills and cannot be edited. A body that names openedAt or closedAt, with any value, returns 400 and changes nothing.

Request​

Responses​

Trade updated successfully