IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2108.02838.html
   My bibliography  Save this paper

Two-Stage Sector Rotation Methodology Using Machine Learning and Deep Learning Techniques

Author

Listed:
  • Tugce Karatas
  • Ali Hirsa

Abstract

Market indicators such as CPI and GDP have been widely used over decades to identify the stage of business cycles and also investment attractiveness of sectors given market conditions. In this paper, we propose a two-stage methodology that consists of predicting ETF prices for each sector using market indicators and ranking sectors based on their predicted rate of returns. We initially start with choosing sector specific macroeconomic indicators and implement Recursive Feature Elimination algorithm to select the most important features for each sector. Using our prediction tool, we implement different Recurrent Neural Networks models to predict the future ETF prices for each sector. We then rank the sectors based on their predicted rate of returns. We select the best performing model by evaluating the annualized return, annualized Sharpe ratio, and Calmar ratio of the portfolios that includes the top four ranked sectors chosen by the model. We also test the robustness of the model performance with respect to lookback windows and look ahead windows. Our empirical results show that our methodology beats the equally weighted portfolio performance even in the long run. We also find that Echo State Networks exhibits an outstanding performance compared to other models yet it is faster to implement compared to other RNN models.

Suggested Citation

  • Tugce Karatas & Ali Hirsa, 2021. "Two-Stage Sector Rotation Methodology Using Machine Learning and Deep Learning Techniques," Papers 2108.02838, arXiv.org.
  • Handle: RePEc:arx:papers:2108.02838
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Kwon, Chung S. & Shin, Tai S., 1999. "Cointegration and causality between macroeconomic variables and stock market returns," Global Finance Journal, Elsevier, vol. 10(1), pages 71-81.
    2. Adam, Anokye M. & Tweneboah, George, 2008. "Macroeconomic Factors and Stock Market Movement: Evidence from Ghana," MPRA Paper 11256, University Library of Munich, Germany.
    3. Gjerde, Oystein & Saettem, Frode, 1999. "Causal relations among stock returns and macroeconomic variables in a small, open economy," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 9(1), pages 61-74, January.
    4. Mukherjee, Tarun K & Naka, Atsuyuki, 1995. "Dynamic Relations between Macroeconomic Variables and the Japanese Stock Market: An Application of a Vector Error Correction Model," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 18(2), pages 223-237, Summer.
    5. Tobias J. Moskowitz & Mark Grinblatt, 1999. "Do Industries Explain Momentum?," Journal of Finance, American Finance Association, vol. 54(4), pages 1249-1290, August.
    6. Tarun K. Mukherjee & Atsuyuki Naka, 1995. "Dynamic Relations Between Macroeconomic Variables And The Japanese Stock Market: An Application Of A Vector Error Correction Model," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 18(2), pages 223-237, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Jiaju Miao & Pawel Polak, 2023. "Online Ensemble of Models for Optimal Predictive Performance with Applications to Sector Rotation Strategy," Papers 2304.09947, arXiv.org.

    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. Pooja Joshi & A. K. Giri, 2015. "Cointegration and Causality between Macroeconomic variables and Stock Prices: Empirical Analysis from Indian Economy," Business and Economic Research, Macrothink Institute, vol. 5(2), pages 327-345, December.
    2. DITIMI Amassoma & IFEOLUWA Bolarinwa, 2018. "A Time Series Analysis Of The Nexus Between Macroeconomic Fundamentals And Stock Prices In Nigeria," Studies in Business and Economics, Lucian Blaga University of Sibiu, Faculty of Economic Sciences, vol. 13(2), pages 69-91, August.
    3. Sirucek, Martin, 2012. "Macroeconomic variables and stock market: US review," MPRA Paper 39094, University Library of Munich, Germany.
    4. Manamba EPAPHRA & Evidence SALEMA, 2018. "The impact of macroeconomic variables on stock prices in Tanzania," Journal of Economics Library, KSP Journals, vol. 5(1), pages 12-41, March.
    5. Emeka Nkoro & Aham Kelvin Uko, 2013. "A Generalized Autoregressive Conditional Heteroskedasticity Model of the Impact of Macroeconomic Factors on Stock Returns: Empirical Evidence from the Nigerian Stock Market," International Journal of Financial Research, International Journal of Financial Research, Sciedu Press, vol. 4(4), pages 38-51, October.
    6. Kiran Kumar Kotha & Bhawna Sahu, 2016. "Macroeconomic Factors and the Indian Stock Market: Exploring Long and Short Run Relationships," International Journal of Economics and Financial Issues, Econjournals, vol. 6(3), pages 1081-1091.
    7. Jiranyakul, Komain, 2009. "Economic Forces and the Thai Stock Market, 1993-2007," MPRA Paper 57368, University Library of Munich, Germany.
    8. Kuwornu, John K.M., 2012. "Effect of Macroeconomic Variables on the Ghanaian Stock Market Returns: A Co-integration Analysis," AGRIS on-line Papers in Economics and Informatics, Czech University of Life Sciences Prague, Faculty of Economics and Management, vol. 4(2), pages 1-12, June.
    9. Miras, Hassan & Masih, Mansur, 2017. "Stock returns and macroeconomic factors in an emerging economy: Malaysian evidence," MPRA Paper 101229, University Library of Munich, Germany.
    10. Ditimi Amassoma & O. Adeleke, 2018. "Testing for the Causality between Interest Rate and Stock Market Performance in Nigeria," Economic Studies journal, Bulgarian Academy of Sciences - Economic Research Institute, issue 3, pages 109-124.
    11. Animesh Bhattacharjee & Joy Das, 2021. "Investigating the Long-run and the Short-run Relationship Between Domestic Macroeconomic Forces and Indian Equity Market: Evidence Based on ARDL Bounds Testing Approach," Paradigm, , vol. 25(1), pages 61-76, June.
    12. GIRI A. K. & JOSHI Pooja, 2017. "The Impact Of Macroeconomic Indicators On Indian Stock Prices: An Empirical Analysis," Studies in Business and Economics, Lucian Blaga University of Sibiu, Faculty of Economic Sciences, vol. 12(1), pages 61-78, April.
    13. Asmy, Mohamed & Rohilina, Wisam & Hassama, Aris & Fouad, Md., 2009. "Effects of Macroeconomic Variables on Stock Prices in Malaysia: An Approach of Error Correction Model," MPRA Paper 20970, University Library of Munich, Germany.
    14. Erhan Cankal, 2015. "Relationship Between Stock Market Returns and Macroeconomic Variables: Evidence from Turkey," Journal of Economics and Behavioral Studies, AMH International, vol. 7(5), pages 6-18.
    15. Ahmad Hamidi, Hakimah Nur & Khalid, Norlin & Abdul Karim, Zulkefly, 2018. "Revisiting Relationship Between Malaysian Stock Market Index and Selected Macroeconomic Variables Using Asymmetric Cointegration," Jurnal Ekonomi Malaysia, Faculty of Economics and Business, Universiti Kebangsaan Malaysia, vol. 52(1), pages 311-319.
    16. Endang Mahpudin, 2020. "The Effect of Macroeconomics on Stock Price Index in the Republic of China," International Journal of Economics & Business Administration (IJEBA), International Journal of Economics & Business Administration (IJEBA), vol. 0(3), pages 228-236.
    17. Subrata ROY, 2020. "Foreign trade policy and economic growth: Indian evidence," Theoretical and Applied Economics, Asociatia Generala a Economistilor din Romania - AGER, vol. 0(3(624), A), pages 107-126, Autumn.
    18. Camilleri, Silvio John & Scicluna, Nicolanne & Bai, Ye, 2019. "Do stock markets lead or lag macroeconomic variables? Evidence from select European countries," The North American Journal of Economics and Finance, Elsevier, vol. 48(C), pages 170-186.
    19. R. Ratneswary V. Rasiah, 2010. "Macroeconomic Activity And The Malaysian Stock Market: Empirical Evidence Of Dynamic Relations," The International Journal of Business and Finance Research, The Institute for Business and Finance Research, vol. 4(2), pages 59-69.
    20. Pooja Joshi & A K Giri, 2015. "Dynamic Relations between Macroeconomic Variables and Indian Stock Price: An Application of ARDL Bounds Testing Approach," Asian Economic and Financial Review, Asian Economic and Social Society, vol. 5(10), pages 1119-1133, October.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:2108.02838. 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: http://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.