← Latest papers
💻 computer science

Zero-shot adaptation to order book dynamics

This paper proposes an adaptive market-making architecture that retains the analytical efficiency of the Avellaneda–Stoikov framework while introducing a successor measure-style mechanism to dynamically adjust to changing market regimes and trading objectives by decoupling market dynamics from the trading goal.

Original authors: Arip Asadulaev

Published 2026-05-22
📖 5 min read🧠 Deep dive

Original authors: Arip Asadulaev

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 are running a small shop that buys and sells a popular item, like a rare trading card. Your goal is to make a profit by buying low and selling high, but you have to be careful: if you hold too many cards, you might get stuck with them if the price drops, and if you sell too fast, you might miss out on future profits.

In the world of high-frequency trading, this "shop" is called a Market Maker, and the classic way to run it is based on a famous formula called Avellaneda–Stoikov. Think of this classic formula as a very smart, rigid recipe. It tells you exactly how far away from the current market price you should set your "Buy" and "Sell" signs based on a few fixed rules: how volatile the market is, how much inventory you have, and how much time is left in the day.

The Problem with the Old Recipe
The problem with this classic recipe is that it's static. It assumes the "rules of the game" (like how risky the market is or what your inventory goals are) stay the same forever. But in reality, the market changes constantly. Sometimes it's calm, sometimes it's chaotic. Sometimes you want to hold more cards, and sometimes you want to get rid of them quickly. If the market changes, the old recipe doesn't know how to adapt unless a human manually rewrites the instructions.

The New Solution: A "Zero-Shot" Adaptive Chef
This paper proposes a new way to run the shop. It keeps the solid, reliable structure of the old recipe (the Avellaneda–Stoikov framework) but adds a smart, adaptive brain on top of it. This brain allows the system to learn and change its goals in real-time without needing to be retrained from scratch (hence the term "zero-shot").

Here is how the new system works, broken down into three simple parts:

1. Reading the Room (Market State)

First, the system looks at the current "Limit Order Book," which is like a digital list of all the people waiting to buy or sell.

  • The Analogy: Imagine a weather forecaster looking at the sky, wind, and humidity to predict if it's going to rain.
  • What it does: The system analyzes this data to figure out the current "weather" of the market. Is it stormy (volatile)? Is the wind blowing hard (high trading volume)? It translates these observations into a set of parameters that tell the system how the market is behaving right now.

2. Learning from the Last Meal (Adaptive Objective)

This is the most innovative part. Instead of having a fixed goal (like "always keep 10 cards in stock"), the system looks at what happened in the very recent past.

  • The Analogy: Imagine a chef who tastes the food they just served. If the customers complained it was too salty, the chef doesn't throw away the whole recipe book; they just adjust the salt for the next dish.
  • What it does: The system looks at its last few trades and the profits or losses it made. It asks: "Did I make money? Did I get stuck with too many cards? Did I lose money because the price moved against me?" Based on this "taste test," it creates a new, temporary goal vector. If the market punished it for holding too many cards, the new goal becomes "be less aggressive." If it missed out on profits, the goal becomes "be more active."

3. The Smart Calculator (HJB Forward Map)

Now the system has two things: the current "weather" (market dynamics) and the new "goal" (what it wants to achieve). It plugs both into a powerful mathematical calculator (the Hamilton-Jacobi-Bellman or HJB equation).

  • The Analogy: This is like a GPS. The "weather" is the current traffic conditions, and the "goal" is your destination. The GPS calculates the best route to get there given the traffic.
  • What it does: It calculates the perfect "Buy" and "Sell" prices. It doesn't just guess; it simulates the future. It asks, "If I set this price, what will happen to my inventory and my wallet in the next few seconds?" It then picks the prices that maximize the chance of hitting its new goal.

The Results: A Smoother Ride

The authors tested this new "Adaptive Chef" against two older methods (one very rigid, one slightly more flexible) using real data from Bitcoin trading.

  • The Old Methods: They kept trading aggressively even when the market was tricky, resulting in losses and high risk. They were like drivers who keep speeding even when it starts raining.
  • The New Method: It traded much less frequently but made more money. It acted like a cautious driver who slows down when the road gets slippery. By adapting its goals based on recent reality, it avoided bad trades and protected its profits.

In Summary

This paper introduces a market-making system that is structurally sound (it uses the proven math of the past) but flexibly smart (it learns its own goals from recent experience). It separates the "physics" of the market (how prices move) from the "goals" of the trader (what they want to achieve), allowing the system to instantly adjust its strategy to whatever the market is doing at that exact moment.

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 →