Module 1   Introduction to Stock MarketsChapter 6

The Stock Markets

View chapters →

6.1 – Overview

Having understood the IPO process and what really goes behind the company’s transition from primary to secondary market we are now set to explore the stock markets a step further.

By virtue of being a public company, the company is now liable to disclose all information related to the company to the public. The shares of a public limited company are traded on the stock exchanges on a daily basis.

There are few reasons why market participants trade stocks. We will explore these reasons in this chapter.

Ch-6-title

6.2 – What really is the stock market

Like we discussed in chapter 2, the stock market is an electronic market place. Buyers and sellers meet and trade their point of view.

For example, consider the current situation of Infosys. At the time of writing this, Infosys is facing a succession issue, and most of its senior level management personnel are quitting the company for internal reasons. It seems like the leadership vacuum is weighing down the company’s reputation heavily. As a result, the stock price dropped to Rs.3,000 all the way from Rs.3,500. Whenever there are new reports regarding Infosys management change, the stock prices react to it.

Assume there are two traders – T1 and T2.

T1’s point of view on Infosys – The stock price is likely to go down further because the company will find it challenging to find a new CEO.

If T1 trades as per his point of view, he should be a seller of the Infosys stock.

T2, however views the same situation in a different light and therefore has a different point of view – According to him, the stock price of Infosys has over reacted to the succession issue and soon the company will find a great leader, after whose appointment the stock price will move upwards.

If T2 trades as per his point of view, he should be a buyer of the Infosys stock.

So at, Rs.3, 000 T1 will be a seller, and T2 will be a buyer in Infosys.

Now both T1 and T2 will place orders to sell and buy the stocks respectively through their respective stock brokers. The stock broker, obviously routes it to the stock exchange.

The stock exchange has to ensure that these two orders are matched, and the trade gets executed. This is the primary job of the stock market – to create a market place for the buyer and seller.

The stock market is a place where market participants can access any publicly listed company and trade from their point of view, as long as there are other participants who have an opposing point of view. After all, different opinions are what make a market.

6.3 – What moves the stock?

Let us continue with the Infosys example to understand how stocks really move. Imagine you are a market participant tracking Infosys.

It is 10:00 AM on 11th June 2014 ,and the price of Infosys is 3000. The management makes a statement to the press that they have managed to find a new CEO who is expected to steer the company to greater heights. They are confident on his capabilities and they are sure that the new CEO will deliver much more than what is expected out of him.

Two questions –

  1. How will the stock price of Infosys react to this news?
  2. If you were to place a trade on Infosys, what would it be? Would be a buy or a sell?

The answer to the first question is quite simple, the stock price will move up.

Infosys had a leadership issue, and the company has fixed it. When positive announcements are made market participants tend to buy the stock at any given price and this cascades into a stock price rally.

Let me illustrate this further :

Sl No Time Last Traded Price What price the seller wants What does the buyer do? New Last Trade Price
01 10:00 3000 3002 He buys 3002
02 10:01 3002 3006 He buys 3006
03 10:03 3006 3011 He buys 3011
04 10:05 3011 3016 He buys 3016

Notice, whatever prices the seller wants the buyer is willing to pay for it. This buyer-seller reaction tends to push the share price higher.

So as you can see, the stock price jumped 16 Rupees in a matter of 5 minutes. Though this is a fictional situation, it is a very realistic, and typical behavior of stocks. The stocks price tends to go up when the news is good or expected to be good.

In this particular case, the stock moves up because of two reasons. One, the leadership issue has been fixed, and two, there is also an expectation that the new CEO will steer the company to greater heights.

The answer to the second question is now quite simple; you buy Infosys stocks      considering the fact that there is good news surrounding the stock.

Now, moving forward in the same day, at 12:30 PM ‘The National Association of Software & Services company’, popularly abbreviated as NASSCOM makes a statement. For those who are not aware, NASSCOM is a trade association of Indian IT companies. NASSCOM is considered to be a very powerful organization and whatever they say has an impact on the IT industry.

The NASSCOM makes a statement stating that the customer’s IT budget seems to have come down by 15%, and this could have an impact on the industry going forward.

By 12:30 PM let us assume Infosys is trading at 3030. Few questions for you..

  1. How does this new information impact Infosys?
  2. If you were to initiate a new trade with this information what would it be?
  3. What would happen to the other IT stocks in the market?

The answers to the above questions are quite simple. Before we start answering these questions, let us analyze NASSCOM’s statement in a bit more detail.

NASSCOM says that the customer’s IT budget is likely to shrink by 15%. This means the revenues and the profits of IT companies are most likely to go down soon. This is not great news for the IT industry.

Let us now try and answer the above questions..

  1. Infosys being a leading IT major in the country will react to this news. The reaction could be mixed one because earlier during the day there was good news specific to Infosys. However a 15% decline in revenue is a serious matter and hence Infosys stocks are likely to trade lower
  2. At 3030, if one were to initiate a new trade based on the new information, it would be a sell on Infosys
  3. The information released by NASSCOM is applicable to the entire IT stocks and not just Infosys. Hence all IT companies are likely to witness a selling pressure.

So as you notice, market participants react to news and events and their reaction translates to price movements! This is what makes the stocks move.

At this stage you may have a very practical and valid question brewing in your mind. You may be thinking what if there is no news today about a particular company? Will the stock price stay flat and not move at all?

Well, the answer is both yes and no, and it really depends on the company in focus.

For example let us assume there is absolutely no news concerning two different companies..

  1. Reliance Industries Limited
  2. Shree Lakshmi Sugar Mills

As we all know, Reliance is one the largest companies in the country and regardless of whether there is news or not, market participants would like to buy or sell the company’s shares and therefore the price moves constantly.

The second company is a relatively unknown and therefore may not attract market participant’s attention as there is no news or event surrounding this company. Under such circumstances, the stock price may not move or even if it does it may be very marginal.

To summarize, the price moves because of expectation of news and events. The news or events can be directly related to the company, industry or the economy as a whole. For instance the appointment of Narendra Modi as the Indian Prime Minister was perceived as positive news and therefore the whole stock market moved.

In some cases there would be no news but still the price could move due to the demand and supply situation.

6.4 – How does the stock get traded?

You have decided to buy 200 shares of Infosys at 3030, and hold on to it for 1 year. How does it actually work? What is the exact process to buy it? What happens after you buy it?

Luckily there are systems in place which are fairly well integrated.

With your decision to buy Infosys, you need to login to your trading account (provided by your stock broker) and place an order to buy Infosys. Once you place an order, an order ticket gets generated containing the following details:

  1. Details of your trading account through which you intend to buy Infosys shares – therefore your identity is revealed.
  2. The price at which you intend to buy Infosys
  3. The number of shares you intend to buy

Before your broker transmits this order to the exchange he needs to ensure you have sufficient money to buy these shares. If yes, then this order ticket hits the stock exchange. Once the order hits the market the stock exchange (through their order matching algorithm) tries to find a seller who is willing to sell you 200 shares of Infosys at 3030.

Now the seller could be 1 person willing to sell the entire 200 shares at 3030 or it could be 10 people selling 20 shares each or it could be 2 people selling 1 and 199 shares respectively. The permutation and combination does not really matter. From your perspective, all you need is 200 shares of Infosys at 3030 and you have placed an order for the same. The stock exchange ensures the shares are available to you as long as there are sellers in the market.

Once the trade is executed, the shares will be electronically credited to your DEMAT account. Likewise the shares will be electronically debited from the sellers DEMAT account.

6.5 – What happens after you own a stock?

After you buy the shares, the shares will now reside in your DEMAT account. You are now a part owner of the company, to the extent of your share holding. To give you a perspective, if you own 200 shares of Infosys then you own 0.000035% of Infosys.

By virtue of owning the shares you are entitled to few corporate benefits like dividends, stock split, bonus, rights issue, voting rights etc. We will explore all these shareholder privileges at a later stage.

6.6 – A note on holding period

Holding period is defined as the period during which you intend to hold the stock. You may be surprised to know that the holding period could be as short as few minutes to as long as ‘forever’. When the legendary investor Warren Buffet was asked what his favorite holding period was, he in fact replied ‘forever’.

In the earlier example quoted in this chapter, we illustrated how Infosys stocks moved from 3000 to 3016 in a matter of 5 minutes. Well, this is not a bad return after all for a 5 Minute holding period! If you are satisfied with it you can very well close the trade and move on to find another opportunity. Just to remind you, this is very much possible in real markets. When things are hot, such moves are quite common.

6.7 – How to calculate returns?

Now, everything in markets boils down to one thing. Generating a reasonable rate of return!

If your trade generates a good return all your past stock market sins are forgiven. This is what really matters.

Returns are usually expressed in terms of annual yield. There are different kinds of returns that you need to be aware of. The following will give you a sense of what they are and how to calculate the same…

Absolute Return – This is return that your trade or investment has generated in absolute terms. It helps you answer this question – I bought Infosys at 3030 and sold it 3550. How much percentage return did I generate?

The formula to calculate the same is [Ending Period Value / Starting Period Value – 1]*100

i.e [3550/3030 -1] *100

= 0.1716 * 100

= 17.16%

A 17.6% is not a bad return at all!

Compounded Annual Growth Rate (CAGR) – An absolute return can be misleading if you want to compare two investments. CAGR helps you answer this question – I bought Infosys at 3030 and held the stock for 2 years and sold it 3550. At what rate did my investment grow over the last two years?

CAGR factors in the time component which we had ignored when we computed the absolute return.

The formula to calculate CAGR is ..

CAGR

Applying this to answer the question..

{[3550/3030]^(1/2) – 1} = 8.2%

This means the investment grew at a rate of 8.2% for 2 years. Considering the fact that Indian fixed deposit market offers a return of close to 8.5% return with capital protection an 8.2% return suddenly looks a bit unattractive.

So, always use CAGR when you want to check returns over multiple years. Use absolute return when your time frame is for a year or lesser.

What if you have bought Infosys at 3030 and sold it at 3550 within 6 months? In that case you have generated 17.16% in 6 months which translates to 34.32% (17.16% * 2) for the year.

So the point is, if you have to compare returns, its best done when the return is expressed on an annualized basis.

6.8 – Where do you fit in?

Each market participant has his or her own unique style to participate in the market. Their style evolves as and when they progress and witness market cycles. Their style is also defined by the kind of risk they are willing to take in the market. Irrespective of what they do, they can be categorized as either a trader or an investor.

A trader is a person who spots an opportunity and initiates the trade with an expectation of profitably exiting the trade at the earliest given opportunity. A trader usually has a short term view on markets.  A trader is alert and on his toes during market hours constantly evaluating opportunities based on risk and reward. He is unbiased toward going long or going short. We will discuss what going long or short means at a later stage.

There are different types of traders :

  1. Day Trader – A day trader initiates and closes the position during the day. He does not carry forward his positions. He is risk averse and does not like taking overnight risk. For example – He would buy 100 shares of TCS at 2212 at 9:15AM and sell it at 2220 at 3:20 PM making a profit of Rs.800/- in this trade. A day trader usually trades 5 to 6 stocks per day.
  2. Scalper – A type of a day trader. He usually trades very large quantities of shares and holds the stock for very less time with an intention to make a small but quick profit. For example – He would buy 10,000 shares of TCS as 2212 at 9:15 and sell it 2212.1 at 9.16. He ends up making 1000/- profit in this trade. In a typical day, he would have placed many such trades. As you may have noticed a scalp trader is highly risk averse.
  3. Swing Trader – A swing trader holds on to his trade for slightly longer time duration, the duration can run into anywhere between few days to weeks. He is typically more open to taking risks. For example – He would buy 100 shares of TCS at 2212 on 12th June 2014 and sell it 2214 on 19th June 2014.

Some of the really successful traders the world has seen are – George Soros, Ed Seykota, Paul Tudor, Micheal Steinhardt, Van K Tharp, Stanley Druckenmiller etc

An investor is a person who buys a stock expecting a significant appreciation in the stock. He is willing to wait for his investment to evolve. The typical holding period of investors usually runs into a few years. There are two popular types of investors..

  1. Growth Investors – The objective here is to identify companies which are expected to grow significantly because of emerging industry and macro trends. A classic example in the Indian context would be buying Hindustan Unilever, Infosys, Gillette India back in 1990s. These companies witnessed huge growth because of the change in the industry landscape thereby creating massive wealth for its shareholders.
  2. Value Investors – The objective here is to identify good companies irrespective of whether they are in growth phase or mature phase but beaten down significantly due to the short term market sentiment thereby making a great value buy. An example of this in recent times is L&T. Due to short term negative sentiment; L&T was beaten down significantly around August/September of 2013. The stock price collapsed to 690 all the way from 1200. At 690 (given its fundamentals around Aug 2013), a company like L&T is perceived as cheap, and therefore a great value pick. Eventually it did pay off, as the stock price scaled back to 1440 around May 2014.

Some of the really famous investors the world has seen – Charlie Munger, Peter Lynch, Benjamin Graham, Thomas Rowe, Warren Buffett, John C Bogle, John Templeton, etc.

So what kind of market participant would you like to be?


Key takeaways from this chapter

  1. A stock market is a place where a trader or an investor can transact (buy, sell) in shares
  2. A stock market is a place where the buyer and seller meet electronically
  3. Different opinions makes a market
  4. The stock exchange electronically facilitate the meeting of buyers, and sellers
  5. News and events moves the stock prices on a daily basis
  6. Demand supply mismatch also makes the stock prices move
  7. When you own a stock you get corporate privileges like bonus, dividends, rights etc
  8. Holding period is defined as the period during which you hold your shares
  9. Use absolute returns when the holding period is 1 year or less. Use CAGR to identify the growth rate over multiple years
  10. Traders, and investors differ on two counts – risk taking ability and the holding period.

464 comments

View all comments →
  1. asif says:

    under 6.7 The formula to calculate CAGR is mentioned 3550/3030]^(1/2) – 1} = 8.2%, im unable to understand how we get this 8.2??

    • Karthik Rangappa says:

      It is a straight forward calculation.

      Ending Value is 3550
      Beginning Value is 3030
      No of years = 2

      Formula is [Ending Value/Beginning Value] raised to the power of (1/Number of years) minus 1. Which is nothing but –
      [3550/3030]^(1/2) – 1
      =0.082 or when expressed in percentage terms is 8.2%

      • vko says:

        Or use the “rate” function in Excel instead of manually calculating with the CAGR formula on paper. In this example, the rate function would be =rate(2,,-3030,3550). If will give the same answer as the formula above.

        • Karthik Rangappa says:

          Yup, I’ve never used Rate function…so was not sure about it.

        • Nagesh Cavatur says:

          The correct function in excel, for calculating CAGR is the XIRR function.
          Syntax

          XIRR(values, dates, [guess])

          The XIRR function syntax has the following arguments:

          ## Values Required. A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.

          ## Dates Required. A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. .

          ## Guess Optional. A number that you guess is close to the result of XIRR.

      • Dinakar says:

        Hi Karthik, can I have list that shows historical market time changes and ipo listing timings.

        • Karthik Rangappa says:

          IPO timing is roughly around the market open. Back in the days, markets would open at 9:55 AM, then for a brief time it was at 9:30 AM, and finally moved to the current 9:15 AM slot. There have been no changes apart from this (at least for the last 12-13 years).

          • Kartik Bansal says:

            Hi
            I am also at learning stage. What is this pre-opening time? How it works? Who buys and sells because we try to sell and buy order is rejected. Need to understand the concept for first 15 minutes.

          • Karthik Rangappa says:

            Pre-opening is b/w 9:00 AM to 9:15 PM, a period of 15 minutes before the markets open. Traders can place their trades to buy and sell during this period. The collective bids and asks so collected in this way determine the opening price of the stock/index.

      • Karan Pradhan says:

        Simply Multiply the result by 100 & you will get to see the expected answer.

    • Sneh Gupta says:

      Another way to look at this is let say you got x% returns each year. 3550 3030
      So, your amount after two year should be 3030 * (1 +x/100)^2 which is 3550..
      (1 + x/100)^2 = 3550/3030
      x = 100 * ((3550/3030)^(1/2) -1)
      x = 8.214%
      CAGR is simply x.

  2. N says:

    Thanks. Great initiative by Zerodha.

  3. kashish shambhwani says:

    the formula for CAGR is quite complex.
    i would recommend others to use the SAME formula in a simplified manner
    FV=Pv*(1+r)to the power n (power of n is on 1+r)

    Fv=future value
    pv=present value
    r=cagr
    n=time period/no of years
    in context to the example given above
    FV=3550
    PV=3030
    n=2
    cagr=missing.

    hope it helps

    • Karthik Rangappa says:

      The formula you have suggested helps in calculating the Future Value. However in order to calculate the CAGR, which the growth rate at which the investment is growing one has to apply the formula suggested in the tutorial.

      Btw the formulas are essentially the same, it is just a matter of rearrangement 🙂

  4. Anishcharith says:

    In the above example of Infosys , and bad news from NASSCOM if all the people having its shares want to sell it and there are no buyers what happens?

    • Karthik Rangappa says:

      Remember different opinions is what makes a market. Hence this will not happen (at least in liquid stocks).There will always be buyers and sellers in liquid stocks.

      • Prasanjeet Gupta says:

        What happens in circuit?

        • Karthik Rangappa says:

          Circuit is when the stock hits either the maximum or minimum price threshold for the day. This is when traders refer to it as “stock has hit the circuit”. You make be interested to note, that F&O stocks do not have a circuit limit.

  5. Chandan says:

    If the news is good all around the market, no bad news and people will be buying Infosys stock (for eg.) than why would some sell the stock. Hard to understand, pls explain

    • Karthik Rangappa says:

      Remember, news per se is relative. What I perceive as good news maybe be perceived as bad news by you.At every price point a market participant will have an opinion. So no matter what happens there will be opinions formed and as long as opinions are formed, markets function. For example when Modi was elected PM, everyone knew it was good news, but why were people reluctant to buy? Like wise in individual stocks.

      • Chandan says:

        I agree with you that there is a difference in everyone’s perception but just wanted to understand that if there is a new that Infosys gets a big order than obviously people will buy that share and only from those who are selling it. So was just asking what can be the reason for some negativity about that share (other than people who want money n are selling it coz buyers are paying)

        • Karthik Rangappa says:

          In fact that is the only reason. When good news hits the market people want to buy. When they are eager to buy they are willing to pay any price, hence the stock price keeps going up (think about it). So the sellers see this as an opportunity to get attractive prices for the shares that they already own. The point I’m trying to make is – for any news there will be both buyers and sellers on the news. This is how markets function, and will continue to function.

        • Ashutosh Pohary says:

          Hi Chandan. I’ll try and explain to you the difference in perception of a stock with the help of an example which I find very interesting and relevant for this thread. Long back when Mark Cuban was a budding entrepreneur he created Broadcast.com. Broadcast.com used to broadcast audio commentary of events such as American football, basketball, fashion shows, etc. over the internet which could be heard by anyone with an internet connection across the globe. Think about listening to the commentary of cricket world cup finals between India and West Indies in 1983 over the internet. It was something big at the time and caught the eye of many tech giants. Cuban made a strong selling pitch to one such giant, Yahoo. Yahoo bought Broadcast for staggering $5.6 billion. Now as an investor or a trader of stocks of Yahoo this move would be a leap towards big things (read: Positive news) and traders would buy more of Yahoo stocks. While a tech analyst would have suggested otherwise (read: Negative news). The reason being Yahoo didn’t have the capability to integrate Broadcast with their own system and that could be a struggle for Yahoo. And that’s exactly what showed in the later term of business at Yahoo. Yahoo failed terribly with their billion dollar acquisition. Broadcast, as unique as it was, did not find a match with Yahoo. This was just the start of Yahoo going down. Because Yahoo was so focused on integrating and developing Broadcast they took their eyes off their core business, Search. This gave an opportunity to an underdog to rise in the Search market. You know who I’m referring to? I am sure you’d have guessed. Google. I don’t know if Google traded publically at the time when this happened. But if I was a trader that time, after knowing that the Yahoo’s no longer focusing on Search, the first thing I would have done would buy some Google stocks because Google was trying to make it big in the Search market. And with one competitor out of the race things looked bright for Google. All about perception.

        • RD2640 says:

          I understand what you want to ask. The thing is as given in tutorial also, there are different type of participant – trader and investor. Lets concentrate on trader, now we have three type of trader – day trader, scalper and swing trader. In a highly liquid stock, you will find scalper also there. Now what he will do, he will buy sell, sell buy, buy sell, sell buy. Irrespective of fundamental news, he will see momentary technical and transact. Hence he is looking after only 10-20 paise. Now other say investor or swing trader/ day trader will find scalper there to transact with him.

View all comments →
Post a comment