Skip to content

smdlabtech/CY-Stock-Market-Index-Time-Series-Shiny

Repository files navigation

๐Ÿ“ˆ Analysis of Amazon and Facebook Stock Indices

Python R Shiny Finance Machine Learning

๐Ÿ“Œ Project Overview

This project consists of analyzing two daily financial time series of stock returns from Amazon and Meta (Facebook).

The main objectives of this analysis are:
โœ… Understanding the economic dynamics driving these two market leaders.
โœ… Identifying potential correlations between Amazon and Meta.
โœ… Predicting stock trends based on historical data (from 01/06/2012 to 01/12/2021).

๐Ÿฆ Economic Context

These companies belong to GAFAM (Google, Apple, Facebook, Amazon, Microsoft), the dominant tech firms shaping global markets. Understanding their stock performance is essential for:

  • Evaluating market positioning.
  • Assessing long-term investment strategies.
  • Identifying economic or financial trends linking these two giants.

๐Ÿ“Š Methodology

1๏ธโƒฃ Data Collection & Cleaning

  • Stock data retrieved from Yahoo Finance.
  • Data preprocessed using Pandas (Python) and Tidyverse (R).

2๏ธโƒฃ Descriptive Statistics & Visualization

  • Analyzing stock trends using R Shiny Dashboards.
  • Plotting historical price movements and volatility.

3๏ธโƒฃ Predictive Modeling

  • ARIMA models for time series forecasting.
  • Machine Learning regression models (Random Forest, LSTM).

4๏ธโƒฃ Correlation & Market Trends

  • Identifying cross-influences between Amazon and Meta.
  • Evaluating market conditions impacting their stock prices.

๐Ÿ“ˆ Results & Predictions

๐Ÿ”น Amazon & Meta stock price correlations over time
๐Ÿ”น Forecasts for stock trends (next 12 months)
๐Ÿ”น Economic insights on how tech giants move together in financial markets

๐Ÿ“Œ Technologies Used

  • ๐Ÿ Python: Pandas, NumPy, Scikit-learn, Matplotlib.
  • ๐Ÿ“Š R & Shiny: Data visualization, dashboards.
  • ๐Ÿ“ˆ Yahoo Finance API: Stock market data.
  • ๐Ÿ“ก Machine Learning: ARIMA, LSTM, Random Forest.

๐Ÿš€ Future Improvements

โœ… Incorporating macroeconomic indicators (inflation, interest rates).
โœ… Extending the dataset to include Google, Apple, and Microsoft.
โœ… Developing a real-time stock analysis dashboard using R Shiny.

๐Ÿ“Œ References

๐Ÿ“œ Stock Data Source: Yahoo Finance
๐Ÿ“š Time Series Forecasting: ARIMA Guide
๐Ÿ“˜ Machine Learning in Finance: Scikit-Learn

๐Ÿ“ข For questions or collaboration, contact : @smdlabtech

By smdlabtech : Stock Market Analysis

Releases

No releases published

Packages

No packages published

Languages