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

Universal features of price formation in financial markets: perspectives from Deep Learning

Author

Listed:
  • Justin Sirignano
  • Rama Cont

Abstract

Using a large-scale Deep Learning approach applied to a high-frequency database containing billions of electronic market quotes and transactions for US equities, we uncover nonparametric evidence for the existence of a universal and stationary price formation mechanism relating the dynamics of supply and demand for a stock, as revealed through the order book, to subsequent variations in its market price. We assess the model by testing its out-of-sample predictions for the direction of price moves given the history of price and order flow, across a wide range of stocks and time periods. The universal price formation model is shown to exhibit a remarkably stable out-of-sample prediction accuracy across time, for a wide range of stocks from different sectors. Interestingly, these results also hold for stocks which are not part of the training sample, showing that the relations captured by the model are universal and not asset-specific. The universal model --- trained on data from all stocks --- outperforms, in terms of out-of-sample prediction accuracy, asset-specific linear and nonlinear models trained on time series of any given stock, showing that the universal nature of price formation weighs in favour of pooling together financial data from various stocks, rather than designing asset- or sector-specific models as commonly done. Standard data normalizations based on volatility, price level or average spread, or partitioning the training data into sectors or categories such as large/small tick stocks, do not improve training results. On the other hand, inclusion of price and order flow history over many past observations is shown to improve forecasting performance, showing evidence of path-dependence in price dynamics.

Suggested Citation

  • Justin Sirignano & Rama Cont, 2018. "Universal features of price formation in financial markets: perspectives from Deep Learning," Papers 1803.06917, arXiv.org.
  • Handle: RePEc:arx:papers:1803.06917
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Jean-Philippe Bouchaud & Yuval Gefen & Marc Potters & Matthieu Wyart, 2004. "Fluctuations and response in financial markets: the subtle nature of 'random' price changes," Quantitative Finance, Taylor & Francis Journals, vol. 4(2), pages 176-190.
    2. Rama Cont & Arseniy Kukanov & Sasha Stoikov, 2014. "The Price Impact of Order Book Events," Journal of Financial Econometrics, Oxford University Press, vol. 12(1), pages 47-88.
    3. Rama Cont & Sasha Stoikov & Rishi Talreja, 2010. "A Stochastic Model for Order Book Dynamics," Operations Research, INFORMS, vol. 58(3), pages 549-563, June.
    4. Albert S. Kyle & Anna A. Obizhaeva, 2016. "Market Microstructure Invariance: Empirical Hypotheses," Econometrica, Econometric Society, vol. 84(4), pages 1345-1404, July.
    5. Zoltán Eisler & Jean-Philippe Bouchaud & Julien Kockelkoren, 2012. "The price impact of order book events: market orders, limit orders and cancellations," Quantitative Finance, Taylor & Francis Journals, vol. 12(9), pages 1395-1419, September.
    6. Chávez-Casillas, Jonathan A. & Figueroa-López, José E., 2017. "A one-level limit order book model with memory and variable spread," Stochastic Processes and their Applications, Elsevier, vol. 127(8), pages 2447-2481.
    7. Lillo Fabrizio & Farmer J. Doyne, 2004. "The Long Memory of the Efficient Market," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 8(3), pages 1-35, September.
    8. Damian Eduardo Taranto & Giacomo Bormetti & Fabrizio Lillo, 2014. "The adaptive nature of liquidity taking in limit order books," Papers 1403.0842, arXiv.org, revised Apr 2014.
    9. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    10. Michael Benzaquen & Jonathan Donier & Jean-Philippe Bouchaud, 2016. "Unravelling the trading invariance hypothesis," Papers 1602.03011, arXiv.org, revised Sep 2016.
    11. Andersen, Torben G. & Bollerslev, Tim, 1997. "Intraday periodicity and volatility persistence in financial markets," Journal of Empirical Finance, Elsevier, vol. 4(2-3), pages 115-158, June.
    12. Rama Cont & Arseniy Kukanov, 2017. "Optimal order placement in limit order markets," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 21-39, January.
    13. Hasbrouck, Joel, 2007. "Empirical Market Microstructure: The Institutions, Economics, and Econometrics of Securities Trading," OUP Catalogue, Oxford University Press, number 9780195301649.
    14. Matthew F Dixon, 2017. "Sequence Classification of the Limit Order Book using Recurrent Neural Networks," Papers 1707.05642, arXiv.org.
    15. Justin Sirignano, 2016. "Deep Learning for Limit Order Books," Papers 1601.01987, arXiv.org, revised Jul 2016.
    16. Emmanuel Bacry & Alexey Kozhemyak & J.-F. Muzy, 2008. "Continuous cascade models for asset returns," Post-Print hal-00604449, HAL.
    17. Beomsoo Park & Benjamin Van Roy, 2015. "Adaptive Execution: Exploration and Learning of Price Impact," Operations Research, INFORMS, vol. 63(5), pages 1058-1076, October.
    18. Bacry, E. & Kozhemyak, A. & Muzy, Jean-Francois, 2008. "Continuous cascade models for asset returns," Journal of Economic Dynamics and Control, Elsevier, vol. 32(1), pages 156-199, January.
    19. Albert S. Kyle & Anna A. Obizhaeva, 2016. "Market Microstructure Invariance: Empirical Hypotheses," Econometrica, Econometric Society, vol. 84, pages 1345-1404, July.
    20. Felix Patzelt & Jean-Philippe Bouchaud, 2017. "Universal scaling and nonlinearity of aggregate price impact in financial markets," Papers 1706.04163, arXiv.org, revised Aug 2017.
    21. Rama Cont & Adrien de Larrard, 2013. "Price Dynamics in a Markovian Limit Order Market," Post-Print hal-00552252, HAL.
    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. Justin Sirignano & Rama Cont, 2018. "Universal features of price formation in financial markets: perspectives from Deep Learning," Working Papers hal-01754054, HAL.
    2. Matthew F Dixon, 2017. "A High Frequency Trade Execution Model for Supervised Learning," Papers 1710.03870, arXiv.org, revised Dec 2017.
    3. Martin D. Gould & Mason A. Porter & Stacy Williams & Mark McDonald & Daniel J. Fenn & Sam D. Howison, 2010. "Limit Order Books," Papers 1012.0349, arXiv.org, revised Apr 2013.
    4. Bonart, Julius & Lillo, Fabrizio, 2018. "A continuous and efficient fundamental price on the discrete order book grid," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 503(C), pages 698-713.
    5. Zijian Shi & John Cartlidge, 2023. "Neural Stochastic Agent-Based Limit Order Book Simulation: A Hybrid Methodology," Papers 2303.00080, arXiv.org.
    6. Fabrizio Lillo, 2021. "Order flow and price formation," Papers 2105.00521, arXiv.org.
    7. Damian Eduardo Taranto & Giacomo Bormetti & Jean-Philippe Bouchaud & Fabrizio Lillo & Bence Toth, 2016. "Linear models for the impact of order flow on prices I. Propagators: Transient vs. History Dependent Impact," Papers 1602.02735, arXiv.org.
    8. Julius Bonart & Fabrizio Lillo, 2016. "A continuous and efficient fundamental price on the discrete order book grid," Papers 1608.00756, arXiv.org, revised Aug 2016.
    9. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    10. Matthew F Dixon, 2017. "Sequence Classification of the Limit Order Book using Recurrent Neural Networks," Papers 1707.05642, arXiv.org.
    11. Rama Cont & Marvin S. Mueller, 2019. "A stochastic partial differential equation model for limit order book dynamics," Papers 1904.03058, arXiv.org, revised May 2021.
    12. Federico Gonzalez & Mark Schervish, 2017. "Instantaneous order impact and high-frequency strategy optimization in limit order books," Papers 1707.01167, arXiv.org, revised Oct 2017.
    13. F. Campigli & G. Bormetti & F. Lillo, 2022. "Measuring price impact and information content of trades in a time-varying setting," Papers 2212.12687, arXiv.org, revised Dec 2023.
    14. Kashyap, Ravi, 2020. "David vs Goliath (You against the Markets), A dynamic programming approach to separate the impact and timing of trading costs," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 545(C).
    15. Rama Cont & Marvin Muller, 2019. "A Stochastic Pde Model For Limit Order Book Dynamics," Working Papers hal-02090449, HAL.
    16. Damian Eduardo Taranto & Giacomo Bormetti & Jean-Philippe Bouchaud & Fabrizio Lillo & Bence Toth, 2016. "Linear models for the impact of order flow on prices II. The Mixture Transition Distribution model," Papers 1604.07556, arXiv.org.
    17. Paolo Barucca & Fabrizio Lillo, 2017. "Behind the price: on the role of agent's reflexivity in financial market microstructure," Papers 1708.07047, arXiv.org.
    18. Mathias Pohl & Alexander Ristig & Walter Schachermayer & Ludovic Tangpi, 2018. "Theoretical and empirical analysis of trading activity," Papers 1803.04892, arXiv.org, revised Oct 2018.
    19. Iacopo Mastromatteo, 2014. "Apparent impact: the hidden cost of one-shot trades," Papers 1409.8497, arXiv.org, revised Jun 2015.
    20. Kyle Bechler & Michael Ludkovski, 2017. "Order Flows and Limit Order Book Resiliency on the Meso-Scale," Papers 1708.02715, 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:1803.06917. 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.