/v2/journal/trades/{id} Create or replace journal trade
journal_putTrade
Stores a journal trade under an id you choose, so a retried request cannot record it twice.
Path parameters
idstring requiredYour id for the trade, such as a ULID
Request body
The contract does not describe a body schema for this operation; the notes on this page give its fields.
Details
The body and its required fields are the same as for POST /v2/journal/trades, and the path id wins over any id in it.
Response
Prices are dollars, timestamps epoch milliseconds, strikes integer thousandths of a dollar; null means unknown. Units →
200application/json
The stored 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.
| Status | Meaning |
|---|---|
| 400 |
|
| 401 |
|