IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2606.25811.html

Hierarchical Graph Learning for Calendar Spread Strategies in Commodity Futures Markets

Author

Listed:
  • Yoonsik Hong
  • Diego Klabjan

Abstract

Commodity futures can be represented hierarchically, with underlying assets at the upper level and individual futures contracts at the lower level. Entities at each level can be connected by edges reflecting inherent correlations, with cross-level edges capturing contract-to-underlying asset connections. Building on our observations of these structures, we propose a hierarchical graph learning approach for calendar spread (CS) strategies in commodity futures markets, addressing two significant gaps in the machine-learning literature: (i) the absence of learning-based methods for CS strategies in futures markets, and (ii) the lack of consideration of maturity-dependent interrelationships across commodity futures. We first establish the efficacy of CS strategies by analytically showing that CS strategies can possess higher risk-adjusted returns, measured by the information ratio, and lower risk, measured by variance and delta, than long-only strategies. We then introduce a method to convert learning-based predictions into CS positions. Next, we develop a hierarchical graph learning method that predicts futures price movements by utilizing the maturity-dependent interrelationships, thereby yielding a CS trading algorithm. Empirical results on commodity futures markets traded on the Chicago Mercantile Exchange Group demonstrate that our method outperforms benchmark models in both prediction and trading performance. We find that maturity-dependent interrelationships across commodity futures are instrumental in prediction and that CS trading based on hierarchical graph learning is effective for statistical arbitrage.

Suggested Citation

  • Yoonsik Hong & Diego Klabjan, 2026. "Hierarchical Graph Learning for Calendar Spread Strategies in Commodity Futures Markets," Papers 2606.25811, arXiv.org.
  • Handle: RePEc:arx:papers:2606.25811
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2606.25811
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Michael J. Brennan, 1976. "The Supply of Storage," Palgrave Macmillan Books, in: The Economics of Futures Trading, chapter 4, pages 100-107, Palgrave Macmillan.
    2. Xiaojie Xu & Yun Zhang, 2023. "Neural network predictions of the high-frequency CSI300 first distant futures trading volume," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 37(2), pages 191-207, June.
    3. Xiao Jing Cai & Zheng Fang & Youngho Chang & Shuairu Tian & Shigeyuki Hamori, 2020. "Co-movements in commodity markets and implications in diversification benefits," Empirical Economics, Springer, vol. 58(2), pages 393-425, February.
    4. Richard P. Barth & Jill Duerr Berrick & Melissa Jonson-Reid & Antonio R. Garcia & Johanna K.P. Greeson & John Gyourko & Brett Drake, 2026. "Understanding Child Welfare," Books, Edward Elgar Publishing, number 24473.
    5. Angelidis, Timotheos & Sakkas, Athanasios & Tessaromatis, Nikolaos, 2025. "Predicting commodity returns: Time series vs. cross sectional prediction models," Journal of Commodity Markets, Elsevier, vol. 38(C).
    6. Mitchell, Donald, 2008. "A note on rising food prices," Policy Research Working Paper Series 4682, The World Bank.
    7. Shirui Wang & Tianyang Zhang, 2024. "Predictability of commodity futures returns with machine learning models," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 44(2), pages 302-322, February.
    8. Yoonsik Hong & Diego Klabjan, 2025. "Graph Learning for Foreign Exchange Rate Prediction and Statistical Arbitrage," Papers 2508.14784, arXiv.org.
    9. Frederick T. Furlong & Robert Ingenito, 1996. "Commodity prices and inflation," Economic Review, Federal Reserve Bank of San Francisco, pages 27-47.
    10. Chih-Chieh Hung & Ying-Ju Chen, 2021. "DPP: Deep predictor for price movement from candlestick charts," PLOS ONE, Public Library of Science, vol. 16(6), pages 1-22, June.
    11. Marta Szymanowska & Frans Roon & Theo Nijman & Rob Goorbergh, 2014. "An Anatomy of Commodity Futures Risk Premia," Journal of Finance, American Finance Association, vol. 69(1), pages 453-482, February.
    12. Nazlioglu, Saban, 2011. "World oil and agricultural commodity prices: Evidence from nonlinear causality," Energy Policy, Elsevier, vol. 39(5), pages 2935-2943, May.
    13. Shawkat Hammoudeh & Ramazan Sari & Bradley T. Ewing, 2009. "Relationships Among Strategic Commodities And With Financial Variables: A New Look," Contemporary Economic Policy, Western Economic Association International, vol. 27(2), pages 251-264, April.
    14. Baruník, Jozef & Malinská, Barbora, 2016. "Forecasting the term structure of crude oil futures prices with neural networks," Applied Energy, Elsevier, vol. 164(C), pages 366-379.
    15. Yoonsik Hong & Diego Klabjan, 2025. "Statistical Arbitrage in Options Markets by Graph Learning and Synthetic Long Positions," Papers 2508.14762, arXiv.org, revised Aug 2025.
    16. Ernest Owusu Boakye & Kari Heimonen & Juha Junttila, 2024. "Commodity markets and the global macroeconomy: evidence from machine learning and GVAR," Empirical Economics, Springer, vol. 67(5), pages 1919-1965, November.
    17. Schwartz, Eduardo S, 1997. "The Stochastic Behavior of Commodity Prices: Implications for Valuation and Hedging," Journal of Finance, American Finance Association, vol. 52(3), pages 923-973, July.
    18. Jaime Casassus & Pierre Collin‐Dufresne, 2005. "Stochastic Convenience Yield Implied from Commodity Futures and Interest Rates," Journal of Finance, American Finance Association, vol. 60(5), pages 2283-2331, October.
    19. Gibson, Rajna & Schwartz, Eduardo S, 1990. "Stochastic Convenience Yield and the Pricing of Oil Contingent Claims," Journal of Finance, American Finance Association, vol. 45(3), pages 959-976, July.
    20. Xinyu Fu & Thomas W Sanchez & Catherine Brinkley & Chaosu Li & Andrew Crooks, 2026. "Not just numbers: Understanding cities through their words," Environment and Planning B, , vol. 53(1), pages 3-10, January.
    21. Chng, Michael T., 2009. "Economic linkages across commodity futures: Hedging and trading implications," Journal of Banking & Finance, Elsevier, vol. 33(5), pages 958-970, May.
    22. Zhang, Lihong & Wang, Jun & Wang, Bin, 2020. "Energy market prediction with novel long short-term memory network: Case study of energy futures index volatility," Energy, Elsevier, vol. 211(C).
    23. Nazlioglu, Saban & Soytas, Ugur, 2011. "World oil prices and agricultural commodity prices: Evidence from an emerging market," Energy Economics, Elsevier, vol. 33(3), pages 488-496, May.
    24. Liu, Jianhe & Lu, Luze & Zong, Xiangyu & Xie, Baao, 2023. "Nonlinear relationships in soybean commodities Pairs trading-test by deep reinforcement learning," Finance Research Letters, Elsevier, vol. 58(PC).
    25. Sheng Fu & Xiaodong Li & Junfeng Fang, 2026. "Understanding reverse bias effects," Nature Energy, Nature, vol. 11(6), pages 795-796, June.
    26. Melissa K. A. Lukings & Arash Habibi Lashkari & Payman Hakimian, 2026. "Understanding Cybercrime Victim Services," Progress in IS, Springer, number 978-3-032-13273-4, June.
    27. Melissa K. A. Lukings & Arash Habibi Lashkari & Payman Hakimian, 2026. "Understanding Laws and Legislation," Progress in IS, in: Understanding Cybercrime Victim Services, chapter 3, pages 69-99, Springer.
    28. Melissa K. A. Lukings & Arash Habibi Lashkari & Payman Hakimian, 2026. "Understanding Criminology and Victimology," Progress in IS, in: Understanding Cybercrime Victim Services, chapter 1, pages 1-40, Springer.
    29. Vacha, Lukas & Janda, Karel & Kristoufek, Ladislav & Zilberman, David, 2013. "Time–frequency dynamics of biofuel–fuel–food system," Energy Economics, Elsevier, vol. 40(C), pages 233-241.
    30. Maslyuk, Svetlana & Smyth, Russell, 2009. "Cointegration between oil spot and future prices of the same and different grades in the presence of structural change," Energy Policy, Elsevier, vol. 37(5), pages 1687-1693, May.
    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. Loïc Maréchal, 2023. "A tale of two premiums revisited," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 43(5), pages 580-614, May.
    2. Jilong Chen & Christian Ewald & Ruolan Ouyang & Sjur Westgaard & Xiaoxia Xiao, 2022. "Pricing commodity futures and determining risk premia in a three factor model with stochastic volatility: the case of Brent crude oil," Annals of Operations Research, Springer, vol. 313(1), pages 29-46, June.
    3. Nguyen, Duc Binh Benno & Prokopczuk, Marcel, 2019. "Jumps in commodity markets," Journal of Commodity Markets, Elsevier, vol. 13(C), pages 55-70.
    4. Ames, Matthew & Bagnarosa, Guillaume & Matsui, Tomoko & Peters, Gareth W. & Shevchenko, Pavel V., 2020. "Which risk factors drive oil futures price curves?," Energy Economics, Elsevier, vol. 87(C).
    5. Cheng, Sheng & Cao, Yan, 2019. "On the relation between global food and crude oil prices: An empirical investigation in a nonlinear framework," Energy Economics, Elsevier, vol. 81(C), pages 422-432.
    6. Naomi Boyd & Bingxin Li & Rui Liu, 2022. "Risk premia in the term structure of crude oil futures: long-run and short-run volatility components," Review of Quantitative Finance and Accounting, Springer, vol. 58(4), pages 1505-1533, May.
    7. Bisht Deepak & Laha, A. K., 2017. "Pricing Option on Commodity Futures under String Shock," IIMA Working Papers WP 2017-07-02, Indian Institute of Management Ahmedabad, Research and Publication Department.
    8. Tore S. Kleppe & Atle Oglend, 2019. "Can limits‐to‐arbitrage from bounded storage improve commodity term‐structure modeling?," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 39(7), pages 865-889, July.
    9. Davidson Heath, 2019. "Macroeconomic Factors in Oil Futures Markets," Management Science, INFORMS, vol. 65(9), pages 4407-4421, September.
    10. Pal, Debdatta & Mitra, Subrata K., 2017. "Time-frequency contained co-movement of crude oil and world food prices: A wavelet-based analysis," Energy Economics, Elsevier, vol. 62(C), pages 230-239.
    11. Bianchi, Robert J. & Fan, John Hua & Miffre, Joëlle & Zhang, Tingxi, 2023. "Exploiting the dynamics of commodity futures curves," Journal of Banking & Finance, Elsevier, vol. 154(C).
    12. Xiao Jing Cai & Zheng Fang & Youngho Chang & Shuairu Tian & Shigeyuki Hamori, 2020. "Co-movements in commodity markets and implications in diversification benefits," Empirical Economics, Springer, vol. 58(2), pages 393-425, February.
    13. Gao, Xin & Li, Bingxin & Liu, Rui, 2023. "The relative pricing of WTI and Brent crude oil futures: Expectations or risk premia?," Journal of Commodity Markets, Elsevier, vol. 30(C).
    14. Thomas Bollinger & Axel Kind, 2015. "Risk Premiums in the Cross-Section of Commodity Convenience Yields," Working Paper Series of the Department of Economics, University of Konstanz 2015-17, Department of Economics, University of Konstanz.
    15. Kwon, Kyung Yoon & Kang, Jangkoo & Yun, Jaesun, 2021. "Basis-momentum strategies and ranking periods," Finance Research Letters, Elsevier, vol. 43(C).
    16. Constantino Hevia & Ivan Petrella & Martin Sola, 2018. "Risk premia and seasonality in commodity futures," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 33(6), pages 853-873, September.
    17. Wang, Yudong & Wu, Chongfeng & Yang, Li, 2014. "Oil price shocks and agricultural commodity prices," Energy Economics, Elsevier, vol. 44(C), pages 22-35.
    18. Chiarella, Carl & Kang, Boda & Nikitopoulos, Christina Sklibosios & Tô, Thuy-Duong, 2013. "Humps in the volatility structure of the crude oil futures market: New evidence," Energy Economics, Elsevier, vol. 40(C), pages 989-1000.
    19. Yip, Pick Schen & Brooks, Robert & Do, Hung Xuan & Nguyen, Duc Khuong, 2020. "Dynamic volatility spillover effects between oil and agricultural products," International Review of Financial Analysis, Elsevier, vol. 69(C).
    20. Melone, Alessandro & Randl, Otto & Sögner, Leopold & Zechner, Josef, 2025. "Stock-Oil Comovement: Cash Flows or Discount Rates?," VfS Annual Conference 2025 (Cologne): Revival of Industrial Policy 325398, Verein für Socialpolitik / German Economic Association.

    More about this item

    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:arx:papers:2606.25811. 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: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    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.