IDEAS home Printed from https://ideas.repec.org/a/imx/journl/v16y2021i4a8.html
   My bibliography  Save this article

Autómata Evolutivo (AE) para el mercado accionario usando Martingalas y un Algoritmo Genético

Author

Listed:
  • Jaime Alberto Gómez Vilchis

    (Universidad Nacional Autónoma de México, México)

  • Federico Hernández Álvarez

    (Universidad Nacional Autónoma de México, México)

  • Luis Ignacio Román de la Sancha

    (Universidad Nacional Autónoma de México, México)

Abstract

El objetivo de este trabajo es desarrollar un Autómata Evolutivo (AE) que opera con base a un modelo de martingalas con el que se definen estrategias de inversión, las cuales utilizan información inmediata histórica, límites de ganancia, pérdida y tiempos de permanencia; brinda señales de compra, venta o mantener la posición del activo basadas en la combinación óptima de medias móviles seleccionadas mediante un algoritmo genético. Se probó para dos índices accionarios antes, durante y después de la crisis subprime, mostrando que, cuando los mercados estaban en fase alcista, la estrategia comprar-manter (BH) generó un rendimiento superior al AE; en contraste, para el periodo de crisis observado, el AE logró un rendimiento mayor; finalmente, en todo el periodo de prueba, el rendimiento del AE fue superior. El AE tiene la restricción que solo puede ser usado por una acción/índice por periodo, aunque esto puede ser solventado al ciclarlo por el número de instrumentos del portafolio. La autenticidad del trabajo radica en la combinación de modelos que se complementan para generar un sistema que ayuda en la toma de decisiones.

Suggested Citation

  • Jaime Alberto Gómez Vilchis & Federico Hernández Álvarez & Luis Ignacio Román de la Sancha, 2021. "Autómata Evolutivo (AE) para el mercado accionario usando Martingalas y un Algoritmo Genético," Remef - Revista Mexicana de Economía y Finanzas Nueva Época REMEF (The Mexican Journal of Economics and Finance), Instituto Mexicano de Ejecutivos de Finanzas, IMEF, vol. 16(4), pages 1-22, Octubre -.
  • Handle: RePEc:imx:journl:v:16:y:2021:i:4:a:8
    as

    Download full text from publisher

    File URL: https://www.remef.org.mx/index.php/remef/article/view/505
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Schilling, Linda & Uhlig, Harald, 2019. "Some simple bitcoin economics," Journal of Monetary Economics, Elsevier, vol. 106(C), pages 16-26.
    2. J. Michael Harrison & Stanley R. Pliska, 1981. "Martingales and Stochastic Integrals in the Theory of Continous Trading," Discussion Papers 454, Northwestern University, Center for Mathematical Studies in Economics and Management Science.
    3. Hyejung Chung & Kyung-shik Shin, 2018. "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, MDPI, vol. 10(10), pages 1-18, October.
    4. Banerjee, Snehal & Breon-Drish, Bradyn, 2020. "Strategic trading and unobservable information acquisition," Journal of Financial Economics, Elsevier, vol. 138(2), pages 458-482.
    5. Luís Lobato Macedo & Pedro Godinho & Maria João Alves, 2020. "A Comparative Study of Technical Trading Strategies Using a Genetic Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 55(1), pages 349-381, January.
    6. Zi-Yi Guo, 2017. "Order Flow and Exchange Rate Dynamics in Continuous Time: New Evidence from Martingale Regression," International Journal of Economics and Financial Issues, Econjournals, vol. 7(2), pages 507-512.
    7. James, F. E., 1968. "Monthly Moving Averages—An Effective Investment Tool?*," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 3(3), pages 315-326, September.
    8. Harrison, J. Michael & Kreps, David M., 1979. "Martingales and arbitrage in multiperiod securities markets," Journal of Economic Theory, Elsevier, vol. 20(3), pages 381-408, June.
    9. Harrison, J. Michael & Pliska, Stanley R., 1981. "Martingales and stochastic integrals in the theory of continuous trading," Stochastic Processes and their Applications, Elsevier, vol. 11(3), pages 215-260, August.
    10. Phooi M’ng, Jacinta Chan, 2018. "Dynamically Adjustable Moving Average (AMA’) technical analysis indicator to forecast Asian Tigers’ futures markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 509(C), pages 336-345.
    11. Allen, Franklin & Karjalainen, Risto, 1999. "Using genetic algorithms to find technical trading rules," Journal of Financial Economics, Elsevier, vol. 51(2), pages 245-271, February.
    12. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    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. Marcelo F. Perillo, 2021. "Valuación de Títulos de Deuda Indexados al Comportamiento de un Índice Accionario: Un Modelo sin Riesgo de Crédito," CEMA Working Papers: Serie Documentos de Trabajo. 784, Universidad del CEMA.
    2. Timothy Johnson, 2015. "Reciprocity as a Foundation of Financial Economics," Journal of Business Ethics, Springer, vol. 131(1), pages 43-67, September.
    3. Jovanovic, Franck & Schinckus, Christophe, 2016. "Breaking down the barriers between econophysics and financial economics," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 256-266.
    4. Clarence Simard & Bruno Rémillard, 2019. "Pricing European Options in a Discrete Time Model for the Limit Order Book," Methodology and Computing in Applied Probability, Springer, vol. 21(3), pages 985-1005, September.
    5. Fergusson, Kevin, 2020. "Less-Expensive Valuation And Reserving Of Long-Dated Variable Annuities When Interest Rates And Mortality Rates Are Stochastic," ASTIN Bulletin, Cambridge University Press, vol. 50(2), pages 381-417, May.
    6. N. Azevedo & D. Pinheiro & S. Z. Xanthopoulos & A. N. Yannacopoulos, 2018. "Who would invest only in the risk-free asset?," International Journal of Financial Engineering (IJFE), World Scientific Publishing Co. Pte. Ltd., vol. 5(03), pages 1-14, September.
    7. Hardeep Singh Mundi, 2023. "Risk neutral variances to compute expected returns using data from S&P BSE 100 firms—a replication study," Management Review Quarterly, Springer, vol. 73(1), pages 215-230, February.
    8. repec:uts:finphd:40 is not listed on IDEAS
    9. Zhu, Ke & Ling, Shiqing, 2015. "Model-based pricing for financial derivatives," Journal of Econometrics, Elsevier, vol. 187(2), pages 447-457.
    10. Dominique Pépin, 2010. "L'évaluation du prix des actions par les fondamentaux : analyse du marché français," Economie & Prévision, La Documentation Française, vol. 0(4), pages 83-98.
    11. W. Schachermayer, 1994. "Martingale Measures For Discrete‐Time Processes With Infinite Horizon," Mathematical Finance, Wiley Blackwell, vol. 4(1), pages 25-55, January.
    12. Claudio Fontana, 2015. "Weak And Strong No-Arbitrage Conditions For Continuous Financial Markets," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 18(01), pages 1-34.
    13. Michael C. Fu & Bingqing Li & Guozhen Li & Rongwen Wu, 2017. "Option Pricing for a Jump-Diffusion Model with General Discrete Jump-Size Distributions," Management Science, INFORMS, vol. 63(11), pages 3961-3977, November.
    14. Zhanyu Chen & Kai Zhang & Hongbiao Zhao, 2022. "A Skellam market model for loan prime rate options," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 42(3), pages 525-551, March.
    15. Abraham Lioui & Patrice Poncet, 2000. "The Minimum Variance Hedge Ratio Under Stochastic Interest Rates," Management Science, INFORMS, vol. 46(5), pages 658-668, May.
    16. Weissensteiner, Alex, 2010. "Using the Black-Derman-Toy interest rate model for portfolio optimization," European Journal of Operational Research, Elsevier, vol. 202(1), pages 175-181, April.
    17. Eckhard Platen & Stefan Tappe, 2020. "The Fundamental Theorem of Asset Pricing for Self-Financing Portfolios," Research Paper Series 411, Quantitative Finance Research Centre, University of Technology, Sydney.
    18. Xiaowei Ding & Kay Giesecke & Pascal I. Tomecek, 2009. "Time-Changed Birth Processes and Multiname Credit Derivatives," Operations Research, INFORMS, vol. 57(4), pages 990-1005, August.
    19. Di Corato, Luca & Moretto, Michele, 2016. "Selling real assets: the impact of idiosyncratic project risk in an auction environment," Working Paper Series 2016:9, Swedish University of Agricultural Sciences, Department Economics.
    20. Melenberg, B. & Werker, B.J.M., 1996. "On the Pricing of Options in Incomplete Markets," Discussion Paper 1996-19, Tilburg University, Center for Economic Research.
    21. El-Khatib, Youssef & Goutte, Stephane & Makumbe, Zororo S. & Vives, Josep, 2023. "A hybrid stochastic volatility model in a Lévy market," International Review of Economics & Finance, Elsevier, vol. 85(C), pages 220-235.

    More about this item

    Keywords

    Autómata evolutivo; martingalas; tiempos de paro; medias móviles; algoritmo genético;
    All these keywords.

    JEL classification:

    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation
    • G14 - Financial Economics - - General Financial Markets - - - Information and Market Efficiency; Event Studies; Insider Trading

    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:imx:journl:v:16:y:2021:i:4:a:8. 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: Ricardo Mendoza (email available below). General contact details of provider: https://www.remef.org.mx/index.php/remef/index .

    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.