← Latest papers
💻 computer science

QuantHarness: Price-Driven Multi-Agent LLMs for High-Frequency Trading

The paper introduces QuantHarness, a novel multi-agent LLM framework specifically designed for high-frequency trading that leverages specialized agents to process structured, short-horizon signals, demonstrating superior predictive accuracy and real-time decision-making capabilities compared to existing long-horizon, text-driven financial models.

Original authors: Fei Xiong, Xiang Zhang, Aosong Feng, Siqi Sun, Chenyu You

Published 2026-07-28
📖 5 min read🧠 Deep dive

Original authors: Fei Xiong, Xiang Zhang, Aosong Feng, Siqi Sun, Chenyu You

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 the stock market as a giant, chaotic ocean. For decades, sailors (traders) have tried to predict the waves using two main maps. The first map is a weather report full of news, rumors, and social media chatter—what people say is happening. The second map is the water itself: the actual rise and fall of the waves, recorded in precise numbers. Most modern computer programs trying to predict the market have been obsessed with the weather reports, reading millions of news articles to guess where the water will go next. But here's the catch: by the time a news story hits the internet, the water has often already moved. The waves have already shifted, and the news is just a slow echo.

This is where a new idea comes in: what if we stopped reading the weather reports and just watched the water? This approach, called "technical analysis," assumes that every piece of news, every fear, and every hope is already baked into the price of the asset. If you can read the patterns in the price movements themselves, you might be able to predict the next wave faster than anyone reading the news. Now, imagine giving a super-smart computer brain (a Large Language Model) the job of reading these water patterns. Usually, these brains are great at writing stories or chatting, but they can be slow and easily distracted by too much text. This paper asks a simple, bold question: Can we teach these AI brains to ignore the noise and become lightning-fast experts at reading the raw numbers of the market to trade in real-time?

The paper introduces QuantHarness, a new system designed to answer that question. Think of QuantHarness not as a single trader, but as a tiny, high-speed trading team of four specialized robots, all working together inside a computer. Unlike other AI traders that spend hours reading news headlines, this team only looks at the "candlestick" charts—the raw, colorful bars that show the opening, high, low, and closing prices of an asset over a short period.

The team is made up of four distinct agents, each with a specific job:

  1. The Indicator Agent is the math whiz. It takes the raw price bars and quickly calculates famous "speedometers" like RSI and MACD. These tools tell the team if the market is moving too fast, if it's tired, or if it's about to turn around.
  2. The Pattern Agent is the artist. It looks at the shape of the price bars and tries to spot familiar drawings, like a "V" shape for a quick recovery or a triangle that suggests a big explosion is coming. It turns the squiggly lines into recognizable shapes.
  3. The Trend Agent is the navigator. It draws lines on the chart to see if the market is generally heading up, down, or just stuck in traffic. It checks if the price is bouncing off a floor (support) or hitting a ceiling (resistance).
  4. The Risk Agent is the safety officer. Before anyone makes a move, this agent calculates exactly how much money could be lost and sets a "stop-loss" (a point where you quit to save money) and a "take-profit" (a point where you cash out).

Finally, a Decision Agent acts as the captain. It listens to reports from all four teammates, weighs the evidence, and makes the final call: Buy (Long) or Sell (Short). The system is designed to work in the "high-frequency" zone, meaning it makes decisions in hours or even minutes, not days.

The researchers tested this team on nine different financial markets, including Bitcoin, crude oil, and major stock indices like the S&P 500. They compared QuantHarness against a random guesser, a simple math model, and a standard machine learning model. The results were promising: in these tests, the QuantHarness team consistently made more accurate predictions about which way the market would move in the next few hours. For example, on the Nasdaq futures, it improved prediction accuracy by about 26.5% compared to a random guess. It also managed to limit losses better than the other methods in most cases.

However, the paper is careful not to claim this is a magic money machine. The authors note that the system works best on 1-hour and 4-hour timeframes. When they tried to use it on ultra-short timeframes (like 1 to 15 minutes), the system got confused by the "noise" of the market, and its accuracy dropped. They also admit that the system isn't truly "real-time" yet; because the AI needs to think and call its tools, there is a slight delay that might be too slow for the fastest, split-second trades.

Ultimately, the paper suggests that by combining the pattern-spotting power of AI with the speed and structure of raw price data, we can build trading systems that are not only faster but also easier to understand. Instead of a black box making mysterious decisions, QuantHarness gives a clear, written explanation for every trade, showing exactly which pattern or indicator triggered the move. It's a step toward making high-speed trading less like a gamble and more like a disciplined, transparent science.

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 →