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

Neuro-wavelet Model for price prediction in high-frequency data in the Mexican Stock market

Author

Listed:
  • Montserrat Reyna Miranda

    (Centro de Investigación y Docencia Económicas, México)

  • Ricardo Massa Roldán

    (Universidad Anáhuac México, México)

  • Vicente Gómez Salcido

    (Investigador independiente)

Abstract

Con la disponibilidad de datos de alta frecuencia y nuevas técnicas para la filtración de señales, es pertinente preguntarse una vez más ¿podemos predecir los precios de los activos financieros? El presente trabajo propone un algoritmo para la predicción de retorno logarítmico del siguiente periodo. Se usan datos en frecuencias de 1 a 15 minutos, para 25 activos de alta capitalización en el mercado accionario mexicano. El modelo consiste en la aplicación de una wavelet seguida de una red neuronal de tipo Long Short-Term Memory (LSTM). En la literatura comúnmente se encuentra el uso de wavelets o de redes neuronales en aplicaciones financieras, la novedad de nuestro trabajo radica en la arquitectura particular que proponemos. Los resultados muestran que, en promedio, el modelo de neuro-wavelet propuesto supera tanto a un modelo ARIMA como a un modelo de red neuronal densa de referencia. Podemos concluir que, aunque más investigación es necesaria, dada la creciente capacidad técnica actual de los participantes del mercado, la inclusión del modelo LSTM neuro - wavelet al abanico de herramientas disponibles es de mucho valor, pues podría representar una ventaja sobre las herramientas predictivas tradicionales.

Suggested Citation

  • Montserrat Reyna Miranda & Ricardo Massa Roldán & Vicente Gómez Salcido, 2022. "Neuro-wavelet Model for price prediction in high-frequency data in the Mexican Stock market," 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. 17(1), pages 1-23, Enero - M.
  • Handle: RePEc:imx:journl:v:17:y:2022:i:1:a:6
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Pawel STRAWINSKI & Robert SLEPACZUK, 2008. "Analysis Of High Frequency Data On The Warsaw Stock Exchange In The Context Of Efficient Market Hypothesis," Journal of Applied Economic Sciences, Spiru Haret University, Faculty of Financial Management and Accounting Craiova, vol. 3(3(5)_Fall), pages 306-319.
    2. Sima Siami-Namini & Akbar Siami Namin, 2018. "Forecasting Economics and Financial Time Series: ARIMA vs. LSTM," Papers 1803.06386, arXiv.org.
    3. Wei Bao & Jun Yue & Yulei Rao, 2017. "A deep learning framework for financial time series using stacked autoencoders and long-short term memory," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-24, July.
    4. Reboredo, Juan C. & Rivera-Castro, Miguel A., 2013. "A wavelet decomposition approach to crude oil price and exchange rate dependence," Economic Modelling, Elsevier, vol. 32(C), pages 42-57.
    5. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 59-82, Winter.
    6. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    7. Cohen, Randolph B. & Gompers, Paul A. & Vuolteenaho, Tuomo, 2002. "Who underreacts to cash-flow news? evidence from trading between individuals and institutions," Journal of Financial Economics, Elsevier, vol. 66(2-3), pages 409-462.
    8. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    9. Gupta, Suman & Das, Debojyoti & Hasim, Haslifah & Tiwari, Aviral Kumar, 2018. "The dynamic relationship between stock returns and trading volume revisited: A MODWT-VAR approach," Finance Research Letters, Elsevier, vol. 27(C), pages 91-98.
    10. Burton G. Malkiel, 2003. "The Efficient Market Hypothesis and Its Critics," Working Papers 111, Princeton University, Department of Economics, Center for Economic Policy Studies..
    11. Carrion, Allen, 2013. "Very fast money: High-frequency trading on the NASDAQ," Journal of Financial Markets, Elsevier, vol. 16(4), pages 680-711.
    12. Jammazi, Rania & Aloui, Chaker, 2012. "Crude oil price forecasting: Experimental evidence from wavelet decomposition and neural network modeling," Energy Economics, Elsevier, vol. 34(3), pages 828-841.
    13. repec:pri:cepsud:91malkiel is not listed on IDEAS
    14. Paul Jefferies & Michael Hart & Neil Johnson & P.M. Hui, 2001. "From market games to real-world markets," OFRC Working Papers Series 2001mf02, Oxford Financial Research Centre.
    15. Diego Ardila & Didier Sornette, 2016. "Dating the Financial Cycle: A Wavelet Proposition," Swiss Finance Institute Research Paper Series 16-29, Swiss Finance Institute, revised May 2016.
    16. Bruzda, Joanna, 2019. "Complex analytic wavelets in the measurement of macroeconomic risks," The North American Journal of Economics and Finance, Elsevier, vol. 50(C).
    17. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    18. Caetano, Marco Antonio Leonel & Yoneyama, Takashi, 2007. "Characterizing abrupt changes in the stock prices using a wavelet decomposition method," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 383(2), pages 519-526.
    19. Jae Young Choi & Bumshik Lee, 2018. "Combining LSTM Network Ensemble via Adaptive Weighting for Improved Time Series Forecasting," Mathematical Problems in Engineering, Hindawi, vol. 2018, pages 1-8, August.
    20. P. Jefferies & M.L. Hart & P.M. Hui & N.F. Johnson, 2001. "From market games to real-world markets," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 20(4), pages 493-501, April.
    21. Ardila, Diego & Sornette, Didier, 2016. "Dating the financial cycle with uncertainty estimates: a wavelet proposition," Finance Research Letters, Elsevier, vol. 19(C), pages 298-304.
    22. Ball, Ray, 1978. "Anomalies in relationships between securities' yields and yield-surrogates," Journal of Financial Economics, Elsevier, vol. 6(2-3), pages 103-126.
    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. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2019. "Time-Varying Price–Volume Relationship and Adaptive Market Efficiency: A Survey of the Empirical Literature," JRFM, MDPI, vol. 12(2), pages 1-18, June.
    2. Kin-Boon Tang & Shao-Jye Wong & Shih-Kuei Lin & Szu-Lang Liao, 2020. "Excess volatility and market efficiency in government bond markets: the ASEAN-5 context," Journal of Asset Management, Palgrave Macmillan, vol. 21(2), pages 154-165, March.
    3. Stavarek, Daniel & Heryan, Tomas, 2012. "Day of the week effect in central European stock markets," MPRA Paper 38431, University Library of Munich, Germany.
    4. Firat Melih Yilmaz & Engin Yildiztepe, 2024. "Statistical Evaluation of Deep Learning Models for Stock Return Forecasting," Computational Economics, Springer;Society for Computational Economics, vol. 63(1), pages 221-244, January.
    5. Ignacio Escanuela Romana & Clara Escanuela Nieves, 2023. "A spectral approach to stock market performance," Papers 2305.05762, arXiv.org.
    6. Chan, Wesley S. & Frankel, Richard & Kothari, S.P., 2004. "Testing behavioral finance theories using trends and consistency in financial performance," Journal of Accounting and Economics, Elsevier, vol. 38(1), pages 3-50, December.
    7. Oktay Ozkan, 2020. "Time-varying return predictability and adaptive markets hypothesis: Evidence on MIST countries from a novel wild bootstrap likelihood ratio approach," Bogazici Journal, Review of Social, Economic and Administrative Studies, Bogazici University, Department of Economics, vol. 34(2), pages 101-113.
    8. Jinho Lee & Raehyun Kim & Yookyung Koh & Jaewoo Kang, 2019. "Global Stock Market Prediction Based on Stock Chart Images Using Deep Q-Network," Papers 1902.10948, arXiv.org.
    9. Stefanescu, Razvan & Dumitriu, Ramona, 2016. "Particularitǎţi ale evoluţiei variabilelor financiare [Some particularities of the financial variables evolution]," MPRA Paper 73481, University Library of Munich, Germany, revised 02 Sep 2016.
    10. David M. Ritzwoller & Joseph P. Romano, 2019. "Uncertainty in the Hot Hand Fallacy: Detecting Streaky Alternatives to Random Bernoulli Sequences," Papers 1908.01406, arXiv.org, revised Apr 2021.
    11. Bell, Peter N, 2013. "New Testing Procedures to Assess Market Efficiency with Trading Rules," MPRA Paper 46701, University Library of Munich, Germany.
    12. Jitka Veselá & Alžběta Zíková, 2022. "Are the Czech, Polish, German and Dutch markets taking a random walk? [Konají český, polský, německý a nizozemský trh náhodnou procházku?]," Český finanční a účetní časopis, Prague University of Economics and Business, vol. 2022(2), pages 19-38.
    13. Muchnik, Lev & Bunde, Armin & Havlin, Shlomo, 2009. "Long term memory in extreme returns of financial time series," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(19), pages 4145-4150.
    14. Nathan Jensen, 2007. "International institutions and market expectations: Stock price responses to the WTO ruling on the 2002 U.S. steel tariffs," The Review of International Organizations, Springer, vol. 2(3), pages 261-280, September.
    15. Cristi Spulbar & Ramona Birau & Lucian Florin Spulbar, 2021. "A Critical Survey on Efficient Market Hypothesis (EMH), Adaptive Market Hypothesis (AMH) and Fractal Markets Hypothesis (FMH) Considering Their Implication on Stock Markets Behavior," Ovidius University Annals, Economic Sciences Series, Ovidius University of Constantza, Faculty of Economic Sciences, vol. 0(2), pages 1161-1165, December.
    16. Park, Cheol-Ho & Irwin, Scott H., 2004. "The Profitability Of Technical Trading Rules In Us Futures Markets: A Data Snooping Free Test," 2004 Conference, April 19-20, 2004, St. Louis, Missouri 19011, NCR-134 Conference on Applied Commodity Price Analysis, Forecasting, and Market Risk Management.
    17. Taufiq Choudhry & Ranadeva Jayasekera, 2015. "Level of efficiency in the UK equity market: empirical study of the effects of the global financial crisis," Review of Quantitative Finance and Accounting, Springer, vol. 44(2), pages 213-242, February.
    18. Mahata, Ajit & Rai, Anish & Nurujjaman, Md. & Prakash, Om, 2021. "Modeling and analysis of the effect of COVID-19 on the stock price: V and L-shape recovery," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 574(C).
    19. Saggese, Pietro & Belmonte, Alessandro & Dimitri, Nicola & Facchini, Angelo & Böhme, Rainer, 2023. "Arbitrageurs in the Bitcoin ecosystem: Evidence from user-level trading patterns in the Mt. Gox exchange platform," Journal of Economic Behavior & Organization, Elsevier, vol. 213(C), pages 251-270.
    20. Admin Starcevic & Timothy Rodgers, 2011. "Market Efficiency within the German Stock Market: A Comparative Study of the Relative Efficiencies of the DAX, MDAX, SDAX and ASE Indices," International Econometric Review (IER), Econometric Research Association, vol. 3(1), pages 25-37, April.

    More about this item

    Keywords

    eficiencia de mercados; datos de alta frecuencia; redes neuronales LSTM; ondeletas;
    All these keywords.

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
    • G14 - Financial Economics - - General Financial Markets - - - Information and Market Efficiency; Event Studies; Insider Trading
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:17:y:2022:i:1:a:6. 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.