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

A Combined Algorithm Approach for Optimizing Portfolio Performance in Automated Trading: A Study of SET50 Stocks

Author

Listed:
  • Sukrit Thongkairat

    (Department of Statistics, Faculty of Science, Chiang Mai University, Chiang Mai 50200, Thailand
    These authors contributed equally to this work.)

  • Woraphon Yamaka

    (Faculty of Economics, Chiang Mai University, Chiang Mai 50200, Thailand
    These authors contributed equally to this work.)

Abstract

This study investigates portfolio optimization for SET50 stocks using Deep Reinforcement Learning (DRL) algorithms to address market volatility. Five DRL algorithms—Advantage Actor–Critic (A2C), Proximal Policy Optimization (PPO), Deep Deterministic Policy Gradient (DDPG), Soft Actor–Critic (SAC), and Twin Delayed DDPG (TD3)—were evaluated for their effectiveness in managing risk and optimizing returns. We propose an Iterative Model Combining Algorithm (IMCA) that dynamically adjusts model weights based on market conditions to enhance performance. Our results demonstrate that IMCA consistently outperformed traditional strategies, including the Minimum Variance model. IMCA achieved a cumulative return of 14.20% and a Sharpe Ratio of 0.220, compared to the Minimum Variance model’s return of −4.35% and Sharpe Ratio of 0.018. This research highlights the adaptability and robustness of DRL algorithms for portfolio management, particularly in emerging markets like Thailand. It underscores the advantages of dynamic, data-driven strategies over static approaches.

Suggested Citation

  • Sukrit Thongkairat & Woraphon Yamaka, 2025. "A Combined Algorithm Approach for Optimizing Portfolio Performance in Automated Trading: A Study of SET50 Stocks," Mathematics, MDPI, vol. 13(3), pages 1-25, January.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:3:p:461-:d:1580111
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. 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.
    2. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    3. Vaughn Gambeta & Roy Kwon, 2020. "Risk Return Trade-Off in Relaxed Risk Parity Portfolio Optimization," JRFM, MDPI, vol. 13(10), pages 1-28, October.
    4. 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. Tomanova, Lucie, 2013. "Exchange Rate Volatility and the Foreign Trade in CEEC," EY International Congress on Economics I (EYC2013), October 24-25, 2013, Ankara, Turkey 267, Ekonomik Yaklasim Association.
    2. Goncalves, Silvia & Kilian, Lutz, 2004. "Bootstrapping autoregressions with conditional heteroskedasticity of unknown form," Journal of Econometrics, Elsevier, vol. 123(1), pages 89-120, November.
    3. Chang, Chia-Lin & Hsu, Hui-Kuang, 2013. "Modelling Volatility Size Effects for Firm Performance: The Impact of Chinese Tourists to Taiwan," MPRA Paper 45691, University Library of Munich, Germany.
    4. repec:wyi:journl:002087 is not listed on IDEAS
    5. Asai, Manabu & McAleer, Michael, 2015. "Leverage and feedback effects on multifactor Wishart stochastic volatility for option pricing," Journal of Econometrics, Elsevier, vol. 187(2), pages 436-446.
    6. Chia-Lin Chang & Shu-Han Hsu & Michael McAleer, 2018. "An Event Study Analysis of Political Events, Disasters, and Accidents for Chinese Tourists to Taiwan," Sustainability, MDPI, vol. 10(11), pages 1-77, November.
    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. Chia-Lin Chang & Tai-Lin Hsieh & Michael McAleer, 2016. "Connecting VIX and Stock Index ETF," Tinbergen Institute Discussion Papers 16-010/III, Tinbergen Institute, revised 23 Jan 2017.
    9. Stentoft, Lars, 2005. "Pricing American options when the underlying asset follows GARCH processes," Journal of Empirical Finance, Elsevier, vol. 12(4), pages 576-611, September.
    10. Jun Lu & Shao Yi, 2022. "Reducing Overestimating and Underestimating Volatility via the Augmented Blending-ARCH Model," Applied Economics and Finance, Redfame publishing, vol. 9(2), pages 48-59, May.
    11. Nathan Jensen, 2007. "International institutions and market expectations: Stock price responses to the WTO ruling on the 2002 U.S. steel tariffs," The Review of International Organizations, Springer, vol. 2(3), pages 261-280, September.
    12. Altaf Muhammad & Zhang Shuguang, 2015. "Impact Of Structural Shifts on Variance Persistence in Asymmetric Garch Models: Evidence From Emerging Asian and European Markets," Romanian Statistical Review, Romanian Statistical Review, vol. 63(1), pages 57-70, March.
    13. Chen, Cathy W.S. & Gerlach, Richard H. & Tai, Amanda P.J., 2008. "Testing for nonlinearity in mean and volatility for heteroskedastic models," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 79(3), pages 489-499.
    14. Yok-Yong Lee & M. H. Yahya & A. M. Bany-Ariffin & S. Aslam, 2018. "Leverage Effect and Switching of Market Efficiency Post Goods and Services Tax (GST) Imposition," International Business Research, Canadian Center of Science and Education, vol. 11(3), pages 162-178, March.
    15. Corina Saman, 2016. "Volatilitatea prețurilor la produsele din carne de bovine și porcine porcine (Volatility of prices for beef and swine meat in Romania)," Working Papers of Macroeconomic Modelling Seminar 162703, Institute for Economic Forecasting.
    16. Gerard H. Kuper & Daan P. van Soest, 2006. "Does Oil Price Uncertainty Affect Energy Use?," The Energy Journal, , vol. 27(1), pages 55-78, January.
    17. Harry-Paul Vander Elst, 2015. "FloGARCH: Realizing Long Memory and Asymmetries in Returns Valitility," Working Papers ECARES ECARES 2015-12, ULB -- Universite Libre de Bruxelles.
    18. Dutta, Shantanu & Essaddam, Naceur & Kumar, Vinod & Saadi, Samir, 2017. "How does electronic trading affect efficiency of stock market and conditional volatility? Evidence from Toronto Stock Exchange," Research in International Business and Finance, Elsevier, vol. 39(PB), pages 867-877.
    19. Charles, Amélie, 2010. "The day-of-the-week effects on the volatility: The role of the asymmetry," European Journal of Operational Research, Elsevier, vol. 202(1), pages 143-152, April.
    20. Kei Nakagawa & Yusuke Uchiyama, 2020. "GO-GJRSK Model with Application to Higher Order Risk-Based Portfolio," Mathematics, MDPI, vol. 8(11), pages 1-12, November.
    21. Christensen, Bent Jesper & Nielsen, Morten Ørregaard & Zhu, Jie, 2010. "Long memory in stock market volatility and the volatility-in-mean effect: The FIEGARCH-M Model," Journal of Empirical Finance, Elsevier, vol. 17(3), pages 460-470, June.

    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:13:y:2025:i:3:p:461-:d:1580111. 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.