Newest papers

MintEval: Do LLMs Implement the Trading Strategy You Asked For? A Behavioural-Equivalence Benchmark for Natural-Language-to-Strategy Code

Siyu Wang, Yifan Wang, Yuecheng He · 2026 · arXiv (Cornell University)

DOI: 10.48550/arxiv.2610.03080 · cited by 0 works (OpenAlex) · open-access PDF

French

Le mode de défaillance du deuxième rôle est silent: code généré fonctionne, un backtest complot, mais la logique de risque spécifique que le trader décrit n'est pas la logique est exécutée. Les benchmarks de code existants testent la correctivité fonctionnelle sur les tests d'unité et les benchmarks financiers sur les prévisions de test; ni mesurent si une mise en œuvre se comporte comme la stratégie demandée. Nous introduisons MintEval, un benchmark dans lequel les stratégies de référence sont générées de manière programmatique à partir d'une bibliothèque de blocs de construction composables, back-translaté dans les instructions de trader colloquial, et re-implémenté par le modèle sous test. Les programmes de défaillance sont

Machine translation (Meta M2M100); the English original follows.

Abstract

Large language models are moving from producing trading signals to writing the code that executes them. The failure mode of the second role is silent: generated code runs, a backtest plots, yet the risk logic that the trader described is not the logic being executed. Existing code benchmarks test functional correctness on unit tests and finance benchmarks test forecasting; neither measures whether an implementation behaves like the strategy that was asked for. We introduce MintEval, a benchmark in which reference strategies are generated programmatically from a library of composable building blocks, back-translated into colloquial trader instructions, and re-implemented by the model under test. Generated and reference programs are executed bar by bar on identical market data and frictions, and compared on their actions rather than on code similarity or profit: alpha is differenced away. MintEval v0 contains 800 tasks on BTCUSDT 15-minute data, stratified by an execution-measured state-span complexity tau that is decoupled from description length. Low-cost models reach a mean ActionMatch of at most 0.544 and reproduce at most 0.087 of tasks exactly; on a stratified subset of 200 tasks a frontier model (Claude Opus 5.5) reaches 0.889 and reproduces 0.575 exactly, yet still fails silently on 0.275 of tasks. Given a menu of building blocks, models 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 of a recent strategy-generation benchmark, applied verbatim, accepts every one of these silent failures.

Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese

Topics: Benchmark (surveying), Computer science, Correctness, Code (set theory), Unit testing, Implementation

Is this paper real? This page was built from OpenAlex and arXiv records, not generated. Software can verify any reference in one call: GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.03080, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Sources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange