Design and Validation of an Optimal Dynamic Portfolio Management Model Based on Investment Portfolio Simulation in the Tehran Stock Exchange Using Artificial Intelligence and Machine Learning Methods
Subject Areas : Financial EngineeringMostafa Allameh 1 , Hassan Ghodrati 2 * , Hossein Panahian 3 , Meysam Arabzadeh 4 , Ali Akbar Farzin Far 5
1 - Department of Accounting, Kashan Branch., Islamic Azad University, Kashan, Iran
2 - Department of Accounting, Kashan Branch., Islamic Azad University, Kashan, Iran
3 - Department of Accounting, Kashan Branch., Islamic Azad University, Kashan, Iran
4 - Department of Accounting, Kashan Branch., Islamic Azad University, Kashan, Iran
5 - Department of Accounting, Kashan Branch., Islamic Azad University, Kashan, Iran
Keywords: Feasible Investment Option , Dynamic Approach, Forensic-Based Investigation(FBI) , Machine Learning Efficiency,
Abstract :
In this research, first the financial criteria used in capital decision-making were identified and refined, then the most effective criteria were selected based on the deep learning algorithms including: RF, XGBoost, and LightGBM. In this stage, 11 factors were selected from the 35 factors found in previous research. In the next stage, based on the Forensic-Based Investigation algorithm (FBI), feasible investment options were identified and the internal rate of return was calculated over a 5-year period, and 42 companies that had an internal rate of return higher than the risk-free investment were selected as feasible investment options. During the next stage, different random combinations were used as investment portfolios using three methods: equal weight allocation, mean-variance model, and hierarchical risk preference model. Investment weights were determined for each invested share (combination) and investment returns were evaluated using different metrics. Finally, in order to validate the findings, the feasible investment options were divided into two categories of companies active in the financial industry and others, and the superiority of decision-making (higher returns) in a dynamic process was accepted.
[1] Alexander, G.J., Baptista, A.M., Economic implications of using a mean-VaR model for portfolio selec-tion: A comparison with mean-variance analysis, Journal of Economic Dynamics and Control, 2002; 26(7–8):1159–1193. doi: 10.1016/S0165-1889(01)00041-0
[2] Alirezaei, S., Khodabakhshi Parijan, K., Kalaei, M., The impact of financial factors on sales forecasting with supervised machine learning methods: a case study of food and beverage companies admitted to the Tehran Stock Exchange, Advances in Mathematical Finance and Applications (AMFA), 2025; 4(1): 117-136. doi: https://sanad.iau.ir/en/Article/1186785
[3] Breiman, L., Random Forest, Machine Learning, 2001;45(1):5–32. doi: 10.1023/A:1010933404324
[4] Bustos, O., Pomares-Quimbaya, A., Stock market movement forecast: A systematic review, Expert Sys-tems with Applications, 2020;156:113464. doi: 10.1016/j.eswa.2020.113464
[5] Chen, J., Yeh, C., Tan, J., Ferrer, R., Using publicly available satellite imagery and deep learning to understand economic well-being in Africa, Nat Commun, 2020;11(1):1–9. doi: 10.1038/s41467-020-16185-w
[6] Chen, T., Guestrin, C., XGBoost: A scalable tree boosting system, In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD’16), 2016; 785–794. doi: 10.1145/2939672.2939785
[7] Chen, W., Zhang, H., Kumar, M., Jia, L., Mean–variance portfolio optimization using machine learning-based stock price prediction, Applied Soft Computing, 2021;100:106943. Doi: 10.1016/j.asoc.2020.106943
[8] Chou, J.S., Chen, K.E., Optimizing investment portfolios with a sequential ensemble of decision tree based models and the FBI algorithm for efficient financial analysis, Applied Soft Computing, 2024; 158:111550. doi: 10.1016/j.asoc.2024.111550
[9] Chou, J.S., Nguyen, N.M., FBI inspired meta optimization, Applied Soft Computing, 2020;106339. doi: 10.1016/j.asoc.2020.106339
[10] Firouz, A., FarizinFar, A.A., Ghodrati, H., Identification Reporting Readability Measurement Metrics and Factors Affecting the Cost of Capital Based on Knowledge Domain Analysis Using Content Analysis, Dynamic management and business analysis, 2024;3(5):290–312. doi: 10.22034/dmbaj.2025.2049905.1227 (In Persian)
[11] Gopinathan, R., Durai, S.R.S., Stock market and macroeconomic variables: New evidence from India, Financial Innovation, 2019;5(1):29. doi: 10.1186/s40854-019-0145-1
[12] Hiransha, M., Gopalakrishnan, E.A., Menon, V.K., Soman, K.P., NSE stock market prediction using deep-learning models, Procedia Computer Science, 2018;132:1351–1362. doi: 10.1016/j.procs.2018.05.050
[13] Jamshidi Eini, E., Khaloozadeh, H., The Tail Mean-Variance Model and Extended Efficient Frontier. Advances in Mathematical Finance and Applications (AMFA), 2021;6(1): 179-193. doi: https://sanad.iau.ir/en/Article/914486
[14] Kaczmarek, T., Perez, K., Building portfolios based on machine learning predictions, Economic Re-search Ekonomska Istraživanja, 2021; 35(1): 19–37. doi:10.1080/1331677x.2021.1875865
[15] Kapsos, M., Christofides, N., Rustem, B., Worst-case robust Omega ratio, European Journal of Oper-ational Research, 2014; 234(2): 499-507. doi: 10.1016/j.ejor.2013.04.025
[16] Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., Liu, TY., LightGBM: A highly effi-cient gradient boosting decision tree, Advances in Neural Information Processing Systems, 2017;30:3146–3154. doi: 10.48550/arXiv.1712.01017
[17] Konno, H., Yamazaki, H., Mean-absolute deviation portfolio optimization model and its applications to Tokyo stock market, Management Science, 1991;37(5):519–531. doi: 10.1287/mnsc.37.5.519
[18] Min, L., Dong, J., Liu, J., Gong, X., Robust mean‑risk portfolio optimization using machine learn-ing‑based trade‑off parameter, Applied Soft Computing, 2021;113:107948. doi:10.1016/j.asoc.2021.107948
[19] Novykov, V., Bilson, C., Deep learning applications in investment portfolio management: a systemat-ic literature review, Journal of Accounting Literature, 2024; 47(2):245–276. Doi: 10.1108/JAL-07-2023-0119
[20] Paiva, F.D., Cardoso, R.T.N., Hanaoka, G.P., Duarte, WM., Decision-making for financial trading: A fusion approach of machine learning and portfolio selection, Expert Systems with Applications, 2019;115:635–655. doi: 10.1016/j.eswa.2018.08.003
[21] Rockafellar, R.T., Uryasev, S., Optimization of conditional value-at-risk, Journal of Risk, 2000; 2(3): 21–41. doi: 10.21314/JOR.2000.038
[22] Salo, A., Doumpos, M., Liesiö, J., Zopounidis, C., Fifty years of portfolio optimization, European Journal of Operational Research, 2024; 318(1): 1–18. doi: 10.1016/j.ejor.2023.12.031
[23] Shirtavani, S., Homayoonfar, M., Azadi, K., Daneshvar, A., Developing a Model to Analyze Decision Maker's Preference in Portfolio Selection, Advances in Mathematical Finance and Applications, 2023;15(2). doi: https://sanad.iau.ir/en/Article/1189992
[24] Wang, M., Zhang, L., Liu, M., Zhang, D., A survey on deep learning for neuroimaging-based brain disorder analysis, Frontiers in Neuroscience, 2020; 14:779. doi: 10.3389/fnins.2020.00779