Portfolio risk checker
Type your NSE holdings and the shares of each, or paste them. The page values them at the latest close and shows how far the whole book usually swings in a year, how much it loses on a bad day 1 in 20, how spread out it is from A to D, and each stock's share of the swing.
Holdings · shares of each
A made-up book to start from. Change the shares, remove a stock or add your own.
Reading daily closes from Upstox…
How it's worked out
Your browser reads each stock's daily closes from Upstox's public price service, already adjusted for splits and bonuses, and values each holding at its latest close; a holding's weight is its share of that value. Your holdings stay on this device: the only request names a stock's ISIN, and the shares you hold are never sent.
Every figure is worked out on the sessions all your stocks share, so one listed last year shortens the window for the whole book; with fewer than 60 shared sessions the page says so instead of guessing. The period starts at two years, as on Profytect's Risk page.
From the daily returns the page builds the covariance of the stocks, how much each swings and how much each pair moves together, with Ledoit-Wolf shrinkage, which pulls the noisy parts of the estimate toward a steadier average. Two years of prices are a short sample for ten stocks, and the shrunk estimate behaves better on the years that follow.
The yearly swing is the book's daily standard deviation, with today's weights, times the square root of 252 trading days. A bad day 1 in 20 is historical: the book's daily returns at today's weights, sorted, cut where the worst 5% begin, and shown in rupees on today's value.
How spread out compares the stocks' own swings, weighted by money, with the book's swing. A ratio of 1 means holding them together calms nothing; the grade is A from 1.8, B from 1.3, C from 1.1, D below. Each stock's share of the swing is its weight times how it moves with the whole book, over the book's own variance, so the shares add up to 100%. Pairs with a correlation of 0.7 or more are listed as moving together.
Worked example: half the money in each of two made-up stocks
| Stock A's own yearly swing | 20.0% |
| Stock B's own yearly swing | 30.0% |
| Their correlation | 0.30 |
| Money in each | 50% and 50% |
| Their own swings, weighted by money | 25.0% |
| The book's yearly swing | 20.4% |
| How spread out (25.0 ÷ 20.4) | 1.23, grade C |
| Stock A's share of the swing | 34.9% |
| Stock B's share of the swing | 65.1% |
Reading the swing and the bad day
A yearly swing of 15% on ₹10 lakh says that in about two years out of three, the year ends within ₹1.5 lakh of where it started, up or down; in the other year it ends further out. It describes the size of the moves, not their direction, and it assumes the stocks keep moving the way they did over the period.
A bad day 1 in 20 is a loss the book has reached or passed on about 13 sessions a year. It is not the worst day: on the days past it the book lost more, and in a sharp fall the whole market can lose several times as much in a day.
Why a book of ten stocks can still swing like one
Holding more stocks spreads the swing only as far as the stocks move apart. Ten banks and finance companies rise and fall on the same news, so together they swing nearly as much as one of them, and the ratio stays near 1, grade D. Ten stocks from businesses that move for different reasons can swing far less than any one of them, and the ratio climbs toward A.
The worked example shows the share of the swing parting from the share of the money. Half the money is in each stock, but B swings harder, so it carries about two thirds of the book's swing. The same happens in a real book: a small holding that swings hard, or that moves with everything else, can carry far more of the swing than its weight. The stock correlation checker shows those pairs one by one.
What the figures leave out
Only NSE-listed stocks and ETFs, valued at their latest close; cash, mutual fund units, bonds and gold held elsewhere aren't in the book, so its swing here is the swing of the listed part alone. The figures also assume today's holdings were held through the whole period: they describe the book as it is now, not how your own returns went.
See this for your own holdings, every night
Profytect's Risk page shows this for your own holdings every night, and Check a trade shows what a buy does to it before you buy.
Try Profytect freeQuestions
No. The holdings you type stay in this browser tab and go nowhere; the page asks Upstox's public price service for each stock's daily closes by its ISIN alone, never with the shares you hold. Closing the tab forgets them.
It depends on the period, on daily or weekly returns, on whether prices are adjusted for splits and bonuses, and on the estimator. This page uses daily returns on adjusted closes, Ledoit-Wolf covariance and today's weights, the way Profytect's Risk page measures your own book.
No. The grade says only how much holding the stocks together calms the book compared with holding each alone. It says nothing about returns, and a book of a few stocks that move alike is graded D whatever they earn.
ETFs listed on the NSE are in the search like any stock. Mutual fund units bought from a fund house have no NSE price, so they can't be added.
Upstox didn't answer, or has no daily prices for it, usually a stock listed in the last few days or one that has stopped trading. The figures are then worked out on the other holdings, and the page names the one left out.
Related tools
- Stock correlation checker · How closely 2 to 10 NSE stocks move together, pair by pair.
- Zerodha tradebook analyser · Drop your Console tradebook: win rate, P&L after charges and XIRR.
- Risk-reward calculator · Reward to risk from your entry, stop and target, and the win rate it needs.
Checked 26 Nov 2026. Estimates from the figures you enter and the rates shown. Your broker's contract note is final. Not investment or tax advice.