IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v16y2023i9p387-d1228915.html
   My bibliography  Save this article

On a Data-Driven Optimization Approach to the PID-Based Algorithmic Trading

Author

Listed:
  • Vadim Azhmyakov

    (Data Analytics, Universidad Central, Bogota 11001, Colombia
    These authors contributed equally to this work.)

  • Ilya Shirokov

    (Algorithmic Systems Corp, Phuket 83000, Thailand
    These authors contributed equally to this work.)

  • Yuri Dernov

    (Algorithmic Systems Corp, Phuket 83000, Thailand
    These authors contributed equally to this work.)

  • Luz Adriana Guzman Trujillo

    (LARIS, Université d’Angers, 49000 Angers, France
    These authors contributed equally to this work.)

Abstract

This paper proposes an optimal trading algorithm based on a novel application of conventional control engineering (CE). We consider a fundamental CE concept, namely, the feedback control, and apply it to algorithmic trading (AT). The concrete feedback control strategy is designed in a form of the celebrated proportional–integral–derivative (PID) model. The highly fluctuating nature of the modern financial markets has led to the adoption of a model-free realization of the generic PID framework. The control theoretical methodology we propose is combined with the advanced statistics for the historical market data. We obtain a specific log-normal probability distribution function (pdf) associated with the specific quantities associated with the available stock data. The empirical log-normal pdf mentioned above enables the necessary PID gains optimization. For this aim, we apply the data-driven optimization approaches and consider the corresponding Monte Carlo solution procedure. The optimized PID trading algorithm we propose is also studied in the Fourier analysis framework. This equivalent frequency domain representation involves a new concept in financial engineering, namely, the “stock market energy” concept. For the evaluation, we implement the proposed PID optimal trading algorithm and develop a Python-based prototype software. We finally apply the corresponding prototype software to a data set from the Binance BTC/USDT (Bitcoin/Tether) stock market. The experimental result illustrates the implementability of the proposed optimal PID trading scheme and also shows the effectiveness of the proposed CE methods in the modern AT.

Suggested Citation

  • Vadim Azhmyakov & Ilya Shirokov & Yuri Dernov & Luz Adriana Guzman Trujillo, 2023. "On a Data-Driven Optimization Approach to the PID-Based Algorithmic Trading," JRFM, MDPI, vol. 16(9), pages 1-18, August.
  • Handle: RePEc:gam:jjrfmx:v:16:y:2023:i:9:p:387-:d:1228915
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/16/9/387/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/16/9/387/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Antoniou, I & Ivanov, Vi.V & Ivanov, Va.V & Zrelov, P.V, 2004. "On the log-normal distribution of stock market data," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 331(3), pages 617-638.
    2. Black, Fischer & Scholes, Myron S, 1973. "The Pricing of Options and Corporate Liabilities," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 637-654, May-June.
    3. Bertsimas, Dimitris & Lo, Andrew W., 1998. "Optimal control of execution costs," Journal of Financial Markets, Elsevier, vol. 1(1), pages 1-50, April.
    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. Olivier Guéant, 2016. "The Financial Mathematics of Market Liquidity: From Optimal Execution to Market Making," Post-Print hal-01393136, HAL.
    2. Aur'elien Alfonsi & Jos'e Infante Acevedo, 2012. "Optimal execution and price manipulations in time-varying limit order books," Papers 1204.2736, arXiv.org.
    3. Shuo Sun & Rundong Wang & Bo An, 2021. "Reinforcement Learning for Quantitative Trading," Papers 2109.13851, arXiv.org.
    4. repec:hal:wpaper:hal-00687193 is not listed on IDEAS
    5. Aurélien Alfonsi & José Infante Acevedo, 2014. "Optimal execution and price manipulations in time-varying limit order books," Post-Print hal-00687193, HAL.
    6. Ben Abdallah, Skander & Lasserre, Pierre, 2016. "Asset retirement with infinitely repeated alternative replacements: Harvest age and species choice in forestry," Journal of Economic Dynamics and Control, Elsevier, vol. 70(C), pages 144-164.
    7. Kau, James B. & Keenan, Donald C., 1999. "Patterns of rational default," Regional Science and Urban Economics, Elsevier, vol. 29(6), pages 765-785, November.
    8. Carol Alexandra & Leonardo M. Nogueira, 2005. "Optimal Hedging and Scale Inavriance: A Taxonomy of Option Pricing Models," ICMA Centre Discussion Papers in Finance icma-dp2005-10, Henley Business School, University of Reading, revised Nov 2005.
    9. William R. Morgan, 2023. "Finance Must Be Defended: Cybernetics, Neoliberalism and Environmental, Social, and Governance (ESG)," Sustainability, MDPI, vol. 15(4), pages 1-21, February.
    10. Filipe Fontanela & Antoine Jacquier & Mugad Oumgari, 2019. "A Quantum algorithm for linear PDEs arising in Finance," Papers 1912.02753, arXiv.org, revised Feb 2021.
    11. Jun, Doobae & Ku, Hyejin, 2015. "Static hedging of chained-type barrier options," The North American Journal of Economics and Finance, Elsevier, vol. 33(C), pages 317-327.
    12. Gordian Rättich & Kim Clark & Evi Hartmann, 2011. "Performance measurement and antecedents of early internationalizing firms: A systematic assessment," Working Papers 0031, College of Business, University of Texas at San Antonio.
    13. Paul Ormerod, 2010. "La crisis actual y la culpabilidad de la teoría macroeconómica," Revista de Economía Institucional, Universidad Externado de Colombia - Facultad de Economía, vol. 12(22), pages 111-128, January-J.
    14. An Chen & Thai Nguyen & Thorsten Sehner, 2022. "Unit-Linked Tontine: Utility-Based Design, Pricing and Performance," Risks, MDPI, vol. 10(4), pages 1-27, April.
    15. Gianbiagio Curato & Jim Gatheral & Fabrizio Lillo, 2014. "Optimal execution with nonlinear transient market impact," Papers 1412.4839, arXiv.org.
    16. Kearney, Fearghal & Shang, Han Lin & Sheenan, Lisa, 2019. "Implied volatility surface predictability: The case of commodity markets," Journal of Banking & Finance, Elsevier, vol. 108(C).
    17. Álvarez Echeverría Francisco & López Sarabia Pablo & Venegas Martínez Francisco, 2012. "Valuación financiera de proyectos de inversión en nuevas tecnologías con opciones reales," Contaduría y Administración, Accounting and Management, vol. 57(3), pages 115-145, julio-sep.
    18. Vorst, A. C. F., 1988. "Option Pricing And Stochastic Processes," Econometric Institute Archives 272366, Erasmus University Rotterdam.
    19. Dybvig, Philip H. & Gong, Ning & Schwartz, Rachel, 2000. "Bias of Damage Awards and Free Options in Securities Litigation," Journal of Financial Intermediation, Elsevier, vol. 9(2), pages 149-168, April.
    20. Zhao, Zhibiao & Wu, Wei Biao, 2009. "Nonparametric inference of discretely sampled stable Lévy processes," Journal of Econometrics, Elsevier, vol. 153(1), pages 83-92, November.
    21. Antoine Jacquier & Patrick Roome, 2015. "Black-Scholes in a CEV random environment," Papers 1503.08082, arXiv.org, revised Nov 2017.

    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:gam:jjrfmx:v:16:y:2023:i:9:p:387-:d:1228915. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.