Skip to content
TotalFinance

trade · wire operation

Cancel an open paper order

Journal cancel-requested then cancelled for an open order in the journal store under `<sourceId>:journal`; a terminal order is not cancelled twice (accepted: false, the state says why). Cancelling a combo leg cancels all remaining legs of that plan-local combo. Both the original journal and authorization stores are required to recover pending submissions before cancellation; no new grant is needed. A fill delivered after the cancellation is Decision 6's late-fill path. Paper only; requires trade:paper. Opt-in (tradePack).

totalfinance.trade.cancel
MCP tool name
totalfinance_trade_cancel
Pack / profiles
trade / full
Default discovery
Opt-in (select its pack or profile)
Required capabilities
trade:paper
Effects / authorization
external-order / policy
Cost / cancellation
small / Do not assume inline interruption
Handle-eligible inputs
None
Idempotency
optional

Input schema

FieldTypeMeaning
orderIdRequiredstring—
nowRequirednumber—
sourceIdRequiredstring—
accountIdRequiredstring—
baseCurrencyRequiredstring—
idempotencyKeyOptionalstring—
journalOptionalobject[]Optional exact canonical snapshot of the persisted journal; checked inside the transaction. Never imports or replaces history. An execution-journal store is required.
Complete JSON Schema

Loading…

Output schema

FieldTypeMeaning
orderIdRequiredstring—
acceptedRequiredboolean—
stateRequiredobject—
journalRequiredobject—
Complete JSON Schema

Loading…