Skip to content

Reopen a same-day closed position (R13).

POST
/api/positions/{id}/reopen
curl --request POST \
--url https://api.tradr.cloud/api/positions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reopen \
--header 'Content-Type: application/json' \
--data '{ "reopenedAt": "2026-04-15T12:00:00Z" }'

Authed. Transitions a closed position back to open for intraday re-entries, clearing closedAt while preserving openedAt (the position’s identity day). Allowed only when openedAt and the reopen timestamp fall on the same calendar day in the account’s timezone — a position opened on a previous day must be re-entered as a new position. A supplied reopenedAt may not precede closedAt nor lie in the future. Reopening posts a compensating reversing ledger row for the prior close so a subsequent re-close does not double-count realized P&L.

id
required
string format: uuid
Media typeapplication/json
object
reopenedAt

Optional ISO-8601 reopen timestamp; defaults to now. Must be on or after the position’s close time and not in the future.

string format: date-time
Examplegenerated
{
"reopenedAt": "2026-04-15T12:00:00Z"
}

The reopened (now open) position.

ReopenedAt precedes closedAt or is in the future.

Position not found (or not owned by the user).

The position is not closed