{"repo":"hoangsonww/Stock-Data-Analysis-R","free":true,"listed":false,"github":"https://github.com/hoangsonww/Stock-Data-Analysis-R","clone":"git clone https://github.com/hoangsonww/Stock-Data-Analysis-R.git","description":"🤑 A project for analyzing and visualizing stock performance using R, fetching data from Yahoo Finance for major tickers and generating 43 plots covering trends, volatility, returns, and normalized comparisons. Includes moving averages, rolling metrics, and summary statistics, all automated in a single script.","language":"R","stars":13,"topics":["data","data-analysis","data-analytics","data-science","data-visualization","docker","dockerfile","makefile","r","r-language"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Stock Market Data Analysis & Visualization A comprehensive R script that fetches daily adjusted closing prices for a selection of major tickers from Yahoo Finance and generates a suite of exploratory and analytical plots, including moving averages, returns, volatility, cumulative performance, and comparative normalized charts. Author: David Nguyen Table of Contents 1. Project Overview 2. Features & Plots 3. Prerequisites 4. Installation 5. Usage 6. Script Breakdown 7. Selected Visualizations 8. Interpreting the Outputs 9. Extending & Customizing 10. Data Source & Citations 11. License --- Project Overview This repository provides a single R script ( Stock Market Analysis.R ) which: - Automatically installs required packages ( quantmod , PerformanceAnalytics , zoo ) if missing - Downloads daily adjusted closing prices for tickers ( AAPL , MSFT , GOOG , AMZN , TSLA , NFLX , NVDA ) - Computes 20-day & 50-day simple moving averages, daily log returns, 20-day rolling volatility, and monthly returns - Renders 43 separate plots, each saved as plot- .png in the working directory - Performs a final comparative normalized performance chart (base = 100) --- Features & Plots 1. Price Chart with SMAs 2. Daily Log Returns Time Series 3. Histogram of Daily Returns 4. 20-Day Rolling Volatility 5. Cumulative Returns 6. Monthly Returns Boxplot 7. Comparative Normalized Performance Each ticker produces six individual plots, plus one comparative chart, for a total of 43 PNG files. --- Prerequisi","default_branch":null,"files":null,"tree":[],"storefront":"/r/hoangsonww","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hoangsonww/Stock-Data-Analysis-R/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}