A STOCHASTIC METHOD FOR OPTIMIZING PORTFOLIOS USING A COMBINED MONTE CARLO AND MARKOWITZ MODEL: APPROACH ON PYTHON

Authors

  • Mallieswari R. M S Ramaiah Institute of Management, Bengaluru, Karnataka, India.
  • Varadharajan Palanisamy M S Ramaiah Institute of Management, Bengaluru, Karnataka, India.
  • Arthi Thangavelu Senthilnathan Sri Ramakrishna Engineering College, Coimbatore, Tamil Nadu, India
  • Suganya Gurumurthy Kumaraguru College of Liberal Arts and Science, Coimbatore, Tamil Nadu, India
  • J. Joshua Selvakumar CHRIST University, Bangalore, Karnataka, India
  • Sathish Pachiyappan CHRIST University, Bangalore, Karnataka, India

DOI:

https://doi.org/10.2478/eoik-2024-0014

Keywords:

Return, Risk, Efficient Frontier, Markowitz Monte Carlo, Pharma index, Correlation

Abstract

The main of the study is to comprehend how the mean variance efficient frontier method may be used in conjunction with Markowitz portfolio theory to produce an optimal portfolio. The study uses daily observations 8 pharma companies closing price namely Auropharma, Granules, Glaxo, Lauruslabs, Pfizer, Sanofi and Torntpharma. Further, Nifty pharma index is considered as benchmark index to check the performance of the chosen companies. The study chosen the reference period from 2020 to 2023 and required data has been extracted from the National Stock Exchange (NSE). This research is based on implementing a stochastic method for efficient portfolio optimisation employing a blended Monte Carlo and Markowitz model. In order to forecast the price of these indices in the future and to determine the likelihood of profit or loss while investing in a portfolio of stocks representing the aforementioned indices, the study also uses Monte Carlo simulation. The study involves two algorithms, namely the deterministic optimisation algorithm, which uses Markowitz Portfolio Theory, and the probabilistic optimisation algorithm, which uses Monte Carlo simulation. The study employed correlation matrix to find the exist relationship between the chosen companies and benchmark index. Also, expected return and volatility has been identified with the help of standard deviation using Python. The study found that the NIFTY Pharma index offers a higher return of 14.35. In addition to this, NIFTY Pharma portfolio’s volatility is considerably higher. The study concludes that the NIFTY pharma portfolio is more suitable for those investors who have an appetite for risk.

References

Akhtar, G. (2013). Indian Pharmaceutical Industry, An Overview. Journal of Humanities and Social Science, 13(3), 51-66. https://www.researchgate.net/profile/Dr-Akhtar-7/publication/272717095_Indian_Pharmaceutical_Industry_An_Overview/links/610647c41ca20f6f86ef2a56/IndianPharmaceutical-Industry-An-Overview.pdf

Alexeev, Vitali and Tapon, Francis, Equity Portfolio Diversification: How Many Stocks are Enough? Evidence from Five Developed Markets (November 28, 2012). FIRN Research Paper. https://ssrn.com/abstract=2182295 or http://dx.doi.org/10.2139/ssrn.2182295

Bai, Z., Liu, H., & Wong, W. K. (2009). Enhancement of the applicability of Markowitz’s portfolio optimization by utilizing random matrix theory. Mathematical Finance: An International Journal of Mathematics, Statistics and Financial Economics, 19(4), 639-667. https://doi.org/10.1111/j.1467-9965.2009.00383.x

Bozanic, D., Tešić, D., Puška, A., Štilić, A., & Muhsen, Y. R. (2023). Ranking challenges, risks and threats using Fuzzy Inference System. Decision Making: Applications in Management and Engineering, 6(2), 933–947. https://doi.org/10.31181/dmame622023926

D’Agostini, G. (2015). On the use of the covariance matrix to fit correlated data. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, 346(1-2), 306-311. https://doi.org/10.1016/0168-9002(94)90719-6

Bailey, David H. and López de Prado, Marcos and López de Prado, Marcos, The Sharpe Ratio Efficient Frontier (2012). Journal of Risk, 15(2). https://ssrn.com/abstract=1821643 or http://dx.doi.org/10.2139/ssrn.1821643

Deepali Surana, B. R. (n.d.). Comparative study of influences by select emerging markets on the pharmaceutical industry, Embracing Change & Transformation-Breakthrough Innovation and Creativity. https://www.researchgate.net/publication/355545588_Embracing_Change_TransformationBreakthrough_Innovation_and_Creativity_COMPARATIVE_STUDY_OF_INFLUENCES_BY_SELECT_EMERGING_MARKETS_ON_THE_PHARMACEUTICAL_INDUSTRY

Dziuban, C. D., & Shirkey, E. C. (1974). When is a correlation matrix appropriate for factor analysis? Some decision rules. Psychological Bulletin, 81(6), 358–361. https://doi.org/10.1037/h0036316

Đukić, P. (2018). Innovative Economy in the Light of Reforms and Busssiness Modernization. ECONOMICS - Innovative and Economics Research Journal, 6(1), 45–61. https://doi.org/10.2478/eoik-2018-0002

Pätäri, E., Karell, V., Luukka, P., & Yeomans, J. S. (2018). Comparison of the multicriteria decision-making methods for equity portfolio selection: The US evidence. European Journal of Operational Research, 265(2), 655-672. https://doi.org/10.1016/j.ejor.2017.08.001

El-Morsy, S (2023). Stock Portfolio Optimization Using Pythagorean Fuzzy Numbers. Journal of Operational and Strategic Analytics, 1(1), 8-13. https://doi.org/10.56578/josa010102

Fabozzi, F. J., & Markowitz, H. M. (2011). Equity valuation and portfolio management (Vol. 199). John Wiley & Sons. https://www.wiley.com/en-dk/Equity+Valuation+and+Portfolio+Management-p-9780470929919

Frank J, F. J. (2001). Equity Portfolio Management.

Garcia, M. T., & Borrego, D. (2017). Markowitz efficient frontier and capital market line: evidence from the portuguese stock market. European Journal of Management Studies, 22(1), 3-23. http://hdl.handle.net/10400.5/13948

Goetzmann, W. N. (2020). An Introduction to Investment Theory. Yale school of Management. Haupt, M. (2021). 5 things to know about covariance matrix. Towards data science.

How to build a good equity portfolio?Nuvama Wealth. (2022). Nuvama Wealth. IBEF. (2022). Healthcare industry in india. Indian brand equity foundation.

Kaucic, M. (2019). Equity portfolio management with cardinality constraints and risk parity control using multi-objective particle swarm optimization. Computers & Operations Research, 109, 300-316. https://doi.org/10.1016/j.cor.2019.05.014

Kuncoro, H., & Pardede, J. (2024). Modelling the Demand for Indonesia’s Foreign Reserves. ECONOMICS - Innovative and Economics Research Journal, 12(1), 131-151. https://doi.org/10.2478/eoik-2024-0005

Ivanova, M., & Dospatliev, L. (2017). Application of Markowitz portfolio optimization on Bulgarian stock market from 2013 to 2016. International Journal of Pure and Applied Mathematics, 117(2), 291-307. DOI:10.12732/IJPAM.V117I2.5

Shadabfar, M., & Cheng, L. (2020). Probabilistic approach for optimal portfolio selection using a hybrid Monte Carlo simulation and Markowitz model. Alexandria engineering journal, 59(5), 3381- 3393. https://doi.org/10.1016/j.aej.2020.05.006

Michaud, R. O. (2018). The Markowitz Optimization Enigma: Is ‘Optimized’ Optimal? Financial Analysts Journal, 45(1). https://doi.org/10.2469/faj.v45.n1.31

Molchanova, E., Kovtoniuk, K. (2023). Recession or Recovery: the Fifth Stage of the Kondratiev Wave. Collection of Papers New Economy , 1(1), 17-29. https://doi.org/10.61432/CPNE0101017m

Oey, E., & Nitihardjo, E. C. (2016). Selecting regional postponement centre using PESTLE-AHP-TOPSIS methodology: A case study in a pharmaceutical company. Global Business Review, 17(5), 1250-1265. https://doi.org/10.1177/097215091665669

Pharmaceutical Industry PESTEL. (2022). Edrawmax.

Pinto, Prakash and Hawaldar, Iqbal Thonse and Kemmunje, Guruprasad and Rohith, Babitha and Spulbar, Cristi Marcel and Birau, Felicia Ramona and Stanciu, Cristian, The Impact of Risk Anomalies on the Pharmaceutical Sector of the Indian Stock Market: A Comparative Analysis Between Pharmaceutical, FMCG and IT Companies ( 2019). Revista de Chimie, 2020, Available at SSRN: https://ssrn.com/abstract=3548885 Portfolio Management. (2022). Management Sudy guide.

Raychaudhuri, S. (2008). Introduction to monte carlo simulation. In 2008 Winter simulation conference, 91-100). IEEE. https://doi.org/10.1109/WSC.2008.4736059

Upson, R. B., Jessup, P. F., & Matsumoto, K. (1975). Portfolio diversification strategies. Financial Analysts Journal, 31(3), 86-88. https://doi.org/10.2469/faj.v31.n3.86

Ruoyong Yang, J. O. (1994). Estimation of a Covariance Matrix Using the Reference Prior. The Annals of Statistics, 22(3), 1195-1211. https://www.jstor.org/stable/2242222

Nanda, S. R., Mahanty, B., & Tiwari, M. K. (2010). Clustering Indian stock market data for portfolio management. Expert Systems with Applications, 37(12), 8793-8798. https://doi.org/10.1016/j.eswa.2010.06.026

Sharpe Ratio: Meaning, Advantages & Limitations. (2022). Nirmal Bang.

Sun, X., Li, B., & Pang, H. (2021). Portfolio construction for pharmaceutical industry. In E3S Web of Conference, 275. EDP Sciences. https://doi.org/10.1177/0972150916656696

Rachev, S., Ortobelli, S., Stoyanov, S., Fabozzi, F. J., & Biglova, A. (2008). Desirable properties of an ideal risk measure in portfolio theory. International Journal of Theoretical and Applied Finance, 11(01), 19-54. https://doi.org/10.1142/S0219024908004713 Team, C. (2023). Efficient frontier. Corporate Financial Institue.

Thakur, V. (2021). Framework for PESTEL dimensions of sustainable healthcare waste management: Learnings from COVID-19 outbreak. Journal of cleaner production, 287. https://doi.org/10.1016/j.jclepro.2020.125562

The efficient frontier and portfolio diversification. (2019). Money chimp. Vaidya, D. (2020). What is a Correlation matrix? Wallstreet Mojo.

Vlasenko, T. (2023). Dimensions of the Analysis of the Organizational Culture of Multinational Companies. Collection of Papers New Economy, 1(1), 110-125. https://doi.org/10.61432/CPNE0101110v

Vunjak, N., & Stojanović, P. (2022). Investment Management Strategy in Financial Markets. ECONOMICS -Innovative and Economics Research Journal, 6(2), 49-56. https://doi.org/10.2478/eoik-2018-0025

Walt Woerheide, D. P. (1992-1993). An Index of Portfolio Diversification. Financial Services Review, 2(2), 73-85. https://doi.org/10.1016/1057-0810(92)90003-U

Wang, L. & Hu, T. (2024). A Method for Creative Scheme Generation for Brand Design of Plush Toys Based on Extension Theory. International Journal of Knowledge and Innovation Studies, 2(1), 1-10. https://doi.org/10.56578/ijkis020101

Wang, W. S., Ding, J. Z., & Zhou, Y. C. (2024). Transmission Risk of Stock Price Fluctuations Among Industries in Complex Financial Networks. Journal of Accounting, Finance and Auditing Studies, 10(1), 37-50. https://doi.org/10.56578/jafas100105

Weaver, E., O’Hagan, C., & Lamprou, D. A. (2022). The sustainability of emerging technologies for use in pharmaceutical manufacturing. Expert Opinion on Drug Delivery, 19(7), 861-872. https://doi.org/10.1080/17425247.2022.2093857

What is an Ideal portfolio? (2005). Value Research. https://www.valueresearchonline.com/stories/8427/what-s-an-ideal-portfolio/

Wu, M. E., Syu, J. H., Lin, J. C. W., & Ho, J. M. (2021). Portfolio management system in equity market neutral using reinforcement learning. Applied Intelligence, 51(11), 8119-8131. https://link.springer.com/article/10.1007/s10489-021-02262-0

Downloads

Published

2024-08-01

How to Cite

R., M. ., Palanisamy, V. ., Thangavelu Senthilnathan, A. ., Gurumurthy, S. ., Joshua Selvakumar, J. ., & Pachiyappan, S. . (2024). A STOCHASTIC METHOD FOR OPTIMIZING PORTFOLIOS USING A COMBINED MONTE CARLO AND MARKOWITZ MODEL: APPROACH ON PYTHON. ECONOMICS - INNOVATIVE AND ECONOMICS RESEARCH JOURNAL, 12(2), 113–127. https://doi.org/10.2478/eoik-2024-0014