Comparison of Portfolio Optimization for Investors at Different Levels of Investors' Risk Aversion in Tehran Stock Exchange with Meta-Heuristic Algorithms

Document Type: Research Paper


1 Faculty of Economic and Social Sciences,Hamedan university, Iran

2 Faculty of Management and Accounting, Orumieh,Iran

3 Faculty of Economics and Social Sciences,Hamedan university, Iran



The gaining returns in line with risks is always a major concern for market play-ers. This study compared the selection of stock portfolios based on the strategy of buying and retaining winning stocks and the purchase strategy based on the level of investment risks. In this study, the two-step optimization algorithms NSGA-II and SPEA-II were used to optimize the stock portfolios. In order to determine the winning algorithm, the performance indexes, Set coverage and the Mean Ideal Distance were used. Finally, the active shares of 50 Tehran Stock Exchange com-panies were analysed (2007-2016). The results indicate that the SPEA-II algo-rithm can perform optimization and achieve a better performance than the NSGA-II. This algorithm could achieve better outcomes than the winning strategy during the selection period based on the risk-taking strategies in different months


Main Subjects

[1] Alborzi, M., Genetic Algorithm, Sharif University Publications, 2007.

[2] Aminzadeh Goharrizi, B., Tohidirad, S., Asadi, R., Using the NSGA-II Algorithm to Solve Multi-Objective Problems, Journal of Urban Studies, 2016, 5(19), P.15-26.

[3] Anagnostopoulos Konstantin, K., Mamanis, G., Multi-objective evolutionary algorithms for complex portfolio optimization problems, Computational Management Science, 2011, 8(3), P.259–279. Doi: 10.1007/s10287-009-0113-8

[4] Badri Ahmad, A., Fathollahi, F., Momentum Return: Evidence from the Tehran Stock Exchange, Journal of Investment Knowledge, 2014, 3, P. 1-20.

[5] Bozorgi Amiri, A., Mahboobnia, M., Dabiri, N., Presentation of the New Routing Model Under Uncertainty, Journal of Industrial Engineering Research in Manufacturing Systems, 2017, 5(10), P. 99-115. Doi:10.2208 4/IER.2017.9761.1467

[6] Coello, C.A., Van Veldhuizen, D.A.,  Lamont, G.B., Evolutionary Algorithm for solving Multi-objective problems, Kluwer Academic Publishers, New York, 2007

[7] Czyzak, P., Jaszkiewicz, A., Pareto simulated annealing a metaheuristic for Multi objective combinatorial optimization, Journal of Multi-Criteria Decision Analysis, 1998, 7(1), P.34-47.Doi:10.1002/(SICI)1099-1360(19 9801)7:1 3.0.CO;2-6

[8] Fama, F.E., Kenneth, R., Permanent and temporary components of stock prices, Journal of political Economy, 1988, 96(2), P.246-273.


[9] Hadi, N., Farhad, A.R., Khajeh, M., Evaluation and Comparison of Multi-Objective Algorithms for Solving the Design Optimization Problem (Case Study: Optimal Design of Military Equipment), Military Management Quarterly, 2017, 4, P.128-163.

[10] Hilsenrath, E.J., Belief in Efficient Valuation Yields Ground to Role of Irrational Investor: Mr Thaler Takes on Mr Fama, Wall Street Journal, 2004.

[11] Jones, P.C., Investment Management, Danesh Publications, Second Edition, Tehran, 2005

[12] Miryekemami, S., Sadeh, E., Sabegh, Z., Using Genetic Algorithm in Solving Stochastic Programming for Multi-Objective Portfolio Selection in Tehran Stock Exchange, Advances in Mathematical Finance and Applications, 2017, 2(4), 107-120. Doi: 10.22034/AMFA.2017.536271

[13] Meghwani, S.S., Thakur, M., Multi-criteria algorithms for portfolio optimization under practical constraints, Swarm and Evolutionary Computation, 2017, 37, P.104-125.Doi:10.1016/j.swevo.2017.06.005

[14] Pumpin, U.M., Behavioral Financial Knowledge and Asset Management, Kayhan Publishing Company, 1994.

[15] Raei, R., Pooyanfar, R., Advanced Investment Management, Samt Publications, 2012.

[16] Rahmani, A., Sarhang, H., Analysis of Factors Affecting Stock Returns Based on Trading Strategies, Journal of Financial Engineering and Management of Securities, 2011, 2(9), P.79-104.

[17] Rajabi, M., Khalozadeh, H., Optimization and comparison of stock portfolio in Tehran Stock Exchange using multi-objective evolutionary optimization algorithm, Financial Research Journal, 2014, 16(2), P.253-270. (In Persian)

[18] Rezaei, N., Elmi, Z., Behavioral Finance Models and Behavioral Biases in Stock Price Forecasting. Advances in Mathematical Finance and Applications, 2018, 3(4), 67-82. Doi: 10.22034/amfa.2019.576127.1118

[19] Sinaei, H., Ajdarpour, L., Investigating Profitability of Momentum and Contrarian Strategies in Tehran Stock Exchange, Quarterly Financial Accounting Journal, 2014, 6(21), P.50-29.

[20] Vo Xuan Vinh, Q.B., Truong, Does momentum work? Evidence from Vietnam stock market, Journal of Behavioural and Experimental Finance, 2018, 17, P. 10-15.Doi:10.1016/j.jbef.2017.12.002

[21] Yang, Y., Goncu, A., Pantelous, A., Momentum and reversal strategies in Chinese commodity futures markets, International Review of Financial Analysis, 2018, 60, P.177-196. Doi:10.1016/j.irfa.2018.09.012

[22] Ziaie Bigdeli, M., Bahrami, K., An Investigation of the Reversal Trading Strategy in Portfolio in Tehran Stock Exchange, Financial Knowledge Analysis of the Securities, 2013, 6(1), P.103-117. (In Persian)

[23] Zeng, D., Liu, H., The Study of the Momentum Effect and the Reversal Effect on the Chinese Stock Market, Advances in Economics, Business and Management Research, 2016, 16, P. 80-112 Doi: 10.1109/ICSSSM.2 015.7170203

[24] Zitzler, E., T. Hohm, A Multiobjective Evolutionary Algorithm for Numerical Parameter Space Characterization of Reaction Diffusion Systems. In: Kadirkamanathan V., Sanguinetti G., Girolami M., Niranjan M., Noirel J. (eds) Pattern Recognition in Bioinformatics. PRIB 2009. Lecture Notes in Computer Science, vol 5780. Springer, Berlin, Heidelberg, 2009, 3, P.162-174. Doi: 10.1007/978-3-642-04031-3_15.

[25] Markowitz, H., Portfolio selection, The Journal of Finance, 1952, 7(1), P.77-91.

[26] Hall, B.A., Jaffe, A., Trajtenberg, M., Market Value and Patent Citations: A First Look. Working Paper no. 7741, National Bureau of Economic Research, 2000.

[27] Bernard, Thomas, J.K., Evidence that stock prices do not fully reflect the implications of current earnings for future earnings, Journal of Accounting and Economics. 1990, 13(4), P.305-400.

[28] Park, H.Y., Datta-Gupta, A., King,  M.J., Handling conflicting multiple objectives using Pareto-based evolutionary algorithm during history matching of reservoir performance, Journal of Petroleum Science and Engineering, 2015, 125, P.48-66.

[29] Zitzler, E., Brockhoff, D., Thiele, L., The hypervolume indicator revisited: On the design of Pareto-compliant indicators via weighted integration, In: International Conference on Evolutionary Multi-Criterion Optimization, 2007, 5, P.862-876,