Professional Documents
Culture Documents
Portfolio
Submitted by:
Anup Kumar
Mayank Salwan
Pooja Goyal
Sudeep Saxena
1
Contents
About Stock Market Risk.............................................................................................................
Objective of this assignment........................................................................................................
Data Descriptions and Data Processing......................................................................................
Exploratory Data Analysis............................................................................................................
Comparison of Sensex Price with Company Share Price................................................8
Comparison of Sensex Return with Company Share Return.........................................11
Exploring measures of risks in stock market..................................................................17
Approach for Shortlisting 5 Companies/Assets..........................................................18
Assessing Portfolio........................................................................................................24
Exploring Daily Return...................................................................................................25
Calculating VaR and CVaR for portfolio using ‘Single’ Method......................................29
VaR and CVaR for portfolio: ‘Component’ Method (Equal Weightage)..........................31
Portfolio Optimization.................................................................................................................
Recommendations.....................................................................................................................
2
Figure 15 Std Deviation of Big Tickets..................................................................................19
Figure 16 Beta Airtel................................................................................................................20
Figure 17 BETA Measures.......................................................................................................22
Figure 19 Coefficient of Variation................................................................................23
Figure 20 Airtel Price and Daily Return...............................................................................25
Figure 22 Sunpharma Daily Return Rate...............................................................................26
Figure 23 Reliance Daily Return............................................................................................27
Figure 24 Lockdown From Mar 23-2020...............................................................................28
Figure 26 VaR and CVaR at 95%............................................................................................29
Figure 27 Var and CVaR at 99%............................................................................................30
Figure 28 VaR and CVaR at 90%............................................................................................31
Figure 29 VaR and CVaR 'Component' with equal weightage...........................................33
Figure 30 VaR and CVaR at 95% 'Component' using 'Modified'.......................................34
Figure 31 Minimum Variance vs Weight................................................................................35
Figure 32 Fund Allocation With Minimum Variance...........................................................35
Figure 33 Maximum Sharpe Ratio..........................................................................................36
Figure 34 Portfolio with Max Return.....................................................................................36
Figure 35 Optimization Specs..................................................................................................37
Figure 36 Efficient Frontier: Risk vs Return.......................................................................38
Figure 37 Frontier wights Risk vs Return.............................................................................39
3
About Stock Market Risk
Stock market in a layman’s terms is a collection of markets and exchanges where
continuous activities of selling, buying and issuance of public-held shares are taking
place. Such financial activities are conducted through institutionalized formal
exchanges or over the counter (OTC)market places which operate under defined set of
regulations.
Across the globe there are several stock exchanges markets and New York Stock
Exchange, NASDAQ, Bombay Stock Exchange, London Stock Exchange, National
Stock Exchange are a few popular markets of the world.
Two terms used interchangeable are Equity market and stock market which often
create confusion in new investors.
According to the Basel committee (2013), the definition of market risk is the potential
losses from movements in market variables, e.g., market prices, interest rates and
exchange rates. In other words, it can be explained as the risk that the value of an
investment will decrease due to changes caused by market factors.
4
WHAT DO INVESTORS WANT FROM THE STOCK MARKET?
Any investor either new, experienced or proficient in this trade enter the market with one
objective.
5
Major factors are performance of the companies in terms of assets, liabilities, dividends’
payment trend, EBITA, weighted average price, total turnover of daily trading, spread of
high low and spread of open and close price.
Data of Close. Adjusted price has been captured for building the portfolio.
The adjusted closing price amends a stock's closing price to reflect that stock's value
after accounting for any corporate actions. It is often used when examining historical
returns or doing a detailed analysis of past performance. Change percentage was derived
Since stock prices are at different scales, visualizing several stock prices
together is a challenge. Hence analysing with return rate is an easier
approach using candle chart
7
LIC seems to be quite consistent but minimum and maximum price
difference has a wide range to decide from.
It is important to investigate the min and max values to avoid incorrect
assumption. They may be extreme values and can be removed as outliers.
Since we carry out non-parametric approach in stock portfolio to estimate
risk with historical data, the outliers may not impact.
Maruti has the highest mean 6606 with median close to mean. This
suggests that Maruti is a reliable stock if judged by data. However other
factors like existing downside of automobile segment may not allow short
term investors.
Between 2019 and 2020, Maruti touched as high as 8236.
Infosys with mean of 831 also performed at 1387 as a bench mark in IT
segment.
Airtel has been performing well but IQR is significantly high.
In terms of consistency HPCL appears to be best.
Maruti appearing to be most preferred stock when measured using candle chart and
moving average range of 20, 50 and 100, it reflects a downward trend with 100 days MA.
However, moving average with 20 days is most sensitive.
Moving Average of 20 is also showing a dip in price.
8
Looking at the trends and current performance so far, Maruti and Indigo
will be ruled out from portfolio.
9
Figure 5 Daily Return
10
Figure 7 Daily Return
11
It is critical to compare the standard deviation of one stock with the other.
12
Telecom, Aviation, Pharma and IT sectors in stocks selected are
independent but strongly correlated with market.
13
Figure 11 Correlation between Closing and Spread Price
14
Closing price of a stock is the price at which it traded at the time of closing.
However, there is an ‘after- hour’ and ‘before-hour’ concept which allows
investors to bid a price after closing hours. Many external and internal factors
affect the opening price of the stock the next trading day. For example, an
announcement of acquiring a company by Infosys may motivate investors to
buy more. As the demand increases during ‘after-trading-hours’, the opening
price is different from the closing price. This is the spread of ‘open-close’ price.
There is no significant correlation between Return and Spread of Close-Open
price.
15
comes to long term prediction. This simulation requires large data for higher
accuracy.
16
Interpreting the initial portfolio for shortlisting 5 assets.
Infosys has the minimum historical VAR with 0.024 followed by Sunpharma
with 0.029
Bharti, Indigo, LIC, ICICI and Maruti have historical VAR ranging between
0.034 and 0.047.
Historical VAR indicates true variation of maximum fund at risk on a given
day. This is because of low standard deviation.
All the assets have a higher VAR with Gaussian method.
17
II. Correlation of Asset Beta with Expected Market return
The beta (β) of an investment security (i.e. a stock) is a measurement of its
volatility of returns relative to the entire market. It is used as a measure of risk and
is an integral part of the Capital Asset Pricing Model (CAPM). A company with a
higher beta has greater risk and also greater expected returns.
The objective of using beta is to predict the change in price/return of asset with
change in one unit of market price.
18
Figure 17 BETA Measures
19
good sign. This has also suggested to allocate maximum fund if investor
wants to go with sharpe ratio.
.
IV. Coefficient of Variation
As an investor looks at maximum return with minimum risk, Coefficient of
Variation is a strong tool to optimize a portfolio. Standard Deviation/Mean of
return means lower the CV, better the opportunity to earn. The graph
below depicts the CV of all 10 assets with Infosys being the best option
followed by Reliance Even though Indigo has the top 5 ranking in this
measure, certain factors will not yield high confidence in investors.
20
Table 5 Ranking of 10 Blue Chip Stocks
Assessing Portfolio
Airtel, Infosys, Reliance, HDFC and Sunpharma is the new portfolio which will be built to
optimize the return with minimum risk. Sectors have been selected in line with the current
market situation with certain understanding of policies of government.
21
Exploring Daily Return
Airtel stock price shows a rising trend except for 2020 (COVID-19) impact but 2021
appears to be positive.
The daily return has maximum variation in 2020 followed by controlled risk in 2021.
Only 23.6% of variance of change in daily return of Airtel is explained by change in 1 unit
of market return. It has certain advantage if the market dips. Coefficient of 0.774 * market
return
Mar-23-2020 (COVID-19) which can be modified using Gaussian and Modified method.
Infosys has been consistent but one extreme negative return of -15% can be seen in 2019.
22
With slight increase in variance in 2020, Infosys appears to be a good bet. 30% of
23
Figure 21 Reliance Daily Return
Return rate of Reliance has been consistent before 2020 but high variation has been
observed towards the upper side of control line. 2020 also has huge variation but return
increased during COVID-19 and this was due to merger and acquisition of certain
companies by Reliance (Facebook was a major tie up). The minimum return Reliance has
yielded is approx. -13 on Mar 23-2020. Market has crashed on Mar-23-2020 due to
COVID-19 lockdown
24
HDFC has been no exception in 2020. Stability in 2019 has been appreciated by the
investors. 2021 is visibly inconsistent but within control.
A slope of 0.622 with a return of 1.2 with change in 1% in market is good bet for risk-
neutral investors.
https://www.business-standard.com/podcast/markets/market-wrap-march-23-
here-s-all-that-happened-in-the-markets-today-120032301143_1.html
25
Infosys lost its top position to Reliance with modified method and so did
Sunpharma.
Gaussian does not suggest a good option to get adopted for this data.
Reliance has the lowest risk when VaR breaches its 5% probability. CVaR
of Reliance and Bharti Airtel are lowest with Modification as a method.
This indicates appropriate weightage which can be allocated to the assets.
As shown in figure Table 5 Ranking of 10 Blue Chip Stocks Coefficient of
Variation of Reliance and Airtel are 2 and 3 respectively.
As alpha (risk) decreased from 5 to 1%, the VaR and CVaR significantly increased due to
lower rejection area. The confidence level increased with decrease in alpha value.
This is a very risky approach if the investor is not high-risk taker.
26
Figure 25 VaR and CVaR at 90%
On the contrary, the VaR reduced with an increase in Alpha value from 5% to 10%. This is
a good approach for risk-averse or new investors.
Airtel has the least CVaR with Historical non parametric method but
increased to 0.11 with modified method due to high volatility. Figure 19 Airtel
Price and Daily Return.
27
VaR of Airtel did not change significantly with Modified method and this is
due to historical data while modified CVaR takes skewness and kurtosis
into consideration.
28
Figure 27 VaR and CVaR at 95% 'Component' using 'Modified'
Portfolio Optimization
Optimization of a stock portfolio comprising of several assets is the final objective of an
investor. Every investor or a trader wants maximum return at minimum risk.
The stock market or share market being huge are flooded with thousands of software
using multiple techniques to attract prospective clients. However, the truth remains bitter ‘it
is extremely difficult to predict a stock market’
Risk vs Return is the what every financial institute describes in different words using
different techniques.
As every trade has it, Type 1 and Type 2 errors are statistical terms while trade-off
between risk and return is the skill of an analyst.
Higher return with higher risk and vice versa.
Steps:
I. Calculate portfolio returns for all the days you have captured and weights
II. Calculate portfolio risk by calculating covariance and weights
III. Calculate sharpe ratio keeping risk free at 0% rate. (portfolio return/ portfolio risk)
29
IV. Decide number of combinations of weightages
Portfolio return calculate =2.294, Portfolio Risk= 0.3745, Sharper Ratio= 6.12 6
** Sharpe ratio will change with every iteration due to creation of 5000 loops.
With 5000 different combinations of stock allocation weightages the figure
below suggests maximum allocation to Infosys followed by HDFC.
Figure 28 Minimum Variance vs Weight
30
Figure 29 Fund Allocation With Minimum Variance
We as financial analyst can suggest the first option in case he is willing to look at long
term. He can diversify with minimum risk and maximum return. Shown below in INR
31
Surprisingly assets with maximum sharpe ratio has minimum allocation of
shares.
Sunpharma Figure 28 Minimum Variance vs Weight has an allocation of
only 13.9% of shares while HDFC has 26.11%.
This also demands reshuffling of allocation for a trade off.
We can change the number of simulations to find the optimum level of
sharp ratio at minimum variance.
32
Figure 32 Optimization Specs
HDFC and Reliance have been given 100% weightage in 2 simulations to optimize
minimum risk.
33
As risk increase the return increases but from 1.3 as the risk decreases the
return also decreases. This area is called inefficient frontier beyond
investing is futile.
Certain decisions will change depending upon types of investors.
Sharpe Ratio, Risk and Return are curvilinear meaning their rate change at
certain stage and move in opposite direction.
The points of change of direction hold importance to decide the measures
for the investors.
Risk averse investors should go with sharpe ratio if he cannot take a risk
of high return with high risk.
Recommendations
As share market is subject to risk and predictive models have not exceeded
an average of 70% accuracy, recommendation to invest in stock market
cannot be a word of commitment or receiving estimated return cannot be a
contract or legal.
34
As per the data picked for 5 Blue-chip assets, we would recommend
1) Infosys and HDFC with close to 52% of INR 1 crore and rest 50% can
be divided amongst Reliance, Sunpharma and Airtel. We can
recommend 17% towards Airtel. This is recommended based on
minimum risk the investor can take.
2) As CVaR of Airtel and Sunpharma have been volatile, risk factor is
high. As a safe ground, investor can go with majority of stake with
Sunpharma and Infosys with Sharpe Ratio in mind. However, he can
further divide the investment into 30% each for safer journey.
3) As Risk vs return is maximum at 0.8 against a risk of 1.5,
recommendation is to trade-off the two until the investor is a strong risk
taker.
THANK YOU
35