Skip to main content

Set UTM start date

PATCH 

/api/v1/accounts/:accountId/utm-start-date

Set or clear the UTM start date for an account. Trades and broker positions opened before this date are excluded from reconciliation. Send null to clear the date.

Reconciliation backfill runs as part of the same request so the database matches what the reconciliation page shows:

  • When the date is set or moved later, orphan executions (tradeId IS NULL) whose linkState is pending_review and which fall before the new date are flipped to ignored.
  • When the date is cleared, orphan executions whose linkState is ignored and which fell before the previous date are flipped back to pending_review so they reappear in the reconciliation queue.

Request

Responses

UTM start date updated