M3: A State-Event Generative Foundation Model for Market Microstructure Dynamics

Yanzhi Zhang, Yu Ma, Yilin Cheng, Jian Li, Yitong Duan
7/29/2026
q-fin.CPcs.LG

No confident code implementation found for this paper.

Abstract

Market microstructure simulation aims to model how liquidity, prices, and order flow evolve in electronic financial markets. Since market data reveal only one realized trajectory, many important questions are inherently counterfactual and require realistic trajectory-level simulation.

Show full abstract

Existing financial generative models, however, often model order events and market states, such as the LOB, in isolation, overlooking the dynamic interaction between order flow and liquidity in market microstructure. We propose the \textbf{M3} (\underline{M}arket \underline{M}icrostructure \underline{M}odel), a state-event generative foundation model for market microstructure dynamics. \textbf{M3} learns to generate future order-flow trajectories, while accounting for the evolving interaction between order events and limit-order-book liquidity. Trained on large-scale order-level real stock market data, \textbf{M3} exhibits predictable scaling behavior, reproduces key market stylized facts, and enables practical simulation-based applications including forecasting, stress testing, and market-impact analysis. These results suggest a scalable foundation-model paradigm for counterfactual market simulation at the microstructure level.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026stateevent,
  title  = {M3: A State-Event Generative Foundation Model for Market Microstructure Dynamics},
  author = {Yanzhi Zhang and Yu Ma and Yilin Cheng and Jian Li and Yitong Duan},
  year   = {2026},
  eprint = {2608.19227},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.19227v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.19227.svg)](https://codeofpaper.com/paper/2608.19227)

Discussion