IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2409.07486.html
   My bibliography  Save this paper

MarS: a Financial Market Simulation Engine Powered by Generative Foundation Model

Author

Listed:
  • Junjie Li
  • Yang Liu
  • Weiqing Liu
  • Shikai Fang
  • Lewen Wang
  • Chang Xu
  • Jiang Bian

Abstract

Generative models aim to simulate realistic effects of various actions across different contexts, from text generation to visual effects. Despite efforts to build real-world simulators, leveraging generative models for virtual worlds, like financial markets, remains underexplored. In financial markets, generative models can simulate market effects of various behaviors, enabling interaction with market scenes and players, and training strategies without financial risk. This simulation relies on the finest structured data in financial market like orders thus building the finest realistic simulation. We propose Large Market Model (LMM), an order-level generative foundation model, for financial market simulation, akin to language modeling in the digital world. Our financial Market Simulation engine (MarS), powered by LMM, addresses the need for realistic, interactive and controllable order generation. Key objectives of this paper include evaluating LMM's scaling law in financial markets, assessing MarS's realism, balancing controlled generation with market impact, and demonstrating MarS's potential applications. We showcase MarS as a forecast tool, detection system, analysis platform, and agent training environment. Our contributions include pioneering a generative model for financial markets, designing MarS to meet domain-specific needs, and demonstrating MarS-based applications' industry potential.

Suggested Citation

  • Junjie Li & Yang Liu & Weiqing Liu & Shikai Fang & Lewen Wang & Chang Xu & Jiang Bian, 2024. "MarS: a Financial Market Simulation Engine Powered by Generative Foundation Model," Papers 2409.07486, arXiv.org.
  • Handle: RePEc:arx:papers:2409.07486
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2409.07486
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Vaibhav Sherkar & Rituparna Sen, 2023. "Study of Stylized Facts in Stock Market Data," Papers 2310.00753, arXiv.org.
    2. Chiarella, Carl & Iori, Giulia, 2009. "The impact of heterogeneous trading rules on the limit order book and order flows," Journal of Economic Dynamics and Control, Elsevier, vol. 33(3), pages 525-537.
    3. Emmanuel Bacry & Adrian Iuga & Matthieu Lasnier & Charles-Albert Lehalle, 2014. "Market impacts and the life cycle of investors orders," Papers 1412.0217, arXiv.org, revised Dec 2014.
    4. Gianbiagio Curato & Jim Gatheral & Fabrizio Lillo, 2017. "Optimal execution with non-linear transient market impact," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 41-54, January.
    5. Jim Gatheral, 2010. "No-dynamic-arbitrage and market impact," Quantitative Finance, Taylor & Francis Journals, vol. 10(7), pages 749-759.
    6. Meulbroek, Lisa K, 1992. "An Empirical Analysis of Illegal Insider Trading," Journal of Finance, American Finance Association, vol. 47(5), pages 1661-1699, December.
    7. Esteban Moro & Javier Vicente & Luis G. Moyano & Austin Gerig & J. Doyne Farmer & Gabriella Vaglica & Fabrizio Lillo & Rosario N. Mantegna, 2009. "Market impact and trading profile of large trading orders in stock markets," Papers 0908.0202, arXiv.org.
    8. Raehyun Kim & Chan Ho So & Minbyul Jeong & Sanghoon Lee & Jinkyu Kim & Jaewoo Kang, 2019. "HATS: A Hierarchical Graph Attention Network for Stock Movement Prediction," Papers 1908.07999, arXiv.org, revised Nov 2019.
    9. Tālis J. Putniņš, 2012. "Market Manipulation: A Survey," Journal of Economic Surveys, Wiley Blackwell, vol. 26(5), pages 952-967, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Alexander Barzykin & Fabrizio Lillo, 2019. "Optimal VWAP execution under transient price impact," Papers 1901.02327, arXiv.org, revised Jan 2019.
    2. Elia Zarinelli & Michele Treccani & J. Doyne Farmer & Fabrizio Lillo, 2014. "Beyond the square root: Evidence for logarithmic dependence of market impact on size and participation rate," Papers 1412.2152, arXiv.org.
    3. Gianbiagio Curato & Jim Gatheral & Fabrizio Lillo, 2014. "Optimal execution with nonlinear transient market impact," Papers 1412.4839, arXiv.org.
    4. Fengpei Li & Vitalii Ihnatiuk & Ryan Kinnear & Anderson Schneider & Yuriy Nevmyvaka, 2022. "Do price trajectory data increase the efficiency of market impact estimation?," Papers 2205.13423, arXiv.org, revised Mar 2023.
    5. Aur'elien Alfonsi & Alexander Schied & Florian Klock, 2013. "Multivariate transient price impact and matrix-valued positive definite functions," Papers 1310.4471, arXiv.org, revised Sep 2015.
    6. Thibault Jaisson, 2014. "Market impact as anticipation of the order flow imbalance," Papers 1402.1288, arXiv.org.
    7. J. Doyne Farmer & Austin Gerig & Fabrizio Lillo & Henri Waelbroeck, 2013. "How efficiency shapes market impact," Quantitative Finance, Taylor & Francis Journals, vol. 13(11), pages 1743-1758, November.
    8. Weibing Huang & Charles-Albert Lehalle & Mathieu Rosenbaum, 2015. "Simulating and Analyzing Order Book Data: The Queue-Reactive Model," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 110(509), pages 107-122, March.
    9. Thierry Roncalli & Amina Cherief & Fatma Karray-Meziou & Margaux Regnault, 2021. "Liquidity Stress Testing in Asset Management -- Part 2. Modeling the Asset Liquidity Risk," Papers 2105.08377, arXiv.org.
    10. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    11. Behzad Alimoradian & Karim Barigou & Anne Eyraud-Loisel, 2022. "Derivatives under market impact: Disentangling cost and information," Working Papers hal-03668432, HAL.
    12. Emilio Said, 2022. "Market Impact: Empirical Evidence, Theory and Practice," Working Papers hal-03668669, HAL.
    13. Emilio Said & Ahmed Bel Hadj Ayed & Alexandre Husson & Frédéric Abergel, 2018. "Market Impact: A systematic study of limit orders," Working Papers hal-01561128, HAL.
    14. Jonathan Donier & Julius Bonart, 2014. "A Million Metaorder Analysis of Market Impact on the Bitcoin," Papers 1412.4503, arXiv.org, revised Sep 2015.
    15. E. Bacry & J. F Muzy, 2013. "Hawkes model for price and trades high-frequency dynamics," Papers 1301.1135, arXiv.org.
    16. Charles-Albert Lehalle & Charafeddine Mouzouni, 2019. "A Mean Field Game of Portfolio Trading and Its Consequences On Perceived Correlations," Papers 1902.09606, arXiv.org.
    17. Aurélien Alfonsi & Florian Klöck & Alexander Schied, 2016. "Multivariate Transient Price Impact and Matrix-Valued Positive Definite Functions," Mathematics of Operations Research, INFORMS, vol. 41(3), pages 914-934, August.
    18. Joshua Mitts, 2020. "Short and Distort," The Journal of Legal Studies, University of Chicago Press, vol. 49(2), pages 287-334.
    19. Tóth, Bence & Palit, Imon & Lillo, Fabrizio & Farmer, J. Doyne, 2015. "Why is equity order flow so persistent?," Journal of Economic Dynamics and Control, Elsevier, vol. 51(C), pages 218-239.
    20. James, Robert & Leung, Henry & Prokhorov, Artem, 2023. "A machine learning attack on illegal trading," Journal of Banking & Finance, Elsevier, vol. 148(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2409.07486. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.