The purpose of this exercise is to learn how to calculate stock returns for portfolio models using
Question:
The purpose of this exercise is to learn how to calculate stock returns for portfolio models using actual stock price data. First, it is necessary to obtain stock price data. One source (of many) is Yahoo! Go to the link finance.yahoo.com and type in a ticker symbol such as AAPL (for Apple Computer). Then, on the left-hand side of the page, select Historical Data.
These data are easily downloaded to a spreadsheet by clicking on the link “Download to Spreadsheet†at the bottom of the page. For Apple Computer (AAPL), Advanced Micro Devices (AMD), and Oracle Corporation (ORCL), download the monthly price data for January 1997 through January 2006. These data contain closing prices that are adjusted for stock dividends and splits.
You now have stock prices for 10 years, and the objective is to calculate the annual returns for each stock for the years 1997 through 2005. Returns are often calculated using continuous compounding. If the stock prices are adjusted for splits and stock dividends, then the price of stock i in period t + 1, Pi,t +1, is given by
pi,t+1 = pt erit
Where pi, t is the price of stock i in period t and rit is the return on stock i in period t. This calculation assumes no cash dividends were paid, which is true of Apple Computer, Advanced Micro Devices, and Oracle Corporation. Solving the equation pi,t+1 = pt erit for the return on stock i in period t gives
rit = ln (pi,t+1/pt)
For example, the Apple Computer adjusted closing price in January 2005 was 38.45. The closing price in January 2006 was 75.51. Thus, the continuously compounded return for Apple Computer from January 2005 to January 2006 is
ln(75.51/38.45) = 0.6749064
We use this calculation as our estimate of the annual return for Apple Computer for the year 2005.
Take the closing stock prices that you have downloaded and calculate the annual returns for 1997 through 2005 for AAPL, AMD, and ORCL using rit = ln (pi,t+1/pt). If you calculate the returns properly, your results should appear as in Figure.
FIGURE
YEARLY RETURNS FOR AAPL, AMD, ANDORCL
CorporationA Corporation is a legal form of business that is separate from its owner. In other words, a corporation is a business or organization formed by a group of people, and its right and liabilities separate from those of the individuals involved. It may... Portfolio
A portfolio is a grouping of financial assets such as stocks, bonds, commodities, currencies and cash equivalents, as well as their fund counterparts, including mutual, exchange-traded and closed funds. A portfolio can also consist of non-publicly...
Step by Step Answer:
Quantitative Methods For Business
ISBN: 148
11th Edition
Authors: David Anderson, Dennis Sweeney, Thomas Williams, Jeffrey Cam