Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM69730
Volume:
10 |
12 |
Dec 2026
Pages:
1-5
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Computer Science And Engineering
PES Institute of Technology and Management Shivamogga

Computer Science And Engineering
PES Institute of Technology and Management Shivamogga

Computer Science And Engineering
PES Institute of Technology and Management Shivamogga

Computer Science And Engineering
PES Institute of Technology and Management Shivamogga

Computer Science And Engineering
PES Institute of Technology and Management Shivamogga
Retail investors in India now hold portfolios of twenty or more stocks, and most of them have no working estimate of the risk they carry. Broker terminals show live prices but little analytics; spreadsheet models give analytics on stale data; and academic demonstrations stop at the efficient frontier without showing what the portfolio would have done after costs. This paper presents a Python system that closes that gap: it polls live quotes, caches and validates the price history, estimates a covariance matrix from log returns, constructs minimum-variance and maximum-Sharpe portfolios with SciPy, and reports risk as volatility, beta, historical value at risk, conditional value at risk and maximum drawdown. A Streamlit dashboard refreshes the holdings, the frontier and the risk panel every thirty seconds, and a backtest engine rebalances monthly with transaction costs. On a twelve-stock NSE universe over three years the maximum-Sharpe portfolio returned 24.6 per cent a year at 15.1 per cent volatility, a Sharpe ratio of 1.20 against 0.80 for the index, with a daily 95 per cent value at risk of 1.42 per cent. The paper also reports where the method fails: the optimiser concentrates, the covariance estimate is unstable on a three-year window, and a single live price is not a return.
KEYWORDS
A retail investor can hold a portfolio and be unable to say what risk it carries. The system described here answers that question on live data, in one process, with five risk measures reported together and an efficient frontier that shows where the chosen portfolio sits. On a twelve-stock universe the maximum-Sharpe portfolio achieved a Sharpe ratio of 1.20 against 0.80 for the index, and the minimum-variance portfolio cut the maximum drawdown to 11.2 per cent. The limits are stated rather than hidden: daily data only, a covariance estimated from a short window, a historical VaR that assumes stationarity, and a single-user design. Four extensions follow. Volatility should be modelled with an exponentially weighted or GARCH estimate, or a dynamic covariance estimator of the graphical-lasso type [1], [3], rather than a flat window, since the variance of a portfolio clusters in time. VaR and CVaR should be supplemented by a Monte Carlo or importance-sampling estimate from a fitted distribution [7], so that the tail is not limited to the worst three years in the sample. Black–Litterman priors would let a user express a view without abandoning the diversification the optimiser is meant to provide. And an intraday feed over a websocket, with a broker API for order placement, would turn a risk estimator into a decision tool without changing the architecture in Fig. 2. Reproducibility was treated as a requirement rather than a courtesy. The universe, the dates, the risk-free rate and the eighteen configurations tried during tuning are recorded in a single configuration file that the backtest reads, so a reader who reruns the system with the same file obtains the same table. Where a result depends on a random seed — the multi-start of the optimiser, the Monte Carlo study proposed above — the seed is written into the output. This is the practical form of the warning of Bailey et al.: a number is only evidence if the reader can see how many numbers were tried before it was chosen. Two things would be needed before a licensed adviser could use the system with a client. The first is a suitability layer, which maps the drawdown a client can actually tolerate onto a point on the frontier; the mathematics is trivial and the conversation is not, and a tool that reports an 18.6 per cent drawdown without asking whether the holder would stay invested through it has answered the wrong question. The second is an audit trail: every recommendation, the data snapshot it was computed from and the weights it produced, retained so that the advice can be reviewed after the fact. Both are extensions of the existing architecture rather than changes to it, which is the test of whether the layering in Fig. 2 was drawn at the right seams.
[1] X. Yuan, W. Yu, Z. Yin, and G. Wang, “Improved large dynamic covariance matrix estimation with graphical lasso and its application in portfolio selection,” IEEE Access, vol. 8, pp. 189179–189188, 2020. [2] B. Zhang, J. Zhou, and J. Li, “Improved shrinkage estimators of covariance matrices with Toeplitz-structured targets in small sample scenarios,” IEEE Access, vol. 7, pp. 116785–116798, 2019. [3] X. Yuan, W. Yu, Z. Yin, and G. Wang, “Improved large dynamic covariance matrix estimation with graphical lasso and its application in portfolio selection,” IEEE Access, vol. 8, pp. 189179–189188, 2020. [4] T. Bodnar, S. Dmytriv, Y. Okhrin, N. Parolya, and W. Schmid, “Statistical inference for the expected utility portfolio in high dimensions,” IEEE Trans. Signal Process., vol. 69, pp. 1–14, 2021. [5] B. Zhang, J. Zhou, and J. Li, “Improved shrinkage estimators of covariance matrices with Toeplitz-structured targets in small sample scenarios,” IEEE Access, vol. 7, pp. 116785–116798, 2019. [6] S. Gupte, Prashanth L. A., and S. P. Bhat, “Optimization of utility-based shortfall risk: A non-asymptotic viewpoint,” in Proc. 63rd IEEE Conf. Decision and Control (CDC), 2024, pp. 1075–1080. [7] A. Deo and K. Murthy, “Optimizing tail risks using an importance sampling based extrapolation for heavy-tailed objectives,” in Proc. 59th IEEE Conf. Decision and Control (CDC), 2020, pp. 1070–1077. [8] S. Deshmukh and A. Dubey, “Improved covariance matrix estimation with an application in portfolio optimization,” IEEE Signal Process. Lett., vol. 27, pp. 985–989, 2020. [9] B. Zhang, J. Zhou, and J. Li, “Improved shrinkage estimators of covariance matrices with Toeplitz-structured targets in small sample scenarios,” IEEE Access, vol. 7, pp. 116785–116798, 2019. [10] P. K. Aithal, M. Geetha, U. Dinesh, B. Savitha, and P. Menon, “Real-time portfolio management system utilizing machine learning techniques,” IEEE Access, vol. 11, pp. 32595–32608, 2023.
Publication Date
12/2/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
2
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...