Docs
PATCH /v2/journal/trades/{id}

Update journal trade

journal_patchTrade

Changes some fields of one journal trade and returns it, or 404 not_found for an id you do not have.

Path parameters

id string required

Trade id

Request body

The contract does not describe a body schema for this operation; the notes on this page give its fields.

Details

The body is a JSON Merge Patch (RFC 7396): an omitted field is unchanged and a value sets it. {"note": null} clears the note.

Response

Prices are dollars, timestamps epoch milliseconds, strikes integer thousandths of a dollar; null means unknown. Units →

200application/json

The updated trade in data

object

A successful response: data, plus meta about the response.

data object required

A journal trade.

account_id string required
id string required
note string nullable
price number · double required

Fill price per share or per contract.

qty number · double required

Shares or contracts.

side string required

buy or sell. Any non-empty string is accepted.

symbol string required
ts integer · int64 required

Trade time.

meta object required

Response metadata.

caps object nullable

The entitlement caps that shaped this response.

applied array<string> required

Caps that changed this response, such as range_clamped. Empty when none did.

darkpool boolean nullable

Whether this account has Off-Exchange in the ITMatrixHQ apps.

flow boolean nullable

Whether this account has options flow in the ITMatrixHQ apps: Basic or Pro plus a market-data declaration, except on a professional trial. Reported by the account operations.

gexDepth string nullable

GEX data depth, on routes that report it.

tier string required

The plan tier the request was served under.

cursor string nullable

Opaque continuation cursor (pass back as ?cursor=); absent when there is nothing more to read.

plane string nullable

Which serving tier answered the read (meta.plane). Informational provenance: treat it as an opaque label, because new values may appear.

Errors

Every error is the JSON error envelope; branch on error.code.

StatusMeaning
401

unauthenticated

404

not_found