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

Automated Creation of a High-Performing Algorithmic Trader via Deep Learning on Level-2 Limit Order Book Data

Author

Listed:
  • Aaron Wray
  • Matthew Meades
  • Dave Cliff

Abstract

We present results demonstrating that an appropriately configured deep learning neural network (DLNN) can automatically learn to be a high-performing algorithmic trading system, operating purely from training-data inputs generated by passive observation of an existing successful trader T. That is, we can point our black-box DLNN system at trader T and successfully have it learn from T's trading activity, such that it trades at least as well as T. Our system, called DeepTrader, takes inputs derived from Level-2 market data, i.e. the market's Limit Order Book (LOB) or Ladder for a tradeable asset. Unusually, DeepTrader makes no explicit prediction of future prices. Instead, we train it purely on input-output pairs where in each pair the input is a snapshot S of Level-2 LOB data taken at the time when T issued a quote Q (i.e. a bid or an ask order) to the market; and DeepTrader's desired output is to produce Q when it is shown S. That is, we train our DLNN by showing it the LOB data S that T saw at the time when T issued quote Q, and in doing so our system comes to behave like T, acting as an algorithmic trader issuing specific quotes in response to specific LOB conditions. We train DeepTrader on large numbers of these S/Q snapshot/quote pairs, and then test it in a variety of market scenarios, evaluating it against other algorithmic trading systems in the public-domain literature, including two that have repeatedly been shown to outperform human traders. Our results demonstrate that DeepTrader learns to match or outperform such existing algorithmic trading systems. We analyse the successful DeepTrader network to identify what features it is relying on, and which features can be ignored. We propose that our methods can in principle create an explainable copy of an arbitrary trader T via "black-box" deep learning methods.

Suggested Citation

  • Aaron Wray & Matthew Meades & Dave Cliff, 2020. "Automated Creation of a High-Performing Algorithmic Trader via Deep Learning on Level-2 Limit Order Book Data," Papers 2012.00821, arXiv.org.
  • Handle: RePEc:arx:papers:2012.00821
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Gjerstad, Steven & Dickhaut, John, 1998. "Price Formation in Double Auctions," Games and Economic Behavior, Elsevier, vol. 22(1), pages 1-29, January.
    2. Gode, Dhananjay K & Sunder, Shyam, 1993. "Allocative Efficiency of Markets with Zero-Intelligence Traders: Market as a Partial Substitute for Individual Rationality," Journal of Political Economy, University of Chicago Press, vol. 101(1), pages 119-137, February.
    3. Charles Cao & Oliver Hansch & Xiaoxin Wang, 2009. "The information content of an open limit‐order book," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 29(1), pages 16-41, January.
    4. Vernon L. Smith, 1962. "An Experimental Study of Competitive Market Behavior," Journal of Political Economy, University of Chicago Press, vol. 70(2), pages 111-111.
    5. Justin Sirignano & Rama Cont, 2019. "Universal features of price formation in financial markets: perspectives from deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1449-1459, September.
    6. Marco Avellaneda & Sasha Stoikov, 2008. "High-frequency trading in a limit order book," Quantitative Finance, Taylor & Francis Journals, vol. 8(3), pages 217-224.
    7. Arthur le Calvez & Dave Cliff, 2018. "Deep Learning can Replicate Adaptive Traders in a Limit-Order-Book Financial Market," Papers 1811.02880, arXiv.org.
    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. Zhen Zhang & Dave Cliff, 2020. "Market Impact in Trader-Agents: Adding Multi-Level Order-Flow Imbalance-Sensitivity to Automated Trading Systems," Papers 2012.12555, arXiv.org.

    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. Armand Mihai Cismaru, 2024. "DeepTraderX: Challenging Conventional Trading Strategies with Deep Learning in Multi-Threaded Market Simulations," Papers 2403.18831, arXiv.org.
    2. Dave Cliff, 2018. "BSE: A Minimal Simulation of a Limit-Order-Book Stock Exchange," Papers 1809.06027, arXiv.org.
    3. Hong Guo & Jianwu Lin & Fanlin Huang, 2023. "Market Making with Deep Reinforcement Learning from Limit Order Books," Papers 2305.15821, arXiv.org.
    4. Itzhak Rasooly, 2022. "Competitive equilibrium and the double auction," Economics Series Working Papers 974, University of Oxford, Department of Economics.
    5. Sabiou M. Inoua & Vernon L. Smith, 2022. "Perishable goods versus re-tradable assets: A theoretical reappraisal of a fundamental dichotomy," Chapters, in: Sascha Füllbrunn & Ernan Haruvy (ed.), Handbook of Experimental Finance, chapter 15, pages 162-171, Edward Elgar Publishing.
    6. Tai, Chung-Ching & Chen, Shu-Heng & Yang, Lee-Xieng, 2018. "Cognitive ability and earnings performance: Evidence from double auction market experiments," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 409-440.
    7. Jakob Grazzini, 2013. "Information dissemination in an experimentally based agent-based stock market," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 8(1), pages 179-209, April.
    8. Gjerstad, Steven & Dickhaut, John, 1998. "Price Formation in Double Auctions," Games and Economic Behavior, Elsevier, vol. 22(1), pages 1-29, January.
    9. Jason Shachat & Zhenxuan Zhang, 2017. "The Hayek Hypothesis and Long‐run Competitive Equilibrium: An Experimental Investigation," Economic Journal, Royal Economic Society, vol. 127(599), pages 199-228, February.
    10. Brewer, Paul & Ratan, Anmol, 2019. "Profitability, efficiency, and inequality in double auction markets with snipers," Journal of Economic Behavior & Organization, Elsevier, vol. 164(C), pages 486-499.
    11. Großer, Jens & Reuben, Ernesto, 2013. "Redistribution and market efficiency: An experimental study," Journal of Public Economics, Elsevier, vol. 101(C), pages 39-52.
    12. Cason, Timothy N. & Friedman, Daniel, 1996. "Price formation in double auction markets," Journal of Economic Dynamics and Control, Elsevier, vol. 20(8), pages 1307-1337, August.
    13. Marta Posada & Adolfo López-Paredes, 2007. "How to Choose the Bidding Strategy in Continuous Double Auctions: Imitation Versus Take-The-Best Heuristics," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 11(1), pages 1-6.
    14. Henry Hanifan & Ben Watson & John Cartlidge & Dave Cliff, 2021. "Time Matters: Exploring the Effects of Urgency and Reaction Speed in Automated Traders," Papers 2103.00600, arXiv.org.
    15. Junhuan Zhang & Peter McBurney & Katarzyna Musial, 2018. "Convergence of trading strategies in continuous double auction markets with boundedly-rational networked traders," Review of Quantitative Finance and Accounting, Springer, vol. 50(1), pages 301-352, January.
    16. Dave Cliff, 2021. "BBE: Simulating the Microstructural Dynamics of an In-Play Betting Exchange via Agent-Based Modelling," Papers 2105.08310, arXiv.org.
    17. Itzhak Rasooly, 2022. "Competitive equilibrium and the double auction," Papers 2209.07532, arXiv.org.
    18. Sean Crockett, 2013. "Price Dynamics In General Equilibrium Experiments," Journal of Economic Surveys, Wiley Blackwell, vol. 27(3), pages 421-438, July.
    19. Duffy, John, 2006. "Agent-Based Models and Human Subject Experiments," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 19, pages 949-1011, Elsevier.
    20. Tseng, Jie-Jun & Lin, Chih-Hao & Lin, Chih-Ting & Wang, Sun-Chong & Li, Sai-Ping, 2010. "Statistical properties of agent-based models in markets with continuous double auction mechanism," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 389(8), pages 1699-1707.

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