Skip to main content
Log in

Using Markov-switching models with Markov chain Monte Carlo inference methods in agricultural commodities trading

  • Focus
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

In this work, the use of Markov-switching GARCH (MS-GARCH) models is tested in an active trading algorithm for corn and soybean future markets. By assuming that a given investor lives in a two-regime world (with low- and high-volatility time periods), a trading algorithm was simulated (from January 2000 to March 2019), which helped the investor to forecast the probability of being in the high-volatility regime at t + 1. Once this probability was known, the investor could decide to invest either in commodities, during low-volatility periods or in the 3-month US Treasury bills, during high-volatility periods. Our results suggest that the Gaussian MS-GARCH model is the most appropriate to generate alpha or extra returns (from a passive investment strategy) in the corn market and the t-Student MS-GARCH is the best one for soybean trading.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Source: Own elaboration with data from our simulations and input data from Thomson Reuters (2018)

Fig. 2

Source: Own elaboration with data from our simulations and input data from Thomson Reuters (2018)

Similar content being viewed by others

Notes

  1. A method that later Pelletier (2006) would improve without the presence of factors and Rotta and Valls Pereira (2016)would use for the Latin American case.

  2. The most relevant research in the subject will be discussed in the next section.

  3. The previous literature review gives some proofs of this statement.

  4. With zero mean and a finite scale parameter for each regime.

  5. With finite degrees of freedom \( (\nu_{s} ) \).

  6. For the sake of simplicity in the calculations made in our simulations, an MS-GARCH model with only one lag in the ARCH and GARCH terms will be used. This was done by following the estimation method of the MSGARCH (2016) library that only estimates one lag in these terms.

  7. With the method proposed by Kim (1994).

  8. That is, the same pdf at \( t \) for both regimes.

  9. As will be mentioned in more detail in the next two sections, weekly simulations of the investment system were made from 7 January 2000 to 29 March 2019. As a consequence, the simulation period has 1004 weeks or simulation dates.

  10. With \( p_{D} = \left( {\text{TM}} \right)^{ - 1} \sum\nolimits_{m = 1}^{M} {\sum\nolimits_{t = 1}^{T} {{\text{LLF}}\left( {r,\theta_{i,j} } \right) - {\text{LLF}}\left( {r,{\acute{\theta}}} \right)} } \) and \( {\acute{\theta}} = \left( {NM} \right)^{ - 1} \sum\nolimits_{m = 1}^{M} {\sum\nolimits_{t = 1}^{T} {\theta_{i,j} } } \). Being \( M \) the number of simulations and \( T \) the time series length.

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to José Álvarez-García.

Ethics declarations

Conflict of interest

All authors declare that they have no conflict of interest to disclose.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Communicated by M. Squillante.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

De la Torre-Torres, O.V., Aguilasocho-Montoya, D., Álvarez-García, J. et al. Using Markov-switching models with Markov chain Monte Carlo inference methods in agricultural commodities trading. Soft Comput 24, 13823–13836 (2020). https://doi.org/10.1007/s00500-019-04629-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-019-04629-5

Keywords

Navigation