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)
  • openedAt: editable only for imported trades
  • closedAt: editable only for imported trades

Attempting to edit openedAt or closedAt on a non-imported trade returns 400.

Request

Responses

Trade updated successfully