Skip to content
Open access

Portfolio Optimization of Selected Nifty Companies Using Modern Portfolio Theory

Aug 2026 · International Journal of Creative and Open Research in Engineering and Management · 0 citations

TL;DR

A portfolio optimization framework that combines machine learning-based stock price prediction with Modern Portfolio Theory (MPT) and provides a systematic decision-support approach for combining predictive analytics with portfolio optimization is developed.

Abstract

The stock market provides several investment opportunities, but selecting suitable securities and deciding their portfolio allocation requires careful consideration of expected return and risk. This study develops a portfolio optimization framework that combines machine learning-based stock price prediction with Modern Portfolio Theory (MPT). Historical daily data for 21 companies listed on the National Stock Exchange (NSE) were collected from Yahoo Finance for January 2020 to December 2025. The data were cleaned and prepared for exploratory analysis, return calculation and prediction. Linear Regression, Decision Tree, Random Forest and XGBoost were considered for stock-price prediction and evaluated using MAE, MSE, RMSE and R² Score. The project results identify Random Forest as the overall best-performing model. Predicted prices were then used with MPT to determine portfolio weights. The final recommendation selected M&M, SUNPHARMA, BHARTIARTL, NTPC and LT, with allocations of 22.37%, 21.21%, 21.01%, 18.29% and 17.12%, respectively. Portfolio performance was evaluated using annual return, annual volatility, Sharpe ratio, CAGR and maximum drawdown. The framework provides a systematic decision-support approach for combining predictive analytics with portfolio optimization. Keywords- Machine Learning, Modern Portfolio Theory, NSE, Portfolio Optimization, Stock Price Prediction.

Read PDF

Similar papers

Open access Aug 2026

Portfolio Analysis to Determine the Optimal Expected Return and Minimal Risk for Lq45 Companies Listed on the Indonesian Stock Exchange

Indonesia’s growing capital market provides investors with diverse opportunities; however, differences in stock returns and risks require systematic portfolio selection. This study aimed to identify LQ45 stocks that formed an optimal portfolio and determine their investment proportions during 2021–2025 using the Single...

Ratih Paramitasari · 0 citations
Open access Aug 2026

PORTFOLIO OPTIMIZATION USING MARKOWITZ MODEL

Portfolio optimization is a systematic investment approach for balancing expected return and investment risk through diversification. This research paper examines the application of the Markowitz Mean-Variance Model to selected Information Technology and Banking sector companies listed on the National Stock Exchange (N...

Nikhil Reddy Y, Nagaraj Chippolu · 0 citations
Conference Aug 2026

On the optimum number of stocks and diversification using Machine Learning techniques

The optimum number of stocks prior research specific to South Africa finds that equally-weighted portfolios require about 15-20 stocks for effective diversification, while market capitalization weighted portfolios may need 33-60 stocks due to the concentrated nature of the South African financial market. The optimal nu...

M. Seitshiro, Maxwel Senzo Nkosi · 0 citations
Open access Aug 2026

Stock Portfolio Optimization Based on Financial and Risk–Return Clustering and TOPSIS with MVEP–MAD Weighting

This research aims to construct an optimal stock portfolio from the Kompas100 index using stock performance indicators, fundamental indicators, K-Means, TOPSIS, and portfolio optimization. Of the 100 stocks, only 22 were suitable as candidates for portfolio formation. From these 22 stocks, 4 portfolio candidates were i...

Wirda Andani, Shantika Martha, E. Sulistianingsih et al. · 0 citations
Open access Sep 2026

Portfolio Optimization Using Modern Portfolio Theory in Investment Management

Portfolio optimization is a fundamental aspect of investment management that focuses on constructing a portfolio capable of delivering the highest possible return while minimizing investment risk. Modern Portfolio Theory (MPT), introduced by Harry Markowitz, provides a quantitative framework for selecting an optimal co...

K. Naveen, Amita Johar, T. Meghana · 0 citations
Open access Aug 2026

Optimal IDX30 Stock Portfolio Construction Using a Two-Constraint Mean-Variance Model with Robust S-Estimation

The capital market plays an important role in the economy by providing investment instruments for investors and financing sources for companies. A capital market portfolio consists of a collection of financial assets, such as stocks, constructed to achieve an optimal return while reducing investment risk. Mean-variance...

Anis Faiqo Tuzzainiyah, E. Sulistianingsih, Nurfitri Imro'ah · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.