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

Generating Realistic Stock Market Order Streams

Author

Listed:
  • Junyi Li
  • Xitong Wang
  • Yaoyang Lin
  • Arunesh Sinha
  • Micheal P. Wellman

Abstract

We propose an approach to generate realistic and high-fidelity stock market data based on generative adversarial networks (GANs). Our Stock-GAN model employs a conditional Wasserstein GAN to capture history dependence of orders. The generator design includes specially crafted aspects including components that approximate the market's auction mechanism, augmenting the order history with order-book constructions to improve the generation task. We perform an ablation study to verify the usefulness of aspects of our network structure. We provide a mathematical characterization of distribution learned by the generator. We also propose statistics to measure the quality of generated orders. We test our approach with synthetic and actual market data, compare to many baseline generative models, and find the generated data to be close to real data.

Suggested Citation

  • Junyi Li & Xitong Wang & Yaoyang Lin & Arunesh Sinha & Micheal P. Wellman, 2020. "Generating Realistic Stock Market Order Streams," Papers 2006.04212, arXiv.org.
  • Handle: RePEc:arx:papers:2006.04212
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Adriano Koshiyama & Nick Firoozye & Philip Treleaven, 2021. "Generative adversarial networks for financial trading strategies fine-tuning and combination," Quantitative Finance, Taylor & Francis Journals, vol. 21(5), pages 797-813, May.
    2. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    3. Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
    4. Abergel,Frédéric & Anane,Marouane & Chakraborti,Anirban & Jedidi,Aymen & Muni Toke,Ioane, 2016. "Limit Order Books," Cambridge Books, Cambridge University Press, number 9781107163980.
    5. LeBaron, Blake, 2006. "Agent-based Computational Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 24, pages 1187-1233, Elsevier.
    6. Frédéric Abergel & Anirban Chakraborti & Aymen Jedidi & Ioane Muni Toke & Marouane Anane, 2016. "Limit Order Books," Post-Print hal-02177394, HAL.
    7. Magnus Wiese & Robert Knobloch & Ralf Korn & Peter Kretschmer, 2019. "Quant GANs: Deep Generation of Financial Time Series," Papers 1907.06673, arXiv.org, revised Dec 2019.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Zijian Shi & Yu Chen & John Cartlidge, 2021. "The LOB Recreation Model: Predicting the Limit Order Book from TAQ History Using an Ordinary Differential Equation Recurrent Neural Network," Papers 2103.01670, arXiv.org.
    2. Zijian Shi & John Cartlidge, 2021. "The Limit Order Book Recreation Model (LOBRM): An Extended Analysis," Papers 2107.00534, arXiv.org.
    3. Xintong Wang & Christopher Hoang & Yevgeniy Vorobeychik & Michael P. Wellman, 2021. "Spoofing the Limit Order Book: A Strategic Agent-Based Analysis," Games, MDPI, vol. 12(2), pages 1-43, May.
    4. Victor Storchan & Svitlana Vyetrenko & Tucker Balch, 2021. "Learning who is in the market from time series: market participant discovery through adversarial calibration of multi-agent simulators," Papers 2108.00664, arXiv.org.
    5. Rama Cont & Mihai Cucuringu & Renyuan Xu & Chao Zhang, 2022. "Tail-GAN: Learning to Simulate Tail Risk Scenarios," Papers 2203.01664, arXiv.org, revised Mar 2023.
    6. Yash Thesia & Vidhey Oza & Priyank Thakkar, 2022. "A dynamic scenario‐driven technique for stock price prediction and trading," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(3), pages 653-674, April.
    7. Andrea Coletta & Matteo Prata & Michele Conti & Emanuele Mercanti & Novella Bartolini & Aymeric Moulin & Svitlana Vyetrenko & Tucker Balch, 2021. "Towards Realistic Market Simulations: a Generative Adversarial Networks Approach," Papers 2110.13287, arXiv.org.
    8. Feng Han & Xiaojuan Ma & Jiheng Zhang, 2022. "Simulating Multi-Asset Classes Prices Using Wasserstein Generative Adversarial Network: A Study of Stocks, Futures and Cryptocurrency," JRFM, MDPI, vol. 15(1), pages 1-21, January.

    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. Ahmet Murat Ozbayoglu & Mehmet Ugur Gudelek & Omer Berat Sezer, 2020. "Deep Learning for Financial Applications : A Survey," Papers 2002.05786, arXiv.org.
    2. Westerhoff Frank H., 2008. "The Use of Agent-Based Financial Market Models to Test the Effectiveness of Regulatory Policies," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 228(2-3), pages 195-227, April.
    3. Cincotti, Silvano & Raberto, Marco & Teglio, Andrea, 2010. "Credit money and macroeconomic instability in the agent-based model and simulator Eurace," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 4, pages 1-32.
    4. Poledna, Sebastian & Thurner, Stefan & Farmer, J. Doyne & Geanakoplos, John, 2014. "Leverage-induced systemic risk under Basle II and other credit risk policies," Journal of Banking & Finance, Elsevier, vol. 42(C), pages 199-212.
    5. Peng Wu & Marcello Rambaldi & Jean-Franc{c}ois Muzy & Emmanuel Bacry, 2019. "Queue-reactive Hawkes models for the order flow," Papers 1901.08938, arXiv.org.
    6. Karlis, Alexandros & Galanis, Girogos & Terovitis, Spyridon & Turner, Matthew, 2017. "Heterogeneity and Clustering of Defaults," Economic Research Papers 270011, University of Warwick - Department of Economics.
    7. Scott C. Linn & Nicholas S. P. Tay, 2007. "Complexity and the Character of Stock Returns: Empirical Evidence and a Model of Asset Prices Based on Complex Investor Learning," Management Science, INFORMS, vol. 53(7), pages 1165-1180, July.
    8. Cees Diks & Cars Hommes & Valentyn Panchenko & Roy Weide, 2008. "E&F Chaos: A User Friendly Software Package for Nonlinear Economic Dynamics," Computational Economics, Springer;Society for Computational Economics, vol. 32(1), pages 221-244, September.
    9. Yamamoto, Ryuichi, 2019. "Dynamic Predictor Selection And Order Splitting In A Limit Order Market," Macroeconomic Dynamics, Cambridge University Press, vol. 23(5), pages 1757-1792, July.
    10. Yamamoto, Ryuichi & Hirata, Hideaki, 2013. "Strategy switching in the Japanese stock market," Journal of Economic Dynamics and Control, Elsevier, vol. 37(10), pages 2010-2022.
    11. Shu-Heng Chen & Chung-Chih Liao & Pei-Jung Chou, 2008. "On the plausibility of sunspot equilibria," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 3(1), pages 25-41, June.
    12. Thomas Spooner & Rahul Savani, 2020. "Robust Market Making via Adversarial Reinforcement Learning," Papers 2003.01820, arXiv.org, revised Jul 2020.
    13. Chueh-Yung Tsao & Ya-Chi Huang, 2018. "Revisiting the issue of survivability and market efficiency with the Santa Fe Artificial Stock Market," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 13(3), pages 537-560, October.
    14. Alexander Ludwig & Alexander Zimper, 2013. "A decision-theoretic model of asset-price underreaction and overreaction to dividend news," Annals of Finance, Springer, vol. 9(4), pages 625-665, November.
    15. Fischer, Thomas & Riedler, Jesper, 2014. "Prices, debt and market structure in an agent-based model of the financial market," Journal of Economic Dynamics and Control, Elsevier, vol. 48(C), pages 95-120.
    16. He, Xue-Zhong & Li, Youwei, 2015. "Testing of a market fraction model and power-law behaviour in the DAX 30," Journal of Empirical Finance, Elsevier, vol. 31(C), pages 1-17.
    17. Frijns, Bart & Lehnert, Thorsten & Zwinkels, Remco C.J., 2010. "Behavioral heterogeneity in the option market," Journal of Economic Dynamics and Control, Elsevier, vol. 34(11), pages 2273-2287, November.
    18. Hermsen, Oliver & Witte, Björn-Christopher & Westerhoff, Frank, 2010. "Disclosure requirements, the release of new information and market efficiency: new insights from agent-based models," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 4, pages 1-26.
    19. Brock, W.A. & Hommes, C.H. & Wagener, F.O.O., 2009. "More hedging instruments may destabilize markets," Journal of Economic Dynamics and Control, Elsevier, vol. 33(11), pages 1912-1928, November.
    20. Svitlana Vyetrenko & David Byrd & Nick Petosa & Mahmoud Mahfouz & Danial Dervovic & Manuela Veloso & Tucker Hybinette Balch, 2019. "Get Real: Realism Metrics for Robust Limit Order Book Market Simulations," Papers 1912.04941, arXiv.org.

    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:2006.04212. 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.