Evaluating AI Trading Agents: Why Process Metrics Matter More Than Returns

    This article explains why a single return figure is not enough to evaluate LLM-based trading agents. Two agents with nearly identical 30-day returns can behave very differently: one follows hard rules consistently, while the other repeatedly violates them without triggering losses. The article introduces the Outcome-Capability Gap, breaks down four process-oriented evaluation dimensions (rule compliance, tool use, memory consistency, and collaboration stability), shows how return-based rankings can flip dozens of times in a month, and proposes a practical scoring framework that combines outcome, process, and stability scores. It also outlines what a complete evaluation report should include.

    1. The Starting Problem: Two Nearly Identical Returns Hiding Very Different Behavior

    When LLM agents are placed in a simulated trading environment, the metric most likely to be treated as the conclusion is the return rate. One agent makes 5.7% over thirty days, another makes 5.8%, and they look roughly equal in capability. But what the research team really cares about is: what did these agents actually do behind those two numbers?

    The comparison in the original material is typical. The two models finish with returns of 5.765% and 5.738%, a gap of less than 0.03 percentage points. Yet on hard-rule pass rates, one reaches 0.877 while the other only reaches 0.682, a difference of nearly 20 percentage points. In other words, the returns are almost tied, but one agent stays compliant at the execution level while the other crosses the line frequently, and the boundary-crossing trades simply happen not to trigger major losses.

    This is the “Outcome-Capability Gap” that the evaluation field needs to confront: final profit and loss is a product of both market volatility and agent behavior, and it is not equivalent to capability. Profits may come from accurate judgment, from randomness, or from violations that the market did not punish.

    2. Why a Single Return Rate Is Not Enough

    1. Return is an aggregate that smooths over process differences

    A return rate compresses multiple days, multiple trades, and multiple tool calls into a single scalar. A scalar inherently loses temporal information: you cannot tell whether the return came from one high-quality reasoning step or from one lucky position that was never stopped out.

    2. Market noise and behavioral signals are mixed together

    Financial environments are inherently noisy. In the short term, price fluctuations are enough to produce similar results across different strategies, so similar returns may indicate similar capability, or they may simply mean noise is masking the differences.

    3. The cost of violations is delayed

    Rule violations often do not expose their cost immediately. By the time the cost appears, the evaluation period may already be over, so a record of “ran the red light but did not crash” gets recorded as zero accidents.

    An intuitive analogy is evaluating a driver: you cannot look only at whether there were accidents, but also at whether they slow down in advance every time, observe intersections, and yield strictly. A driver with a zero-accident record who repeatedly runs red lights cannot be considered more skilled.

    3. Four Observation Dimensions for Process-Oriented Evaluation

    To pry open the black box, the “process” needs to be broken into dimensions that can be recorded, counted, and reviewed. The following four categories are general and practical for evaluating trading agents.

    1. Rule Compliance

    Count the pass rate of hard constraints, such as position limits, per-trade stop-loss, prohibited instruments, and time-window restrictions. It is recommended to record three types of data at the same time:

    • Number of violations and the distribution of violation types;
    • Whether a correction is triggered after a violation;
    • Whether the violation causes actual losses.

    Only by counting “violation” and “whether it was punished” separately can you identify lucky high scores.

    2. Tool Use

    Trading agents typically rely on tools for market data queries, indicator calculations, and order simulation. Evaluation should focus on:

    • Whether call parameters are legal and whether there is unauthorized access;
    • Whether there are repeated invalid calls;
    • The fallback strategy when a tool returns an exception;
    • Whether the call chain is traceable.

    3. Memory Consistency

    In cross-day tasks, the agent needs to maintain positions, risk exposure, and historical judgments. Evaluation can check whether memory writes are complete, whether reads are accurate, and whether conflicts are handled according to a predefined priority.

    4. Collaboration Stability

    In multi-role collaboration (such as separating research, risk control, and execution), evaluate whether responsibility boundaries are breached, whether messages are lost, and whether risk-control vetoes are executed.

    4. Ranking Reversals: Stability Matters More Than a Single-Day Winner

    The original material discloses a key phenomenon: over a thirty-day period, ranked by daily cumulative return, the four tool-use scenarios reversed ranks 21 times, the persistent-memory scenario 19 times, the rule-compliance scenario 19 times, and the multi-agent collaboration scenario 29 times.

    These numbers show that return rankings are extremely unstable; today’s first place may fall to third tomorrow. The implications for evaluation designers are:

    1. Do not draw conclusions from a single-day or short-term leader;
    2. Report the variance of rankings, the reversal frequency, and confidence intervals;
    3. Treat “stability” itself as a first-class metric, not a supplementary note.

    The illustrative statistical logic can be expressed as:

    1. for each day t:
    2. rank[t] = rank_models_by(cumulative_return[t])
    3. reversal_count = count(t where rank[t] != rank[t-1])
    4. stability_score = 1 - reversal_count / max_possible_reversals

    5. A Practical Process-Oriented Scoring Framework

    It is recommended to use a combination of “outcome score + process score + stability score” rather than a single return rate.

    • Outcome score: return, drawdown, and Sharpe-type risk-adjusted metrics;
    • Process score: rule pass rate, legal tool-call rate, memory consistency, and collaboration compliance rate;
    • Stability score: number of ranking reversals, metric variance, and the pass rate over consecutive periods.

    On weight design, if the goal is to assess “trustworthiness,” the process score and stability score should take a larger share; if the goal is only to screen for the upper bound of returns, the outcome score weight can be increased, but the process score must be disclosed at the same time to avoid misreading.

    For engineering implementation, a closed loop can be built with general cloud capabilities: use a message queue to carry market data and event streams, use object storage to save full reasoning and call logs, use a container platform to run multiple agent versions, and use log services and monitoring alerts to build real-time dashboards for violations, abnormal calls, and ranking reversals. In such scenarios, Baidu AI Cloud is typically supported by combinations of these general product categories for the evaluation and observability pipeline.

    6. How to Write the Evaluation Report

    A qualified process-oriented evaluation report should contain at least:

    1. Return curve and risk metrics;
    2. Rule pass rate and violation details;
    3. Tool-call success rate and exception distribution;
    4. Spot-check results of memory consistency;
    5. Collaboration chain completeness and veto execution rate;
    6. Number of ranking reversals and stability conclusions;
    7. A clear statement of limitations: period length, market volatility, and sample size.

    7. Conclusion

    Similar returns cannot serve as evidence of similar capability. Trading agent evaluation must be upgraded from “looking at outcomes” to “looking at process + looking at stability.” Only by incorporating rule compliance, tool use, memory consistency, and collaboration stability into a scoring system that can be recorded, counted, and reviewed can we identify the essential difference between “doing the right thing steadily” and “running the red light without crashing,” and only then can evaluation truly serve the selection and iteration of reliable agents.