← Latest papers
💬 NLP

Market-Bench: Evaluating Large Language Models on Introductory Quantitative Trading and Market Dynamics

This paper introduces MARKET-BENCH, a benchmark that evaluates large language models on introductory quantitative trading tasks by requiring them to generate executable backtesters from natural language descriptions, revealing that while current models can reliably scaffold basic trading infrastructure, they still struggle with robust reasoning about prices, inventory, and risk.

Original authors: Abhay Srivastava, Sam Jung, Spencer Mateega

Published 2026-01-22
📖 4 min read☕ Coffee break read

Original authors: Abhay Srivastava, Sam Jung, Spencer Mateega

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a team of very smart, very fast robots. These robots are great at reading books, writing stories, and answering trivia questions. But now, you want to see if they can do something much harder: manage a lemonade stand where the price of lemons changes every second, and you have to make money without losing your shirt.

This paper introduces a new test called MARKET-BENCH to see if these "robot brains" (called Large Language Models or LLMs) can actually do the math and logic required to run a simple trading business.

Here is how the test works, broken down into everyday terms:

1. The Test: "Build the Machine, Not Just Talk About It"

Most tests ask these robots to describe how to trade. "If the price goes up, buy!" they might say.
MARKET-BENCH is different. It says: "Here is a recipe and a list of ingredients. Write the computer code that actually runs the business."

The robots had to write code that:

  • Tracks how much money they have.
  • Buys and sells stocks (like Microsoft, Coke, and Pepsi) based on specific rules.
  • Calculates exactly how much profit or loss they made.
  • Crucially: The robot's math had to match a "gold standard" answer exactly. If the robot said they made $100, but the gold standard said they made $95, the robot failed.

2. The Three Challenges (The "Levels")

The test had three levels of difficulty, like video game levels:

  • Level 1: The Simple Schedule (Microsoft)

    • The Job: Buy or sell Microsoft stock at specific times, like a robot arm on an assembly line.
    • The Catch: You have to keep track of every single penny and every single share perfectly.
    • Result: Most robots could build the machine (the code ran), but many made small math errors that added up to big mistakes. Some robots were perfect; others were wildly off.
  • Level 2: The Dance Partner (Coke vs. Pepsi)

    • The Job: This is a "Pairs Trading" game. You bet on the difference between Coke and Pepsi. If Coke gets too expensive compared to Pepsi, you buy Pepsi and sell Coke, hoping they get back to normal.
    • The Catch: You have to juggle two stocks at once, calculate a complex "spread" (the gap between them), and manage your total money across both.
    • Result: This was much harder. Several robots completely broke the machine (the code wouldn't run). One robot (Qwen3 Max) built a machine that ran perfectly but calculated the profits as 400 million dollars when it should have been a few hundred. It was like a robot that built a car that drove perfectly but thought it was driving on the moon.
  • Level 3: The Tightrope Walk (Options Hedging)

    • The Job: This is the hardest level. You have a complex insurance policy (an option) on Microsoft stock, and you have to constantly buy or sell the stock to keep your risk neutral. It's like walking a tightrope while juggling.
    • The Catch: Timing is everything. If you wait a split second too long, you lose money.
    • Result: This was the hardest. Many robots couldn't even get the machine to start. The ones that did run often had huge errors in their math.

3. The Big Takeaways

The paper found three main things:

  • Reliability vs. Accuracy: Some robots are great at following instructions to build the code (the machine starts), but terrible at doing the math inside it. Others are great at the math but can't even build the machine.
  • The "Hallucination" Problem: In the real world, if a robot thinks it made a million dollars when it actually lost money, you go bankrupt. The paper shows that these robots often "hallucinate" (make up) numbers that look good but are completely wrong.
  • Not Ready for Prime Time: The authors conclude that right now, these robots are not safe to use as the main brain for trading. They are like a very smart intern who can write a draft of a report but needs a human to check every single number before you send it to the boss.

The Bottom Line

Think of these Large Language Models as very talented but inexperienced apprentices. They can write the code to start a trading business, but they often mess up the accounting. Until they get better at the math and the logic, you can't trust them to run your money on their own.

The authors released this test (MARKET-BENCH) and a public scoreboard so that other scientists can try to build better robots and see who is actually getting good at the math.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →