Paper

LLM-written trading code runs, backtests and still does something other than the strategy asked for

On the MintEval benchmark, low-cost models reproduce at most 8.7% of strategies exactly. Claude Opus 5.5 reproduces 57.5% and fails silently on 27.5%.

AI Fin ResearchCovers Crypto (BTCUSDT)Working paper, not peer reviewed

Siyu Wang, Yifan Wang and Yuecheng He built MintEval to test whether a model’s code implements the trading strategy it was asked for. Reference strategies are generated from a library of building blocks, translated into colloquial trader instructions and re-implemented by the model under test. Both programs then run bar by bar on the same market data and frictions, and the benchmark compares their actions. Profit and code similarity are ignored.

Version 0 has 800 tasks on BTCUSDT 15-minute data. Low-cost models reach a mean ActionMatch of at most 0.544 and reproduce at most 8.7% of tasks exactly. On a stratified subset of 200 tasks, Claude Opus 5.5 reaches 0.889 and reproduces 57.5% exactly.

Models read the instruction correctly and still write different logic. Given a menu of building blocks they identify the strategy almost perfectly, yet 79.2% of the implementations whose specification was read correctly diverge on more than 10% of active bars. The LLM judge from a recent strategy-generation benchmark, applied unchanged, accepts every one of those failures.

The paper is five pages and covers one crypto pair. The abstract does not name the low-cost models.

Sources

Related