IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i3p485-d1332374.html
   My bibliography  Save this article

An EM/MCMC Markov-Switching GARCH Behavioral Algorithm for Random-Length Lumber Futures Trading

Author

Listed:
  • Oscar V. De la Torre-Torres

    (Facultad de Contaduría y Ciencias Administrativas, Universidad Michoacana de San Nicolás de Hidalgo (UMSNH), Morelia 58000, Mexico)

  • José Álvarez-García

    (Departamento de Economía Financiera y Contabilidad, Instituto Universitario de Investigación para el Desarrollo Territorial Sostenible (INTERRA), Universidad de Extremadura, 10071 Cáceres, Spain)

  • María de la Cruz del Río-Rama

    (Business Management and Marketing Department, Faculty of Business Sciences and Tourism, University of Vigo, 32004 Ourense, Spain)

Abstract

This paper tests using two-regime Markov-switching models with asymmetric, time-varying exponential generalized autoregressive conditional heteroskedasticity (MS-EGARCH) variances in random-length lumber futures trading. By assuming a two-regime context (a low s = 1 and high s = 2 volatility), a trading algorithm was simulated with the following trading rule: invest in lumber futures if the probability of being in the high-volatility regime s = 2 is lower or equal to 50%, or invest in the 3-month U.S. Treasury bills (TBills) otherwise. The rationale tested in this paper was that using a two-regime Markov-switching (MS) algorithm leads to an overperformance against a buy-and-hold strategy in lumber futures. To extend the current literature in MS trading algorithms, two location parameter scenarios were simulated. The first uses an unconditional mean or expected value (no factors), and the second incorporates market and behavioral factors. With weekly simulations form 2 January 1994 to 28 July 2023, the results suggest that using MS-EGARCH models in a no-factors scenario is appropriate for active lumber futures trading with an accumulated return of 158.33%. Also, the results suggest that it is not useful to add market and behavioral factors in the MS-GARCH estimation because it leads to a lower performance.

Suggested Citation

  • Oscar V. De la Torre-Torres & José Álvarez-García & María de la Cruz del Río-Rama, 2024. "An EM/MCMC Markov-Switching GARCH Behavioral Algorithm for Random-Length Lumber Futures Trading," Mathematics, MDPI, vol. 12(3), pages 1-21, February.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:3:p:485-:d:1332374
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/3/485/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/3/485/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ron Alquist & Olivier Gervais, 2013. "The Role of Financial Speculation in Driving the Price of Crude Oil," The Energy Journal, , vol. 34(3), pages 35-54, July.
    2. Philippe Charlot & Vêlayoudom Marimoutou, 2014. "On the relationship between the prices of oil and the precious metals: Revisiting with a multivariate regime-switching decision tree," Post-Print hal-01474252, HAL.
    3. Chen, Shan & Insley, Margaret, 2012. "Regime switching in stochastic models of commodity prices: An application to an optimal tree harvesting problem," Journal of Economic Dynamics and Control, Elsevier, vol. 36(2), pages 201-219.
    4. Malcolm Baker & Jeffrey Wurgler, 2007. "Investor Sentiment in the Stock Market," Journal of Economic Perspectives, American Economic Association, vol. 21(2), pages 129-152, Spring.
    5. Kanas, Angelos, 2005. "Regime linkages between the Mexican currency market and emerging equity markets," Economic Modelling, Elsevier, vol. 22(1), pages 109-125, January.
    6. Maximo Camacho & Gabriel Perez-Quiros, 2014. "Commodity Prices and the Business Cycle in Latin America: Living and Dying by Commodities?," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 50(2), pages 110-137, March.
    7. Hamilton, James D, 1989. "A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle," Econometrica, Econometric Society, vol. 57(2), pages 357-384, March.
    8. Glosten, Lawrence R & Jagannathan, Ravi & Runkle, David E, 1993. "On the Relation between the Expected Value and the Volatility of the Nominal Excess Return on Stocks," Journal of Finance, American Finance Association, vol. 48(5), pages 1779-1801, December.
    9. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    10. Dwight R. Sanders & Scott H. Irwin & Robert P. Merrin, 2010. "The Adequacy of Speculation in Agricultural Futures Markets: Too Much of a Good Thing?," Applied Economic Perspectives and Policy, Agricultural and Applied Economics Association, vol. 32(1), pages 77-94.
    11. Donald Lien & Hsiang‐Tai Lee & Her‐Jiun Sheu, 2018. "Hedging systematic risk in the commodity market with a regime‐switching multivariate rotated generalized autoregressive conditional heteroskedasticity model," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(12), pages 1514-1532, December.
    12. Ardia, David & Hoogerheide, Lennart F., 2014. "GARCH models for daily stock returns: Impact of estimation frequency on Value-at-Risk and Expected Shortfall forecasts," Economics Letters, Elsevier, vol. 123(2), pages 187-190.
    13. Roubaud, David & Arouri, Mohamed, 2018. "Oil prices, exchange rates and stock markets under uncertainty and regime-switching," Finance Research Letters, Elsevier, vol. 27(C), pages 28-33.
    14. Ye, Wuyi & Zhu, Yangguang & Wu, Yuehua & Miao, Baiqi, 2016. "Markov regime-switching quantile regression models and financial contagion detection," Insurance: Mathematics and Economics, Elsevier, vol. 67(C), pages 21-26.
    15. David Ardia, 2008. "Financial Risk Management with Bayesian Estimation of GARCH Models," Lecture Notes in Economics and Mathematical Systems, Springer, number 978-3-540-78657-3, July.
    16. Sebastian Fossati, 2017. "Output Growth And Structural Reform In Latin America: Have Business Cycles Changed?," Contemporary Economic Policy, Western Economic Association International, vol. 35(1), pages 62-75, January.
    17. Khalfaoui, R. & Boutahar, M. & Boubaker, H., 2015. "Analyzing volatility spillovers and hedging between oil and stock markets: Evidence from wavelet analysis," Energy Economics, Elsevier, vol. 49(C), pages 540-549.
    18. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    19. Lopes, José Mário & Nunes, Luis C., 2012. "A Markov regime switching model of crises and contagion: The case of the Iberian countries in the EMS," Journal of Macroeconomics, Elsevier, vol. 34(4), pages 1141-1153.
    20. Nelson, Daniel B, 1991. "Conditional Heteroskedasticity in Asset Returns: A New Approach," Econometrica, Econometric Society, vol. 59(2), pages 347-370, March.
    21. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    22. Charlot, Philippe & Marimoutou, Vêlayoudom, 2014. "On the relationship between the prices of oil and the precious metals: Revisiting with a multivariate regime-switching decision tree," Energy Economics, Elsevier, vol. 44(C), pages 456-467.
    23. Chen, Shiu-Sheng, 2006. "Revisiting the interest rate-exchange rate nexus: a Markov-switching approach," Journal of Development Economics, Elsevier, vol. 79(1), pages 208-224, February.
    24. Christos Floros & Enrique Salvador, 2016. "Volatility, trading volume and open interest in futures markets," International Journal of Managerial Finance, Emerald Group Publishing Limited, vol. 12(5), pages 629-653, October.
    25. Miles, William & Vijverberg, Chu-Ping, 2011. "Formal targets, central bank independence and inflation dynamics in the UK: A Markov-Switching approach," Journal of Macroeconomics, Elsevier, vol. 33(4), pages 644-655.
    26. Pelletier, Denis, 2006. "Regime switching for dynamic correlations," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 445-473.
    27. Ederington, Louis H & Lee, Jae Ha, 1993. "How Markets Process Information: News Releases and Volatility," Journal of Finance, American Finance Association, vol. 48(4), pages 1161-1191, September.
    28. Pedro Nielsen Rotta & Pedro L. Valls Pereira, 2016. "Analysis of contagion from the dynamic conditional correlation model with Markov Regime switching," Applied Economics, Taylor & Francis Journals, vol. 48(25), pages 2367-2382, May.
    29. Rabeh Khalfaoui & M. Boutahar & H. Boubaker, 2015. "Analyzing volatility spillovers and hedging between oil and stock markets: Evidence from wavelet analysis," Post-Print hal-03797593, HAL.
    30. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    31. Aviral K. Tiwari & Claudiu T. Albulescu & Rangan Gupta, 2016. "Time-frequency relationship between US output with commodity and asset prices," Applied Economics, Taylor & Francis Journals, vol. 48(3), pages 227-242, January.
    32. Brooks, Chris & Persand, Gita, 2001. "The trading profitability of forecasts of the gilt-equity yield ratio," International Journal of Forecasting, Elsevier, vol. 17(1), pages 11-29.
    33. David Kenyon & Kenneth Kling & Jim Jordan & William Seale & Nancy McCabe, 1987. "Factors affecting agricultural futures price variance," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 7(1), pages 73-91, February.
    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. Oscar V. De la Torre-Torres & Evaristo Galeana-Figueroa & María de la Cruz Del Río-Rama & José Álvarez-García, 2022. "Using Markov-Switching Models in US Stocks Optimal Portfolio Selection in a Black–Litterman Context (Part 1)," Mathematics, MDPI, vol. 10(8), pages 1-28, April.
    2. Oscar V. De la Torre-Torres & Dora Aguilasocho-Montoya & María de la Cruz del Río-Rama, 2020. "A Two-Regime Markov-Switching GARCH Active Trading Algorithm for Coffee, Cocoa, and Sugar Futures," Mathematics, MDPI, vol. 8(6), pages 1-19, June.
    3. Oscar V. De la Torre-Torres & Evaristo Galeana-Figueroa & José Álvarez-García, 2019. "A Test of Using Markov-Switching GARCH Models in Oil and Natural Gas Trading," Energies, MDPI, vol. 13(1), pages 1-24, December.
    4. Oscar V. De la Torre-Torres & Evaristo Galeana-Figueroa & José Álvarez-García, 2020. "Markov-Switching Stochastic Processes in an Active Trading Algorithm in the Main Latin-American Stock Markets," Mathematics, MDPI, vol. 8(6), pages 1-23, June.
    5. Oscar V. De la Torre-Torres & Evaristo Galeana-Figueroa & José Álvarez-García, 2021. "A Markov-Switching VSTOXX Trading Algorithm for Enhancing EUR Stock Portfolio Performance," Mathematics, MDPI, vol. 9(9), pages 1-28, May.
    6. Ardia, David & Bluteau, Keven & Boudt, Kris & Catania, Leopoldo, 2018. "Forecasting risk with Markov-switching GARCH models:A large-scale performance study," International Journal of Forecasting, Elsevier, vol. 34(4), pages 733-747.
    7. Ataurima Arellano, Miguel & Rodríguez, Gabriel, 2020. "Empirical modeling of high-income and emerging stock and Forex market return volatility using Markov-switching GARCH models," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    8. Pedro Nielsen Rotta & Pedro L. Valls Pereira, 2016. "Analysis of contagion from the dynamic conditional correlation model with Markov Regime switching," Applied Economics, Taylor & Francis Journals, vol. 48(25), pages 2367-2382, May.
    9. Lin, Boqiang & Wesseh, Presley K., 2013. "What causes price volatility and regime shifts in the natural gas market," Energy, Elsevier, vol. 55(C), pages 553-563.
    10. Oscar V. De la Torre-Torres & María de la Cruz del Río-Rama & Álvarez-García José, 2024. "Non-Commodity Agricultural Price Hedging with Minimum Tracking Error Portfolios: The Case of Mexican Hass Avocado," Agriculture, MDPI, vol. 14(10), pages 1-28, September.
    11. Rotta, Pedro Nielsen & Pereira, Pedro L. Valls, 2013. "Analysis of contagion from the constant conditional correlation model with Markov regime switching," Textos para discussão 340, FGV EESP - Escola de Economia de São Paulo, Fundação Getulio Vargas (Brazil).
    12. Afanasyev, Dmitriy O. & Fedorova, Elena & Ledyaeva, Svetlana, 2021. "Strength of words: Donald Trump's tweets, sanctions and Russia's ruble," Journal of Economic Behavior & Organization, Elsevier, vol. 184(C), pages 253-277.
    13. Pan, Zhiyuan & Wang, Yudong & Yang, Li, 2014. "Hedging crude oil using refined product: A regime switching asymmetric DCC approach," Energy Economics, Elsevier, vol. 46(C), pages 472-484.
    14. Esparcia, Carlos & Jareño, Francisco & Umar, Zaghum, 2022. "Revisiting the safe haven role of Gold across time and frequencies during the COVID-19 pandemic," The North American Journal of Economics and Finance, Elsevier, vol. 61(C).
    15. Sébastien Laurent & Luc Bauwens & Jeroen V. K. Rombouts, 2006. "Multivariate GARCH models: a survey," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(1), pages 79-109.
    16. Chris Motengwe & Angel Pardo, 2015. "A Study of Seasonality on the Safex Wheat Market," Agrekon, Taylor & Francis Journals, vol. 54(4), pages 45-72, November.
    17. Oscar V. De la Torre-Torres & Dora Aguilasocho-Montoya & José Álvarez-García, 2019. "Active portfolio management in the Andean countries'' stock markets with Markov-Switching GARCH models," 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. 14(PNEA), pages 601-616, Agosto 20.
    18. Margherita Velucchi, 2009. "Regime switching: Italian financial markets over a century," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 18(1), pages 67-86, March.
    19. Martinez Oscar & Olmo Jose, 2012. "A Nonlinear Threshold Model for the Dependence of Extremes of Stationary Sequences," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 16(3), pages 1-39, September.
    20. Kiymaz, Halil & Berument, Hakan, 2003. "The day of the week effect on stock market volatility and volume: International evidence," Review of Financial Economics, Elsevier, vol. 12(4), pages 363-380.

    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:jmathe:v:12:y:2024:i:3:p:485-:d:1332374. 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.