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

A Two-Regime Markov-Switching GARCH Active Trading Algorithm for Coffee, Cocoa, and Sugar Futures

Author

Listed:
  • Oscar V. De la Torre-Torres

    (Faculty of Accounting and Management, Saint Nicholas and Hidalgo Michoacán State University (UMSNH), 58030 Morelia, Mexico)

  • Dora Aguilasocho-Montoya

    (Faculty of Accounting and Management, Saint Nicholas and Hidalgo Michoacán State University (UMSNH), 58030 Morelia, Mexico)

  • 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

In the present paper we tested the use of Markov-switching Generalized AutoRegressive Conditional Heteroscedasticity (MS-GARCH) models and their not generalized (MS-ARCH) version. This, for active trading decisions in the coffee, cocoa, and sugar future markets. With weekly data from 7 January 2000 to 3 April 2020, we simulated the performance that a futures’ trader would have had, had she used the next trading algorithm: To invest in the security if the probability of being in a distress regime is less or equal to 50% or to invest in the U.S. three-month Treasury bill otherwise. Our results suggest that the use of t-student Markov Switching Component ARCH Model (MS-ARCH) models is appropriate for active trading in the cocoa futures and the Gaussian MS-GARCH is appropriate for sugar. For the specific case of the coffee market, we did not find evidence in favor of the use of MS-GARCH models. This is so by the fact that the trading algorithm led to inaccurate trading signs. Our results are of potential use for futures’ position traders or portfolio managers who want a quantitative trading algorithm for active trading in these commodity futures.

Suggested Citation

  • 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.
  • Handle: RePEc:gam:jmathe:v:8:y:2020:i:6:p:1001-:d:373392
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/8/6/1001/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/8/6/1001/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Johannes Hauptmann & Anja Hoppenkamps & Aleksey Min & Franz Ramsauer & Rudi Zagst, 2014. "Forecasting market turbulence using regime-switching models," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 28(2), pages 139-164, May.
    2. Jason Z. Ma & Xiang Deng & Kung-Cheng Ho & Sang-Bing Tsai, 2018. "Regime-Switching Determinants for Spreads of Emerging Markets Sovereign Credit Default Swaps," Sustainability, MDPI, vol. 10(8), pages 1-17, August.
    3. 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.
    4. Riedel, Christoph & Thuraisamy, Kannan S. & Wagner, Niklas, 2013. "Credit cycle dependent spread determinants in emerging sovereign debt markets," Emerging Markets Review, Elsevier, vol. 17(C), pages 209-223.
    5. 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.
    6. Patricia Alvarez‐Plata & Mechthild Schrooten, 2006. "The Argentinean Currency Crisis: A Markov‐Switching Model Estimation," The Developing Economies, Institute of Developing Economies, vol. 44(1), pages 79-91, March.
    7. Hou, Chenghan & Nguyen, Bao H., 2018. "Understanding the US natural gas market: A Markov switching VAR approach," Energy Economics, Elsevier, vol. 75(C), pages 42-53.
    8. Alexander, Carol & Kaeck, Andreas, 2008. "Regime dependent determinants of credit default swap spreads," Journal of Banking & Finance, Elsevier, vol. 32(6), pages 1008-1021, June.
    9. Dueker, Michael J, 1997. "Markov Switching in GARCH Processes and Mean-Reverting Stock-Market Volatility," Journal of Business & Economic Statistics, American Statistical Association, vol. 15(1), pages 26-34, January.
    10. repec:wyi:journl:002202 is not listed on IDEAS
    11. Mehmet Balcilar & Reneé van Eyden & Josine Uwilingiye & Rangan Gupta, 2017. "The Impact of Oil Price on South African GDP Growth: A Bayesian Markov Switching-VAR Analysis," African Development Review, African Development Bank, vol. 29(2), pages 319-336, June.
    12. Kanas, Angelos, 2005. "Regime linkages between the Mexican currency market and emerging equity markets," Economic Modelling, Elsevier, vol. 22(1), pages 109-125, January.
    13. Bollerslev, Tim, 1990. "Modelling the Coherence in Short-run Nominal Exchange Rates: A Multivariate Generalized ARCH Model," The Review of Economics and Statistics, MIT Press, vol. 72(3), pages 498-505, August.
    14. 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.
    15. Martha Misas & Maria Teresa Ramirez, 2007. "Depressions in the Colombian economic growth during the twentieth century: a Markov switching regime model," Applied Economics Letters, Taylor & Francis Journals, vol. 14(11), pages 803-808.
    16. Sottile, Pedro, 2013. "On the political determinants of sovereign risk: Evidence from a Markov-switching vector autoregressive model for Argentina," Emerging Markets Review, Elsevier, vol. 15(C), pages 160-185.
    17. Zhao, Hua, 2010. "Dynamic relationship between exchange rate and stock price: Evidence from China," Research in International Business and Finance, Elsevier, vol. 24(2), pages 103-112, June.
    18. Harold Glenn A. Valera & Jim Lee, 2016. "Do rice prices follow a random walk? Evidence from Markov switching unit root tests for Asian markets," Agricultural Economics, International Association of Agricultural Economists, vol. 47(6), pages 683-695, November.
    19. Markus Haas, 2004. "A New Approach to Markov-Switching GARCH Models," Journal of Financial Econometrics, Oxford University Press, vol. 2(4), pages 493-530.
    20. David Ardia & Jeremy Kolly & Denis‐Alexandre Trottier, 2017. "The impact of parameter and model uncertainty on market risk predictions from GARCH‐type models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 36(7), pages 808-823, November.
    21. Ma, Jason Z. & Deng, Xiang & Ho, Kung-Cheng & Tsai, Sang-Bing, 2018. "Regime-switching determinants of emerging markets sovereign credit risk swaps spread," Economics Discussion Papers 2018-52, Kiel Institute for the World Economy (IfW Kiel).
    22. 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.
    23. 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.
    24. Zheng, Tingguo & Zuo, Haomiao, 2013. "Reexamining the time-varying volatility spillover effects: A Markov switching causality approach," The North American Journal of Economics and Finance, Elsevier, vol. 26(C), pages 643-662.
    25. Rosella Castellano & Luisa Scaccia, 2014. "Can CDS indexes signal future turmoils in the stock market? A Markov switching perspective," Central European Journal of Operations Research, Springer;Slovak Society for Operations Research;Hungarian Operational Research Society;Czech Society for Operations Research;Österr. Gesellschaft für Operations Research (ÖGOR);Slovenian Society Informatika - Section for Operational Research;Croatian Operational Research Society, vol. 22(2), pages 285-305, June.
    26. Klein, Arne C., 2013. "Time-variations in herding behavior: Evidence from a Markov switching SUR model," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 26(C), pages 291-304.
    27. Nelson Areal & Maria Cortez & Florinda Silva, 2013. "The conditional performance of US mutual funds over different market regimes: do different types of ethical screens matter?," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 27(4), pages 397-429, December.
    28. Ang, Andrew & Bekaert, Geert, 2002. "Regime Switches in Interest Rates," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(2), pages 163-182, April.
    29. Alizadeh, Amir H. & Nomikos, Nikos K. & Pouliasis, Panos K., 2008. "A Markov regime switching approach for hedging energy commodities," Journal of Banking & Finance, Elsevier, vol. 32(9), pages 1970-1983, September.
    30. 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.
    31. Walid, Chkili & Chaker, Aloui & Masood, Omar & Fry, John, 2011. "Stock market volatility and exchange rates in emerging countries: A Markov-state switching approach," Emerging Markets Review, Elsevier, vol. 12(3), pages 272-292, September.
    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. 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.
    34. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    35. 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.
    36. George S. Parikakis & Anna Merika, 2009. "Evaluating volatility dynamics and the forecasting ability of Markov switching models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 28(8), pages 736-744.
    37. Uddin, Gazi Salah & Rahman, Md Lutfur & Shahzad, Syed Jawad Hussain & Rehman, Mobeen Ur, 2018. "Supply and demand driven oil price changes and their non-linear impact on precious metal returns: A Markov regime switching approach," Energy Economics, Elsevier, vol. 73(C), pages 108-121.
    38. Herrera, Rodrigo & Rodriguez, Alejandro & Pino, Gabriel, 2017. "Modeling and forecasting extreme commodity prices: A Markov-Switching based extreme value model," Energy Economics, Elsevier, vol. 63(C), pages 129-143.
    39. Chenghan Hou & Bao H. Nguyen, 2018. "Understanding the US natural gas market: A Markov switching VAR approach," CAMA Working Papers 2018-14, Centre for Applied Macroeconomic Analysis, Crawford School of Public Policy, The Australian National University.
    40. 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.
    41. Franc Klaassen, 2002. "Improving GARCH volatility forecasts with regime-switching GARCH," Empirical Economics, Springer, vol. 27(2), pages 363-394.
    42. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    43. Pasquale Marcello Falcone, 2019. "Tourism-Based Circular Economy in Salento (South Italy): A SWOT-ANP Analysis," Social Sciences, MDPI, vol. 8(7), pages 1-16, July.
    44. Kostas Mouratidis & Dimitris Kenourgios & Aris Samitas & Dimitris Vougas, 2013. "Evaluating Currency Crises: A Multivariate Markov Regime Switching Approach," Manchester School, University of Manchester, vol. 81(1), pages 33-57, January.
    45. 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.
    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 & 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-22, June.
    2. Oscar V. De la Torre-Torres & Francisco Venegas-Martínez & Mᵃ Isabel Martínez-Torre-Enciso, 2021. "Enhancing Portfolio Performance and VIX Futures Trading Timing with Markov-Switching GARCH Models," Mathematics, MDPI, vol. 9(2), pages 1-22, January.
    3. 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.
    4. 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.
    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. 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.
    7. 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.
    8. Massimo Guidolin, 2011. "Markov Switching Models in Empirical Finance," Advances in Econometrics, in: Missing Data Methods: Time-Series Methods and Applications, pages 1-86, Emerald Group Publishing Limited.
    9. Richard D. F. Harris & Murat Mazibas, 2022. "A component Markov regime‐switching autoregressive conditional range model," Bulletin of Economic Research, Wiley Blackwell, vol. 74(2), pages 650-683, April.
    10. 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.
    11. Halkos, George & Tzirivis, Apostolos, 2018. "Effective energy commodities’ risk management: Econometric modeling of price volatility," MPRA Paper 90781, University Library of Munich, Germany.
    12. E. Otranto, 2015. "Adding Flexibility to Markov Switching Models," Working Paper CRENoS 201509, Centre for North South Economic Research, University of Cagliari and Sassari, Sardinia.
    13. Pelletier, Denis, 2006. "Regime switching for dynamic correlations," Journal of Econometrics, Elsevier, vol. 131(1-2), pages 445-473.
    14. King, Daniel & Botha, Ferdi, 2015. "Modelling stock return volatility dynamics in selected African markets," Economic Modelling, Elsevier, vol. 45(C), pages 50-73.
    15. Yuan, Chunming, 2011. "Forecasting exchange rates: The multi-state Markov-switching model with smoothing," International Review of Economics & Finance, Elsevier, vol. 20(2), pages 342-362, April.
    16. Carlos Alberto Gonçalves da Silva, 2020. "Impacts of Covid-19 Pandemic and Persistence of Volatility in the Returns of the Brazilian Stock Exchange: An Application of the Markov Regime Switching GARCH (MRS-GARCH) Model," International Journal of Applied Economics, Finance and Accounting, Online Academic Press, vol. 8(2), pages 62-72.
    17. AUGUSTYNIAK, Maciej & BAUWENS, Luc & DUFAYS, Arnaud, 2016. "A New Approach to Volatility Modeling : The High-Dimensional Markov Model," LIDAM Discussion Papers CORE 2016042, Université catholique de Louvain, Center for Operations Research and Econometrics (CORE).
    18. Su, EnDer, 2017. "Stock index hedging using a trend and volatility regime-switching model involving hedging cost," International Review of Economics & Finance, Elsevier, vol. 47(C), pages 233-254.
    19. Abounoori, Esmaiel & Elmi, Zahra (Mila) & Nademi, Younes, 2016. "Forecasting Tehran stock exchange volatility; Markov switching GARCH approach," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 445(C), pages 264-282.
    20. Kangogo, Moses & Volkov, Vladimir, 2022. "Detecting signed spillovers in global financial markets: A Markov-switching approach," International Review of Financial Analysis, Elsevier, vol. 82(C).

    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:8:y:2020:i:6:p:1001-:d:373392. 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.