Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 22

INTRO TO DATA AND PROGRAMMING BUAN-651-HB

Stock Analysis Report: Apple Inc. (AAPL)

Final Group Project By


Ms.Bahar Akin
Ms. Shweta Prasad
Ms.Reenasree Chowdhary
Mr. Aryan Darji
Mr.SaiKrishna
Mr. JoseKutti
ABOUT
Apple Inc. (AAPL) is an American multinational technology company headquartered in Cupertino,
California, that designs, develops, and sells consumer electronics, software, and online
services. THE TOPIC
Apple Inc. operates in the Technology sector, which is known for its innovative products, strong
growth potential, and global presence.
The company's best-known hardware products include the iPhone smartphone, the iPad tablet
computer, the Mac personal computer, the iPod portable media player, the Apple Watch
smartwatch, and the Apple TV digital media player. Apple also produces smartphones under its
other branding, including the iPhone SE and iPhone 12. The company has a 120-year history and is
considered one of the most valuable and profitable companies in the world.
Based on historical performance, Apple Inc. appears to be a high-quality growth stock with strong
potential for future returns.
the AAPL stock has the potential for significant growth due to its innovative products, strong
market presence, and consistent performance. Investors interested in growth stocks should
consider including AAPL in their portfolios.
Project Overview

This ppt provides an in-depth examination of the Apple company's stock price, performance, and financial
health. This ppt presents an analysis of historical stock data for Apple Inc. (AAPL). The goal is to gain insights into the
daily, weekly, monthly, and quarterly trends, identify potential patterns, and explore visualizations to aid in decision-
making.
Data Overview

The historical stock AAPL data was provided via yfinance library in
python environment. The data was already in time series data frame
structure, which makes it easier to analyze it according to intended
time interval.

•Stock Ticker: AAPL


•Analysis Period: January 1, 2022, to January 1, 2023
Stock Analysis Data – 2022-2023

1. We have taken stock data from year 2022-2023 and analyzed the data on daily, weekly,
monthly, and quarterly intervals using resample and aggregation.

2. Historical stock data for AAPL was downloaded from Yahoo Finance using the Yfinance library.

3. We have printed the descriptive statistics for each interval.

4. Analyzed the data using resample and aggregation.

5. Ploted the stock prices over Time


Stock Analysis Data – 2022-2023
Descriptive Statistics :

 Descriptive statistics is nothing but organizing and summarizing a set of Data.


 Descriptive statistics are performed to summarize the central tendency, dispersion and shape of a
dataset’s distribution. During this process missing values are excluded not to cause any confusion.
Descriptive Statistics – Daily Statistics:

 Daily Statistics: We have analysed Data on daily basis-


 The following code is utilized to analyze the data on daily base;
 daily_stats = stock_data['Close'].describe()
 The daily statistics results for Apple stock prices are shown below;
 Mean: $154.84
 Standard Deviation: $13.06
 Min: $126.04
 25th Percentile: $144.65
 Median: $154.09
 75th Percentile: $165.92
 Max: $182.01
Descriptive Statistics – Weekly, Monthly, and Quarterly
Statistics:

 # Weekly analysis

 weekly_stats = stock_data['Close'].resample('W-Fri').agg(['mean', 'std', 'min', 'max'])

 # Monthly analysis

 monthly_stats = stock_data['Close'].resample('M').agg(['mean', 'std', 'min', 'max'])

 # Quarterly analysis

 quarterly_stats = stock_data['Close'].resample('Q').agg(['mean', 'std', 'min', 'max'])


Interpretation of Statistics:
In this project, to be able to interpret on the dataset and make prediction, the mean values and standard
deviation information is utilized.
The mean values of closing prices for Apple stock given in the analyzes indicate the average daily value of
the stock.

The standard deviation is used to provide insights into the variability of the data. Standard deviation is also
known as historical volatility and is used by investors as a gauge for the amount of expected market
volatility. A large standard deviation usually indicates that the data points are far from the mean and a
small standard deviation indicates that they are clustered closely around the mean.
Trend Analysis:
1- Daily Statistics:
The mean daily closing price for Apple stock over the analyzed period is approximately $154.84.
2- Weekly Statistics:
Weekly average values fluctuate, showing a slight volatility between each following week. For instance, the week
ending on 2022-01-07 had a mean closing price of $176.16, while the week ending on 2022-01-14 had a similar
but slightly lower mean of $173.61. But overall stock price follows a decreasing trend as the weeks go through.
3- Monthly Statistics:
Monthly mean closing prices range from $137.88 (December 2022) to $169.86 (January 2022), reflecting
variations in average stock prices throughout the year. It can be seen that there is more fluctuation in average
values at monthly statistics when compared to weekly statistics. For instance, the month ending on 2022-04-30
had a mean closing price of $166.82, while the following month had very lower mean of 148.43.
4- Quarterly Statistics:
Quarterly means show a similar pattern, ranging from a high of $168.16 (Q1 2022) to a low of $142.91 (Q4 2022).
The fluctuation can be seen more easily on quarterly statistics.
Volatility Analysis:
 Standard Deviation:

The standard deviation values indicate volatility. For instance, The daily standard deviation is approximately $13.06. This number is approximately %10 of the mean value,
which is quite high and giving rise to day to day price fluctuations. But when we check the standard deviation on weekly statistics, the values range from $1 to $7. This
means that stock prices don’t show big variation around average on weekly base and they are close to related mean values.

 Extreme Values:

 Minimum and Maximum:

The minimum closing price is $126.04, and the maximum is $182.01. Investigating these extreme values may reveal events or news that influenced these significant price
movements.

 Seasonality:

 Monthly and Quarterly Trends:

There seems to be a pattern of higher mean prices in the earlier months, potentially indicating a seasonal effect

Comparative Analysis:

 Benchmarking:

Compare Apple's stock performance with a market index or other relevant stocks to understand how it fared relative to broader market trends.
Data Visualization:
Data visualization is the discipline of trying to understand data by placing it in a visual context so
that patterns, trends and correlations that might not otherwise be detected can be exposed.

1. 1- Line Chart for Daily Closing Prices:Provides a visual representation of daily closing prices
Visualization – Using Line Graph

1. Line Chart for Daily Closing Prices


Visualizations: CandleStick Chart
2- CandleStick Chart - A candlestick chart (also called Japanese candlestick
chart or K-line) is a style of financial chart used to describe price movements of
a security, derivative, or currency. While similar in appearance to a bar chart,
each candlestick represents four important pieces of information for that day.
While similar in appearance to a bar chart, each candlestick represents four
important pieces of information for that day: open and close in the thick body,
and high and low in the "candle wick".
Candlestick Chart

The CandleStick Chart for weekly closing prices


1.Potential Buy Days
The days when the closing price was below the 20-day moving average are identified as follows;
Potential Buy Days:
2. • 2022-02-11 168.639999
3. • 2022-02-17 168.880005
4. • 2022-02-18 167.300003
5. • 2022-02-22 164.320007
6. • 2022-02-23 160.070007
7. • ... ...
8. • 2022-12-23 131.860001
9. • 2022-12-27 130.029999
10. • 2022-12-28 126.040001
11. • 2022-12-29 129.610001
12. • 2022-12-30 129.929993
.

The red points in the following graph give idea about when to buy apple
stock .
1.Potential Sell Days
2. The days when the closing price was above the 20-day moving average are identified as follows;
3. Potential Sell Days:

4. • 2022-01-31 174.779999
5. • 2022-02-01 174.610001
6. • 2022-02-02 175.839996
7. • 2022-02-03 172.899994
8. • 2022-02-04 172.389999
9. • ... ...
10. • 2022-11-25 148.110001
11. • 2022-11-30 148.029999
12. • 2022-12-01 148.309998
13. • 2022-12-02 147.809998
14. • 2022-12-05 146.630005
The green points in the following graph give idea about when to sell apple stock
Conclusion
The analysis provides valuable insights into AAPL's historical performance. However, investing decisions
should consider various factors, including fundamental analysis, external news, and individual risk
tolerance.
In this project, Apple stock prices are analyzed and interpreted on daily, weekly, monthly and quarterly
basis. Trend analysis is performed to interpret the patterns in the dataset.
The most beneficial dates to sell or buy regarding Apple stock is also given to be utilized by people who
are interested.
The visualizations and statistical summaries in this report serve as a foundation for further research and
decision-making.
THANKYOU

You might also like