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

Agent-Based Simulation of a Perpetual Futures Market

Author

Listed:
  • Ramshreyas Rao

Abstract

I introduce an agent-based model of a Perpetual Futures market with heterogeneous agents trading via a central limit order book. Perpetual Futures (henceforth Perps) are financial derivatives introduced by the economist Robert Shiller, designed to peg their price to that of the underlying Spot market. This paper extends the limit order book model of Chiarella et al. (2002) by taking their agent and orderbook parameters, designed for a simple stock exchange, and applying it to the more complex environment of a Perp market with long and short traders who exhibit both positional and basis-trading behaviors. I find that despite the simplicity of the agent behavior, the simulation is able to reproduce the most salient feature of a Perp market, the pegging of the Perp price to the underlying Spot price. In contrast to fundamental simulations of stock markets which aim to reproduce empirically observed stylized facts such as the leptokurtosis and heteroscedasticity of returns, volatility clustering and others, in derivatives markets many of these features are provided exogenously by the underlying Spot price signal. This is especially true of Perps since the derivative is designed to mimic the price of the Spot market. Therefore, this paper will focus exclusively on analyzing how market and agent parameters such as order lifetime, trading horizon and spread affect the premiums at which Perps trade with respect to the underlying Spot market. I show that this simulation provides a simple and robust environment for exploring the dynamics of Perpetual Futures markets and their microstructure in this regard. Lastly, I explore the ability of the model to reproduce the effects of biasing long traders to trade positionally and short traders to basis-trade, which was the original intention behind the market design, and is a tendency observed empirically in real Perp markets.

Suggested Citation

  • Ramshreyas Rao, 2025. "Agent-Based Simulation of a Perpetual Futures Market," Papers 2501.09404, arXiv.org.
  • Handle: RePEc:arx:papers:2501.09404
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Stoker, Thomas M, 1993. "Empirical Approaches to the Problem of Aggregation Over Individuals," Journal of Economic Literature, American Economic Association, vol. 31(4), pages 1827-1874, December.
    2. Pagan, Adrian, 1996. "The econometrics of financial markets," Journal of Empirical Finance, Elsevier, vol. 3(1), pages 15-102, May.
    3. Boswijk, H. Peter & Hommes, Cars H. & Manzan, Sebastiano, 2007. "Behavioral heterogeneity in stock prices," Journal of Economic Dynamics and Control, Elsevier, vol. 31(6), pages 1938-1970, June.
    4. Carol Alexander & Jaehyuk Choi & Heungju Park & Sungbin Sohn, 2020. "BitMEX bitcoin derivatives: Price discovery, informational efficiency, and hedging effectiveness," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 40(1), pages 23-43, January.
    5. Levy, Moshe & Levy, Haim & Solomon, Sorin, 1994. "A microscopic model of the stock market : Cycles, booms, and crashes," Economics Letters, Elsevier, vol. 45(1), pages 103-111, May.
    6. Shiller, Robert J, 1993. "Measuring Asset Values for Cash Settlement in Derivative Markets: Hedonic Repeated Measures Indices and Perpetual Futures," Journal of Finance, American Finance Association, vol. 48(3), pages 911-931, July.
    7. Franke, Reiner & Westerhoff, Frank, 2012. "Structural stochastic volatility in asset pricing dynamics: Estimation and model contest," Journal of Economic Dynamics and Control, Elsevier, vol. 36(8), pages 1193-1211.
    8. Carl Chiarella & Giulia Iori, 2002. "A simulation analysis of the microstructure of double auction markets," Quantitative Finance, Taylor & Francis Journals, vol. 2(5), pages 346-353.
    9. Sai Srikar Nimmagadda & Pawan Sasanka Ammanamanchi, 2019. "BitMEX Funding Correlation with Bitcoin Exchange Rate," Papers 1912.03270, arXiv.org.
    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. Chiarella, Carl & He, Xue-Zhong & Zwinkels, Remco C.J., 2014. "Heterogeneous expectations in asset pricing: Empirical evidence from the S&P500," Journal of Economic Behavior & Organization, Elsevier, vol. 105(C), pages 1-16.
    2. 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.
    3. Blaurock, Ivonne & Schmitt, Noemi & Westerhoff, Frank, 2018. "Market entry waves and volatility outbursts in stock markets," Journal of Economic Behavior & Organization, Elsevier, vol. 153(C), pages 19-37.
    4. Johann Lussange & Ivan Lazarevich & Sacha Bourgeois-Gironde & Stefano Palminteri & Boris Gutkin, 2021. "Modelling Stock Markets by Multi-agent Reinforcement Learning," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 113-147, January.
    5. Xue-Zhong He & Youwei Li, 2017. "The adaptiveness in stock markets: testing the stylized facts in the DAX 30," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1071-1094, November.
    6. Maximilian Beikirch & Simon Cramer & Martin Frank & Philipp Otte & Emma Pabich & Torsten Trimborn, 2018. "Simulation of Stylized Facts in Agent-Based Computational Economic Market Models," Papers 1812.02726, arXiv.org, revised Nov 2019.
    7. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2014, January-A.
    8. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 13, July-Dece.
    9. Kukacka, Jiri & Jang, Tae-Seok & Sacht, Stephen, 2018. "On the estimation of behavioral macroeconomic models via simulated maximum likelihood," Economics Working Papers 2018-11, Christian-Albrechts-University of Kiel, Department of Economics.
    10. Klein, A. & Urbig, D. & Kirn, S., 2008. "Who Drives the Market? Estimating a Heterogeneous Agent-based Financial Market Model Using a Neural Network Approach," MPRA Paper 14433, University Library of Munich, Germany.
    11. E. Samanidou & E. Zschischang & D. Stauffer & T. Lux, 2001. "Microscopic Models of Financial Markets," Papers cond-mat/0110354, arXiv.org.
    12. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    13. Sandrine Jacob Leal & Mauro Napoletano & Andrea Roventini & Giorgio Fagiolo, 2016. "Rock around the clock: An agent-based model of low- and high-frequency trading," Journal of Evolutionary Economics, Springer, vol. 26(1), pages 49-76, March.
    14. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    15. Amilon, Henrik, 2008. "Estimation of an adaptive stock market model with heterogeneous agents," Journal of Empirical Finance, Elsevier, vol. 15(2), pages 342-362, March.
    16. repec:hal:spmain:info:hdl:2441/13thfd12aa8rmplfudlgvgahff is not listed on IDEAS
    17. Anufriev, Mikhail & Panchenko, Valentyn, 2009. "Asset prices, traders' behavior and market design," Journal of Economic Dynamics and Control, Elsevier, vol. 33(5), pages 1073-1090, May.
    18. Li, Mengling & Zheng, Huanhuan & Tai Leung Chong, Terence & Zhang, Yang, 2016. "The stock–bond comovements and cross-market trading," Journal of Economic Dynamics and Control, Elsevier, vol. 73(C), pages 417-438.
    19. Erdong Chen & Mengzhong Ma & Zixin Nie, 2024. "Exploring the Impact: How Decentralized Exchange Designs Shape Traders' Behavior on Perpetual Future Contracts," Papers 2402.03953, arXiv.org, revised Apr 2024.
    20. Staccioli, Jacopo & Napoletano, Mauro, 2021. "An agent-based model of intra-day financial markets dynamics," Journal of Economic Behavior & Organization, Elsevier, vol. 182(C), pages 331-348.
    21. Torsten Trimborn & Philipp Otte & Simon Cramer & Maximilian Beikirch & Emma Pabich & Martin Frank, 2020. "SABCEMM: A Simulator for Agent-Based Computational Economic Market Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 707-744, February.

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