Skip to main content
POST
Time Machine — revert an account to a trading day or an instant

Authorizations

Authorization
string
header
required

JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.

Path Parameters

accountId
string
required

Trading account to revert

Body

application/json
reason
string
required

Why the revert happened — stored in the audit trail, account metadata, and webhook events.

Minimum string length: 3
Example:

"CME data feed outage on 2026-07-08"

tradingDay
string

END-OF-DAY restore: Chicago trading day (YYYY-MM-DD) to revert TO. The account is restored to its end-of-day state on this day (or the latest traded day before it). Provide either tradingDay or revertTo.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-07-07"

revertTo
string

POINT-IN-TIME restore: the exact instant (ISO 8601, UTC) to revert TO — e.g. the moment an outage began. The account is restored to its state at that instant: the last end-of-day snapshot before that trading day, rolled forward through the fills booked up to the instant (engine-stamped post-fill balances where available), with everything after the instant voided. Provide either tradingDay or revertTo.

Example:

"2026-09-08T13:30:00Z"

preview
boolean
default:false

Dry run: return exactly what the revert WOULD do (target day, balances, status transition, snapshots removed, orders voided) without changing anything. Perfect for an "are you sure?" confirmation screen.

Example:

true

Response

Account reverted

success
boolean
Example:

true

message
string
Example:

"Trading day reverted successfully"

data
object
Example: