One agent proposes a financial signal, a second writes the code, and a third checks the result in a backtest. If the whole thing falls short, the evaluation offers clues for the next attempt. That’s how the finance agent NVIDIA presents in a technical blog post works.

The loop is interesting: it automates not only the production of ideas, but also their testing and revision. But, strictly speaking… something about it feels a little off: When is a backtest still an independent test if its result helped shape the next idea?

The backtest becomes part of development—and ceases to be an independent final test

NVIDIA is showing a developer example here, btw, not a study of profitable trading strategies. ;) The public project makes the different roles in the process easy to follow: formulate a hypothesis, turn it into code, evaluate it on historical data, generate feedback, try again. As a demonstration of an agentic research workflow, it’s great.

But in this workflow, the backtest can play two roles. It can help the agent improve its hypotheses. Or it can establish, at the end, that a hypothesis also works outside the search that produced it. Trying to do both with the same data is a problem.

Once the agent sees the results and develops new variants from them, those data become part of the development process. That’s not a mistake—it’s often how research works. Cassie Kozyrkov captured the distinction in an interview about data science: “you can use data for inspiration or rigor, but not both.” Here, the backtest inspires the next hypothesis; testing it independently requires different data.

What does that tiny p tell us?

In the published example, the system selects a signal with a p-value below 10⁻⁷—written out, less than 0.0000001. That looks like a decisive result.

The example raises two separate questions: How striking is the result in the data examined? And does it hold up when the system checks it against data it has not touched before? The tiny p-value does not answer the second question—especially if several candidates were tried and the most promising ones developed further.

Why the search path matters is nicely illustrated by xkcd’s “Significant”: A striking single result looks different once you see how many variants were tested.

xkcd comic “Significant”: After testing many jelly bean colors, one finding becomes a headline.

Image: Randall Munroe, xkcd “Significant”, CC BY-NC 2.5.

The p-value describes the selected candidate in the reported backtest. On its own, though, it does not tell us how reliably the whole search process finds new signals that work beyond the data used in that search. Whether any of them would make a useful strategy after trading costs is another question altogether. ;)

What data must the agent not see?

For stronger evidence, the data would have to play clearly separate roles: The agent can freely experiment and get feedback on one part. Another, later part remains untouched until the final test. The published example workflow does not show such an independent final test.

The more autonomously agents experiment, the more important it becomes to have evaluation data they can learn from, and other data they do not get to see until the very end.