Evaluate · software

Trade error management software: inside the agent that meters the cost

Trade error management is the work of logging each trade error, finding its cause, restoring the client and deciding who pays under the firm's policy. This guide opens one part of Trade Error Management, the agent that prices a correction, to show what software should compute, check and never decide, and what to ask before you buy.

Updated · 13 min read

Trade error management is how an investment adviser handles a trade that went wrong: it logs the error, finds the cause, corrects the client's position, prices the cost per client, decides who pays under its trade error policy, gets a second signature, pays, and confirms the client is whole. Software for it should do the evidence work, rebuilding the order from its records, metering the cost and applying the policy's clauses, while people decide and sign. Botminds' Trade Error Management does that work as a conversation with seven agents that open each case, rebuild it, price it, check it and propose the clause, and this guide looks inside the one that matters most to a controller: the Cost agent, which meters the correction as it fills, refuses to net, and never books money.

The design of that one agent shows the design of the whole. It works per client, from the actual fills; a second agent recomputes its answer on its own; it never decides who pays; and every number it produces opens to the record it came from. The screen below is the case it serves, from the solution's fictional sample firm, Quillfield Capital.

The cost meter in Trade Error Management: built fill by fill, per fund, nothing netted

Case TE-2026-0318, decision ready, 120,000 Corvane Industrial shares went to Global Value instead of Equity Income. The cost to correct panel, final at 10:52 a.m., shows $38,412.00 paid by the firm under §2.3: loss on the unwind 120,000 × ($41.1830 − $40.9016) = $33,768.00 to Global Value; commissions on the wrong buy and corrective sale, 2 × 1.5¢ × 120,000 = $3,600.00; fees on the corrective sale $144.00; higher price paid for Equity Income, 120,000 × ($41.1905 − $41.1830) = $900.00. To Global Value $37,512.00, to Equity Income $900.00, netted across clients $0.00, with a replay-the-fills button. The decision panel proposes that the firm pays $38,412.00 and lists the steps: decide, approve at $25,000 or more, book the payment, confirm the fund received it.
Trade Error Management on fictional sample data. Every line opens the fills, schedule or fee table it came from; the replay button steps through the correction fills as the meter saw them.

What is trade error management?

It is the part of an adviser's compliance program that turns a mistake into a client made whole and a cause fixed. The SEC described the purpose of compliance policies in 2003 as to "prevent violations from occurring, detect violations that have occurred, and correct promptly any violations that have occurred" (68 FR 74714); trade error management is the "correct promptly" part for trading, with the prevention coming back round when repeat causes are fixed.

In most firms it runs on email, a spreadsheet log and a policy PDF. That works until it does not: a commission is left out, a gain is netted, the second signature is a rubber stamp, and an examiner's request for every error and how it was resolved takes a week to assemble. Software earns its place by removing those failure points, not by making the decision faster. The trade error process maps where the time goes.

How is the cost of a trade error calculated?

Per client, from the fills, term by term: the loss on unwinding the wrong position, commissions and fees on both the error and the fix, any worse price the right account paid, currency effects, and for a missed trade the opportunity cost if the policy pays it. In the sample case that came to $38,412.00: $33,768.00 on the unwind, $3,600.00 of commissions, $144.00 of fees and $900.00 because the right fund bought later at a higher price. The correction, line by line explains each term and why netting fails.

The Cost agent builds that figure as the correction fills rather than at the end. On Monday morning the corrective sale filled between 9:31 and 9:58 and the corrective buy between 10:02 and 10:47; the meter ticked with each fill, so the compliance officer could see the cost forming and the final figure was ready at 10:52. Nothing about the arithmetic is novel. What is new is that it is done the same way every time, from the source fills, and shown line by line.

What costs are included in a trade error?

Everything the client lost because of the error and its correction, and nothing the client gained elsewhere. The table sets out each term, where its inputs come from, and the rule the agent applies to it.

What the Cost agent in Trade Error Management prices, from which records, under which rule

TermInputsRule the agent applies
Unwind loss or gainOriginal fills; correction fillsPer account; a gain stays with the client account in which it arises
CommissionsCommission schedule for the broker and the trade typeBoth the wrong trade and the fix; never paid from client commissions
Transaction feesRegulatory and exchange fee tables in force on the trade dateIncluded on the corrective trades
Replacement differenceThe right account's fills against the original priceCharged to the firm when the right account paid more, or received less
CurrencyFX rates for each legEach leg at its own rate; differences kept per client
Opportunity costThe price available when the order should have run; the later fillsOnly where the policy pays it, usually a firm order; otherwise the agent asks
Across clientsAll of the aboveNever netted; the agent refuses and says why
The Cost agent's configuration in the solution. The policy clauses it applies are the firm's own, read in at setup and accepted by compliance.

Can software calculate trade error costs automatically?

Yes, when it has the records and the rules, and it should stop where either runs out. The records are the correction fills, the commission schedules, the fee tables and the FX rates. The rules are the firm's policy clauses: whether opportunity cost is paid, how a partial fill is split, what is netted within an account. Where the records are missing, a good system marks the gap rather than filling it; where a clause does not settle the case, it asks.

In the solution, the meter's limits are written into the agent, and it says so on every case: it never nets gains against losses across clients, and it never books money. A missed trade given by chat is the standard example of a stop. The meter can compute that the opportunity cost would be $21,046 if the order was firm; whether it was firm is a compliance call, and the case waits for it.

How is a trade error calculation checked?

Independently, from the raw inputs, by something that did not make the first calculation. In the solution that is the Review agent: it recomputes every cost from the raw fills, on a different model family from the Cost agent, opens every citation before a person sees the case, and blocks the case if its total differs by more than $1. In the sample it matched $38,412.00 to the cent.

The point of two calculations is not that either is likely to be wrong. It is that a check which uses the first calculation's workbook only confirms the workbook. The same logic applies to people: under the sample policy, the person who decides a case can never check or approve it, and the trader who made the error can never approve its correction. The SEC's 2026 Truist order is a reminder of what a check without independence looks like: an adviser approved ten correction requests that moved a representative's losses into clients' accounts, $503,659, because nobody looked at whose account the trades came from (SEC, Truist, 2026).

Seven agents in Trade Error Management, and what each may never do

  1. Agent

    Intake agent

    Opens cases from reconciliation breaks, post-trade alerts, custodian notices, broker letters and trader reports; merges duplicates with a match score; routes non-errors, such as a settlement fail, to their team.

    Never: close a case, or merge below 90% without a person's yes

  2. Agent

    Reconstruction agent

    Rebuilds the order's life from the order system audit trail, FIX logs, central trade matching, the custodian and the communications archive, each event cited.

    Never: edit a source system, or fill a gap it cannot source

  3. Agent

    Cause agent

    Names the root cause with a confidence and an alternative, from the timeline, the cause categories and past cases.

    Never: decide below 85% confidence; it asks the trader or compliance

  4. Agent

    Cost agent

    Meters the correction per client as fills arrive: price, commissions, fees, FX and opportunity cost.

    Never: net gains against losses across clients, or book money

  5. Agent

    Review agent

    Recomputes every cost from the raw fills on a different model family and opens every citation.

    Never: let a case through when its total differs by more than $1

  6. Agent

    Policy agent

    Applies the firm's policy clause by clause: who pays, the approval route, plan and fund notices; drafts broker claims and keeps the reply clock.

    Never: decide; it proposes, and asks when a clause does not settle the case

  7. Agent

    Pattern agent

    Finds causes that come back across cases, drafts the fix with the cases as evidence, and later measures whether it worked.

    Never: change a system; a change request needs the Global Head of Trading

  8. A person decides

    Compliance, the CCO, operations, fund accounting

    A compliance officer decides with a reason code; a second person or the CCO approves; operations books from the error account; fund accounting confirms receipt.

The solution's agents and their limits as configured. Every action an agent proposes waits for a person's click and is logged; every override carries a reason code.

Can AI decide who pays for a trade error?

It should not, and in this solution it cannot. Deciding who pays is a judgment about the firm's own liability, made under a policy the CCO owns, and an adviser's examiners will ask who made it. The Policy agent proposes the clause and the payer and shows the evidence; a compliance officer decides with a reason code such as "policy applied as proposed" or "policy applied, payer edited"; a second person approves. When a clause does not settle the case, the agent asks instead of proposing.

What the agents can do is make the decision well-informed and fast. Asked why the broker does not pay in the sample case, the Policy agent answered from the record: the firm's allocation instruction at 4:12:33 p.m. named the Global Value account, the broker booked it exactly, and the clause that makes the broker pay "applies only when a broker departs from our instruction. I checked all 214 fills: no departure." The decision stayed with the compliance officer; the evidence came with the answer.

Asking the agents where to start: the day ranked by deadline and amount

Today screen for compliance officer Nadia Rahman, Monday, October 19, 2026. She asks: what should I decide first? The agents answer at 11:42 a.m.: start with TE-2026-0318, $38,412.00, due today at 5:00 p.m., and the CCO still has to approve after you; then the four due today, TE-2026-0314 ($14,770), TE-2026-0303 (214 accounts), TE-2026-0313 (gain stays) and TE-2026-0310 (no cost, fairness review); TE-2026-0312 waits for your answer on §3.1. A button opens TE-2026-0318. Below, the agents' log for the morning: 7:12 the Intake agent opened TE-2026-0318 from a cash break, 7:58 merged the trader's report, 8:05 the Reconstruction agent rebuilt the order with 15 events and one missed chance, 9:10 the Intake agent proposed that another signal is a settlement fail, not a trade error, 10:40 the Cause agent asked the trader about another case at 62% confidence.
Trade Error Management on fictional sample data. Answers cite their sources; every action the agents propose, such as opening a case or sending a question, waits for a click.

What should you look for in trade error management software?

Look for the controls an examiner will test, not the dashboard. The questions below are the ones we would put to any system, including ours; a vendor that cannot answer one with a screen and a record has not built it.

Questions to ask any trade error management software

  1. Does it apply our policy, or its own?

    Ask to see your clauses read into rules, each accepted by compliance, with versions dated and approved by the CCO.

  2. Does every number open to its source?

    Fills, schedules, fee tables, the allocation record. A total without its lines is a workbook in a new window.

  3. Is the cost checked independently?

    Recomputed from raw inputs by something other than the first calculation, with a tolerance that blocks the case.

  4. Can it net across clients?

    The right answer is no, enforced, with the refusal shown on the case.

  5. Who can approve what?

    Maker and checker enforced by the system: no one approves their own decision, and the trader never approves the correction.

  6. What happens when the policy is silent?

    The system should ask a named person and record the answer, not guess.

  7. Does it handle plans, funds and non-US funds?

    ERISA clauses, board reporting, and for Luxembourg funds a CSSF Circular 24/856 assessment.

  8. Can it touch our systems?

    Read access to the order system, FIX logs, matching and custodian; writes to the general ledger only after approval; never edits a source system.

  9. What does the examiner get?

    The log of every error and its resolution, each case file with evidence, the policy versions, signatures and the audit trail, kept at least as long as Rule 204-2 requires.

  10. Can we test it on our own past errors?

    Replaying a sample of last year's cases and comparing the system's proposals with what your people decided is the only evaluation that counts.

Our buyer's checklist. Rule 204-2 requires most adviser books and records to be kept for at least five years; the sample firm's retention setting keeps the audit trail for seven.Source: 17 CFR 275.204-2 (eCFR)

A spreadsheet log and Trade Error Management, on the points examiners test

Spreadsheet, email and a policy PDFTrade Error Management
Opening a case

Spreadsheet, email and a policy PDF: When someone writes it up, often a day or more after the first signal.

Trade Error Management: From the first signal, by the Intake agent; duplicate reports merged.

The facts

Spreadsheet, email and a policy PDF: Rebuilt by hand from four systems; screenshots pasted into email.

Trade Error Management: Rebuilt from the records, each event cited, gaps marked.

The cost

Spreadsheet, email and a policy PDF: A workbook; terms forgotten; netting possible.

Trade Error Management: Metered per client from the fills; netting refused; recomputed independently.

The clause

Spreadsheet, email and a policy PDF: Picked from memory; the version in force not recorded.

Trade Error Management: Quoted from the policy version in force, with the approval route.

Signatures

Spreadsheet, email and a policy PDF: Chat approvals; maker and checker not enforced.

Trade Error Management: Reason codes and signatures; maker-checker enforced; every override logged.

Repeat causes

Spreadsheet, email and a policy PDF: Each case closed on its own.

Trade Error Management: Linked across cases; fix drafted with the evidence; result measured.

Our comparison; the right column describes the solution's configuration on its fictional sample data.

Where Trade Error Management fits, and where it does not

It fits between the systems that make trades and the people who answer for errors. It reads the order system, execution and FIX logs, central trade matching, portfolio accounting and the custodian, broker mailboxes and portals, and writes to the general ledger only after a booking is approved. It works the error from first signal to confirmed receipt and keeps the record an examiner reads.

It does not execute trades, allocate blocks or replace the order management system; corrections are approved by the head of trading operations and executed by traders in the firm's own systems. It does not decide who pays; people do. It is not a settlement-fail tool: signals that are fails rather than errors are routed to the team that owns them. And it is not pre-trade compliance: it learns from errors after the fact and proposes fixes, while the checks that stop a trade before it goes out live in the order system. The design targets, measured in the live solution and not results from any customer, are below.

Design targets for Trade Error Management

100%

of errors closed with cause, clause, two signatures and cited evidence

Sameday

from a reported error to a signed decision on cause, payer and amount

30%

fewer repeat errors in a year, as repeat causes are fixed at their source

Targets set in the solution's design, measured in the live solution; not a customer's measured result. Before buying, test them on a sample of your own past errors.

The fastest way to judge it is on your own errors: a sample of past cases, your trade error policy and the order records behind them, replayed so the agents' proposals can be compared with what your people decided. Disagreements are as useful as matches; each one is either a clause the policy needs or a case the agents should have asked about. The trade error log template lists the fields that replay should produce for every case.

Questions people ask

Is trade error management software the same as an order management system?

No. The order management system places and allocates trades and holds the audit trail of what was done. Trade error software reads that trail, with the FIX logs, matching and custodian records, to work an error after it happens. The two connect: the error software's repeat-cause findings usually become change requests for the order system.

How long does it take to set up?

The work is connecting the systems of record read-only, reading the policy into rules for compliance to accept, mapping funds, approvers and thresholds, and replaying past cases to compare the agents with what people decided. The firm's own data access and review time usually set the pace, so ask for a plan with named checkpoints rather than a date.

Can the agents book the reimbursement?

No. In the solution the Cost agent never books money; operations books the payment from the firm's error account after the decision is approved, and fund accounting confirms receipt independently.

What happens if the two cost calculations disagree?

The Review agent blocks the case when its total differs from the Cost agent's by more than $1, and a person sees both calculations line by line before anything moves. A disagreement is usually a missing fill, a fee table or an FX rate, and the citation on each line shows which.

Does the software decide whether something is a trade error?

It proposes a classification; compliance confirms it. That matters because a narrow reading of "error" was the failure in the SEC's 2014 Western Asset order, where compliance staff decided an allocation caused by a coding mistake was not an error under the firm's policy (SEC, Western Asset, 2014).

Trade Error Management.
See it on your own files.

An agentic solution from Botminds. Logs each trade error, finds its cause and applies the error policy for trading and compliance Book a demo, or explore how it works.