نوع مقاله : مقاله پژوهشی (کمی)

نویسندگان

1 گروه مدیریت صنعتی، واحد تهران مرکزی،دانشگاه آزاد اسلامی،تهران، ایران

2 گروه مدیریت صنعتی، واحد علوم و تحقیقات، دانشگاه آزاد اسلامی، تهران، ایران

3 گروه مدیریت صنعتی، واحد تهران مرکز، دانشگاه آزاد اسلامی،تهران، ایران

چکیده

هدف این پژوهش ترکیب الگوریتم ژنتیک در بهینه سازی سبد سهام در تصمیم گیری مالی سرمایه‌گذاران می‌باشد؛ در یک پروژه شبیه سازی، استفاده نهایی از داده‌های ورودی برای ساختن مدل شبیه سازی می‎باشد. این فرآیند شامل جمع آوری داده‌های ورودی، آنالیز کردن داده‌های ورودی و استفاده از این داده‌های ورودی آنالیز شده در مدل شبیه سازی است. جامعه آماری پژوهش شامل 20 نماد (شرکت) از بین صنایع (وبصادر، وتجارت، اخابر، فخوز، فارس، بالبر، تپمپی، خساپا، خودرو، سشرق، سصوفی، شبهرن، شپنا، غپینو، فولاد، قثابت، کسرا، وبانک، ونفت، ونیکی) و اطلاعات مربوط به قیمت روزانه سهام و میزان شاخص روزانه از تاریخ 1 دی ماه 1387 الی 26 دی ماه 1400 به عنوان نمونه در نظر گرفته شد. ابزار جمع آوریاطلاعات و داده‎ها با استفاده از سایت فیپیران می‎باشد و میزان بتا (ریسک) سهام بصورت ماهیانه با استفاده از نرم افزار اکسل محاسبه و میزان فراوانی بازده و بتا (ریسک) محاسبه شده را با استفاده از نرم افزار Spss بدست آورده و با استفاده از نرم افزار Easy fit به تابع‌های توزیع پرداخته شد؛ نتایج نشان داد که در صورتیکه عامل‌ها مبتدی هستند برای کسب سود بیشتر از رفتار نرمال و ریسک 40% را قبول کنند میزان سود بدست آمده پس از بهینه نمودن مدل با الگوریتم ژنتیک بیشتر از مدل اولیه می‌باشد. درصورتیکه عامل‌ها حرفه ایی هستند برای کسب سود بیشتر از رفتار ریسک گریز و ریسک 80% را قبول کنند میزان سود بدست آمده پس از بهینه نمودن مدل با الگوریتم ژنتیک بیشتر از مدل اولیه می‌باشد.

کلیدواژه‌ها

موضوعات

عنوان مقاله [English]

The combination of genetic algorithm in the optimization of the stock portfolio in the financial decision of investors

نویسندگان [English]

  • seyed morteza hashemi 1
  • Mohamad Ali Afshar Kazemi 1
  • Abbas Tolouee Ashlaghi 2
  • Mehrzad Minooie 3

1 Department of Industrial Management, Central Tehran Branch, Islamic Azad University, Tehran, Iran

2 Department of Industrial Management, Science and Research Unit, Islamic Azad University, Tehran, Iran

3 Department of Industrial Management, Centeral Tehran Branch, Islamic Azad University,Tehran, Iran

چکیده [English]

Abstract
The purpose of this research is to combine the genetic algorithm in the optimization of the stock portfolio in the financial decision making of investors; in a simulation project, the final use of the input data is to build the simulation model. This process includes collecting input data, analyzing the input data, and using these analyzed input data in the simulation model. The statistical population of the research includes 20 symbols (companies) from among the industries (Vabsadar, Vetjarat, Akhaber, Fakhuz, Fars, Balbar, Tapampi, Khasapa, Khodro, Sasharq, Sosofi, Shobhorn, Shapna, Ghopino, Fould, Ghasabat, Kesra, Vanbank, Vanneft, Veniki) and the information related to the daily stock price and the daily index value from Decembre 22, 2008 to January 16, 2020 was considered as a sample. The tool for collecting information and data is using the Phipiran site, and the amount of beta (risk) of stocks is calculated monthly using Excel software, and the frequency of return and beta (risk) calculated using Spss software, and distribution functions were discussed using Easy fit software; the results showed that if the agents are beginners to earn more profit than normal behavior and accept 40% risk, the amount of profit obtained after optimizing the model with genetic algorithm is more than the initial model. If the agents are professionals to earn more profit than risk-averse behavior and accept 80% risk, the amount of profit obtained after optimizing the model with genetic algorithm is more than the initial model.
Extended Abstract
Introduction
Today, in order to reduce the investment risk, investors in the financial markets prefer to allocate capital to a portfolil consisting of several shares rather than investing in only one share; because this enables them to bear a lower level of risk in order to achieve a certain amount of return in a certain period of time. An issue that has occupied the minds of many financial analysts and investors for many years is how to choose stocks and optimize the investment portfolio over time in a way that meets the investor's expectations in order to maximize the return on investment. When investors are exposed to uncertainty, the investment portfolio selection framework should include a quantitative measure of uncertainty to achieve the expected return or a quantitative measure of risk (Shahraki Sanavi, 2023).
Today, with the increasing growth and changes of financial markets in developed and developing countries, or due to the unpredictable performance of investors, pure mathematical solutions are not enough to solve such problems, and therefore robust algorithms are considered to solve them. (SheidaeiNarmigi et al, 2020).
Genetic algorithm can solve the problem of stock portfolio optimization by considering different levels of risk or success. By means of the genetic algorithm, you can create an optimal portfolio within a few minutes, which will cause a change in the capital market and will greatly help the efficiency of the capital market. One of the main signs of a country's progress is its economic progress, and if new methods are not used in the field of financial transactions, it will harm the economy (Pakmaram et al, 2017).
Therefore, the researcher is trying to answer the question; how is the genetic algorithm in optimizing the stock portfolio in the financial decision of investors?
Theoretical Framework
Genetic algorithm
The principles of genetic algorithm were first presented by Jan Haland, (1975). The genetic algorithm is an optimization algorithm with general application and is modeled on Darwin's evolutionary theory. Genetic algorithms are meta-heuristic algorithms based on biological evolution that try to obtain high-quality answers at the right time by creating an initial population and improving its quality by applying various operators (Farughi et al, 2020). Genetic algorithms are suitable for multi-objective optimization due to examining a set of possible solutions and also less sensitivity to a specific form of optimal points. Objectives are in the form of mathematical functions and represent appropriate use to improve decisions in optimization (Sheydaei Narmighi et al, 2020).
The concept of stock portfolio optimization has become like a tool in the direction of developing and understanding financial markets and financial decision making. Consider the spread of risk and return at the same time and choose the amount of capital allocation between various investment opportunities based on the interaction between the two. Therefore, the investment that seeks to maximize the expected return and minimize the risk has these two opposite goals that must be balanced against each other. One of the interesting results of these two opposing goals is that the investor should diversify by buying several types of securities. On the other hand, due to the complexity of management, the system of rules and regulations and the policies of asset; management companies in the framework of financial markets, investment managers impose restrictions on their optimal asset set, which makes the model nonlinear and complicates the problem. (Faridi et al, 2022).
Niko & Bazrafshan (2023) investigated the stock portfolio using a combined genetic algorithm and simulated refrigeration. The results show that the hybrid algorithm searches for the optimal solution in a shorter period of time than the genetic algorithm and performs better than the other two algorithms in terms of risk and return.
Shahbazi (2022) investigated stock portfolio optimization with beta coefficient clustering approach. The goal of the challenge is to minimize the portfolio variance. The stock clustering method is to group beta coefficients of stocks into four clusters. The investor has an expected return that the portfolio must meet. Expected returns and clustered shares are inputs to the problem. It is not possible to borrow and sell on credit. A non-linear mixed integer mathematical model is presented to introduce the proposed portfolio and in one case it is checked on 50 most active stock companies. Finally, the Sharp index shows a favorable result.
Research methodology
In a simulation project, the final use of the input data is to build the simulation model. This process includes collecting input data, analyzing the input data, and using these analyzed input data in the simulation model. The statistical population that was used for the implementation of the mentioned research was accepted in the stock exchange company with 52 industries and approximately 1,543 symbols, which were used for daily trading in the stock market. In this research, 20 brands (companies) are considered including (Vabsadar, Vetjarat, Akhaber, Fakhuz, Fars, Balbar, Tapampi, Khasapa, Khodro, Sasharq, Sosofi, Shobhorn, Shapna, Ghopino, Folad, Qathabat, Kesra, Vabank, Veneft, Vaniki). The tool for collecting information and data is using the site https://www.fipiran.com.
Research findings
The amount of beta (risk) of stocks was calculated monthly using Excel software, the frequency of return and beta (risk) was calculated using Spss software, and the distribution functions were analyzed using Easy fit software. The results showed that by making more transactions, people turn from beginners to professionals, and people turn from risk-averse to normal and then risk-taking. Examining the system in a longer time horizon provides more realistic results and the simulation model can be examined in more realistic conditions.
Conclusion
The current research has been carried out with the aim of combining the genetic algorithm in the optimization of the stock portfolio in the financial decision making of investors. The results of this research are consistent with the results of Shahbazi (2022), Kalayci et al, (2020), Li & Tam (2020), Mirabi & Zarei (2020). Pakmaram et al, (2017) showed that the genetic algorithm had a lower objective function value, or in other words, it reached the best result with the least error; it performed better than other algorithms and shows the relative superiority of this algorithm in choosing the optimal stock portfolio.
According to the present research, it is suggested that investors (risk averse/risk taking) should also examine other models with regard to the expected return, because according to their risk tolerance or risk aversion, their returns will be different. One of the important points for investors is portfolio management and considering future transaction costs. Investors always want to achieve their desired portfolio with the least number of transactions and consequently the lowest future transaction costs.
 

کلیدواژه‌ها [English]

  • genetic pattern
  • stock portfolio
  • financial decision making
  • investors
Bayat, A., & asadi, L. (2017). Stock Portfolio optimization: Effectiveness of particle swarm optimization and Markowitz model. Financial Engineering and Portfolio Management, 8(32), 63-85. DOI: 20.1001.1.22519165.1396.8.32.4.4 (In Persian)
Deng, Y., & Xu, H., & Wu, J. (2021). Optimization of blockchain investment portfolio under artificial bee colony algorithm. Journal of Computational and Applied Mathematics 385(11). DOI:10.1016/j.cam.2020.113199.
Farughi, H., & Tavana, M., & Mostafayi, S., & Santos Arteaga, F. J. (2020). A novel optimization model for designing compact, balanced, and contiguous healthcare districts. Journal of the Operational Research Society, 71(11), 1740-1759 https://doi.org/10.1080/01605682.2019.1621217
Faridi, S., & Madanchi Zaj, M., & daneshvar, A., & shahverdiani, S., & rahnama, F. (2022). Stock portfolio optimization based on the combined model of omega ratio and mean-variance Markowitz based on two-level ensemble machine learning. Financial Knowledge of Securities Analysis, 15(55), 33-54. doi: 10.30495/jfksa.2022.21083. (In Persian)
Hadavandi, E., & Mostafayi, S., & Soltani, P. (2018). A Grey Wolf Optimizer-based neural network coupled with response surface method for modeling the strength of siro-spun yarn in spinning mills. Applied Soft Computing, 72, 1-13 https://doi.org/10.1016/j.asoc.2018.07.055
Kalayci, C. B., & Polat, O., & Akbay, M. A. (2020). An efficient hybrid metaheuristic algorithm for cardinality constrained portfolio optimization. Swarm and Evolutionary Computation, 54, 100662 https://doi.org/10.1016/j.swevo.2020.100662
Kellner, F., & Utz, S. (2019). Sustainability in supplier selection and order allocation: Combining integer variables with Markowitz portfolio theory. Journal of cleaner production, 214, 462-474 https://doi.org/10.1016/j.jclepro.2018.12.315
Liagkouras, K. (2019). A new three-dimensional encoding multiobjective evolutionary algorithm with application to the portfolio optimization problem. Knowledge-Based Systems, 163, 186-203 https://doi.org/10.1016/j.knosys.2018.08.025
Li, Z., & Tam, V. (2020). A Novel Meta-Heuristic Optimization Algorithm Inspired by the Spread of Viruses. arXiv preprint arXiv: 2006.06282. https://doi.org/10.48550/arXiv.2006.06282
   
Mirabi, M., & Zarei Mahmoudabadi, M. (2020). Optimization Portfolio Selection in Risk Situations with Combined Meta-Heuristic Algorithm of Genetic Algorithm (GA) and Lion Optimization Algorithm (LOA). Financial Management Perspective, 10(32), 33-56. doi: 10.52547/JFMP.10.32.33. (In Persian)
Mousavi, S., & Jafari Nadushan, A., & Sangestani, M., & Moradi, M. (2022). Optimizing the stock portfolio with measures based on value at risk and limiting the number of stocks using meta-heuristic algorithm of shrimp groups (case study: Stock Exchange) Tehran Securities, 12(39), https://civilica.com/doc/1631739. (In Persian)
Mostafayi Darmian, S., Doaei, M. (2022). Optimization of Stock Portfolio Selection in Iran Capital Market Using Meta-heuristic Algorithms. Quarterly Journal of Applied Theories of Economics, 8(4), 253-284. doi: 10.22034/ecoj.2022.47049.2913.
Niko, M., & Bazarafshan, M. (2023). Optimizing the stock portfolio using a combined genetic algorithm and simulated refrigeration, the first international conference on management capabilities, industrial engineering, accounting and economics, Babylon, https://civilica.com/ doc/1690870. (In Persian)
Rahimi, R., & Akbari, A. (2023). Stock portfolio optimization with different algorithms. Journal of Accounting and Management Vision, 6(79), 48-55. https://www.jamv.ir/article_173396.html ?lang=en. (In Persian)
 Rahnema Rudpashti, F., & Nikumram, H., & Toloui Ashlaghi, A., & Hosseinzadeh Lotfi, F., & Bayat, M. (2014) Investigating the effectiveness of portfolio optimization based on the stable model with classical optimization in predicting portfolio risk and return (2015).. Financial Engineering and Portfolio Management, 6(22), 29-60. 20.1001.1.22519165.1394.6.22.8.4. (In Persian)
Shahbazi, M. (2022). Stock portfolio optimization with the beta coefficient clustering approach, 7th National Conference on Modern Researches in Management, Economics and Accounting of Iran, Tehran, https://civilica.com/doc/1553270 (In Persian)
SheidaeiNarmigi, A., & Rahnamay Roodposhti, F., & Radfar, R. (2020). Optimization of Network-Based Matrix Investment Portfolio and Comparison with Fuzzy Neural Combination Pattern and Genetic Algorithm (ANFIS). Journal of Investment Knowledge, 9(36), 293-315. https://jik.srbiau.ac.ir/article_16818.html?lang=fa. (In Persian)
Wang, Z., & Zhang. X., & Zhang, Z., & Sheng, D. (2021). Credit Portfolio Optimization: A Multi-objective Genetic Algorithm Approach. Borsa Istanbul Review 22(4). DOI:10.1016/j.bir.2021 .01.004
Zhou, F., & Wang, X., & Goh, M., & Zhou, L., & He, Y. (2019). Supplier portfolio of key outsourcing parts selection using a two-stage decision making framework for Chinese domestic auto-maker. Computers & Industrial Engineering, 128, 559-575.https://doi.org/10.1016/j.cie.2018.12.014