← Glossary

Devancore Post-Trade Glossary

Brokerage API Post Trade

Brokerage API post trade integration turns API orders, fills, journals, transfers, and account events into a controlled operating record with mapping, status, exceptions, reconciliation, and evidence.

Definition

Brokerage API post trade integration is the controlled handoff from API-connected brokerage activity into post-trade operations. Many firms understand how to place an order through a brokerage API. Fewer treat the fill, journal, transfer, and account snapshot as records that must be mapped, aged, reconciled, and retained.

The practical control problem is divergence. The brokerage platform is one source of account truth. The firm's application, OMS, or shadow ledger is another. If those views drift, operations cannot explain a cash balance, a partial fill, a canceled remainder, a dividend, or an ACATS movement. Brokerage API post trade integration exists to keep those views explainable.

API event to operating record

API event to operating record

A brokerage API is useful when each payload becomes mapped state, not only a successful HTTP response.

Record area What the integration holds Control question
Order and fill Order ID, fill ID, side, quantity, price, venue, timestamp, partial-fill remainder, and source payload Can the post-trade blotter be traced to the API event that created it?
Account map Customer, omnibus, sub-account, office, and brokerage account identifiers Did the event post to the account the firm actually operates?
Instrument map Internal ID, CUSIP, ISIN, ticker, fractionals, and settlement eligibility Does the API symbol resolve to the instrument used for position, cash, and reporting?
Activity journal Fills, cash journals, fees, dividends, interest, and non-trade balance changes Can every cash or position change be tied to a source event?
Transfer state ACATS, wire, ACH, or in-kind transfer status, quantity, and completion time Is the transfer pending, complete, failed, or aged with an owner?
Evidence Webhook or poll payload, delivery time, idempotency key, mapping result, approval, and close state Can operations reconstruct the account change without assembling API logs by hand?

Execution ends when the API accepts, rejects, or fills an order. Post-trade begins when that result must become trade capture, allocation, enrichment, confirmation, settlement instruction, reconciliation, and audit trail. A successful order response is not a finished operating record. Cash may still move. A remainder may still fill. A journal may still post. A transfer may still fail after the customer-facing screen shows complete.

The integration therefore has to ingest more than trades. It has to ingest account mapping, instrument identifiers, status updates, exceptions, reconciliations, and records. An embedded investing account reconciliation API is the same operating problem at smaller ticket size: the application ledger still has to prove it matches the broker's account activity. A shadow ledger integration for a brokerage API is useful only when each local posting can be tied to a source event ID.

Handling partial fills in embedded brokerage apps is a common break. One order can produce several fill events, a remaining quantity, a cancel of the remainder, and a later correction. If those events are collapsed too early, the blotter, average price, cash, and confirm no longer agree. Tracking ACATS status via brokerage API webhooks has the same shape: the transfer is a workflow object with pending, complete, fail, and evidence states, not a one-time JSON field.

How it works

Brokerage API post trade integration works by converting API events into a post-trade workflow. The workflow starts when an event is received and ends when the record is captured, reconciled, or aged as an open exception with evidence.

Brokerage API post-trade control points

Brokerage API post-trade control points

Breaks appear where an API success is treated as a finished operating record.

Step Data required Failure mode
Ingest REST response, webhook, drop copy, poll snapshot, and source event ID Missed, duplicate, delayed, or unattributed event
Map Account, instrument, currency, quantity, trade date, and settlement date Right economics posted to the wrong customer or security
Capture status New, partial, filled, canceled, rejected, expired, or replaced Partial fills collapsed into one row with no remaining quantity
Enrich SSI, fee, tax-lot context, confirm, and settlement instruction inputs Trade captured while still incomplete for settlement or reporting
Reconcile Internal blotter, cash, position, journal, and broker account snapshot Embedded investing account reconciliation API gap with no owner
Retain Payload, mapping, correction, approval, and downstream extract Audit trail that cannot prove why a position or cash balance changed

Ingest is the first control. Events may arrive as a REST response, a webhook, a poll of account activities, a drop copy, or an end-of-day snapshot. Each event needs a source event ID, payload, timestamp, and delivery evidence. Duplicate webhooks, retried POSTs, and missed pushes are expected. Idempotency should prevent a second journal, fill, or cash movement from the same source event.

Out-of-order delivery is also expected. A settle or cash event can arrive before the fill that explains it. A cancel can arrive after a late fill. The operating record should hold pending state instead of posting blindly in arrival order. The end-of-day broker snapshot remains the check on the live stream.

Mapping comes next. Customer, omnibus, and sub-account identifiers in the API may not match the firm's internal account master. Tickers, CUSIPs, ISINs, and fractional quantities may not match the instrument master. If the map is wrong, later reconciliation looks like a cash or position break when the cause is reference data.

Status capture keeps the trade blotter honest. New, partial, filled, canceled, rejected, expired, and replaced are different states. An OMS or EMS may already hold order intent. The brokerage API holds the broker's execution and account result. Post-trade needs both lineage and the broker's current state.

Enrichment and settlement instruction turn a captured event into a downstream record. Fees, confirms, tax-lot context, SSIs, and settlement dates may arrive on a different endpoint or a later webhook. The integration should show what is still missing before operations treat the row as complete.

Exception and supervision points sit on journals and transfers as much as on trades. An admin journal between accounts, a fee reversal, a dividend, or an ACATS reject can change customer assets without a new order. Those actions need owner, reason, maker-checker review, and retained payload. Reconciling transaction journals against the broker's activity feed is the daily proof that the internal record still matches.

Reconciliation closes the loop. Internal blotter, cash, position, and journal records should be compared with the broker's account snapshot, activity list, confirm, and statement extract. Breaks should carry cause, owner, aging, and source event. The audit trail should preserve the payload that created the change, not only the final balance.

Brokerage API — payload to control map

Devancore · message matrix

Rail Message Purpose Record
Order / fill execution event trade capture order ID, fill ID, quantity, price, partial remainder, timestamp, and source payload
Journal non-trade activity cash and position fee, dividend, interest, cash journal, reason, and source event ID
Transfer ACATS or cash movement asset movement transfer ID, status, quantity, cash amount, completion time, and exception owner
Webhook push notification lifecycle signal delivery time, retry count, idempotency key, and sequence or event ID
Control exception state supervision break owner, reason, approval, correction, and reconciliation result

In Devancore™

Devancore supports brokerage API post trade integration as a post-trade operating record around API-connected activity. It can help teams ingest source events, map accounts and instruments, keep fill and journal state, retain reconciliation evidence, and feed blotter, settlement, supervision, and reporting workflows from the same chain.

Devancore does not act as a brokerage, execution venue, introducing broker, adviser, custodian, or clearing firm. It does not place orders, hold customer accounts, or issue confirms. Its role is to help keep the firm's operating copy of API activity coherent after the broker has accepted, filled, journaled, transferred, or rejected an event.

In a Devancore-style workflow, an order, fill, partial fill, cancel, journal, fee, dividend, transfer, confirm, or account snapshot enters as a source event. The record is mapped to account, instrument, quantity, cash, dates, and workflow state. New, partial, filled, pending, unmatched, repaired, reconciled, and closed remain visible with owner, timestamp, reason, idempotency key, and source payload.

That structure is what operations actually use. The brokerage API may know the live account. The application or OMS may know customer intent. Post-trade still needs to see which webhooks were duplicated, which partial fills remain open, which journals lack approval, which ACATS rows are aging, and which internal postings do not match the broker snapshot.

Conversational finance depends on the same record. A user can ask which API fills have no internal blotter row, which journals posted without maker-checker review, which ACATS transfers are still pending, or which cash breaks came from non-trade activity. The answer should resolve to source payloads, mapped records, status, owners, and evidence.