Skip to content

MohnishKJ/StockSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

StockSense: Apple Inc. (AAPL) πŸ“ˆ

Shiny app that predicts Apple (AAPL) stock prices using historical data from Yahoo Finance.

πŸš€ What it does

  • Fetches live historical stock data with one click
  • Calculates 50-day and 200-day simple moving averages
  • Forecasts adjusted closing prices for the next 10 days
  • Visualizes price trends and forecasts on interactive charts

βš™οΈ How it works

  • Pulls historical AAPL data from Yahoo Finance using quantmod
  • Computes moving averages with TTR
  • Builds a time series forecast model using the forecast package
  • Renders plots and forecasts through a Shiny dashboard

πŸ› οΈ Tech Stack

  • R
  • Shiny
  • quantmod
  • TTR
  • ggplot2
  • forecast

πŸ“¦ Setup

Install required packages:

if (!requireNamespace("shiny", quietly = TRUE)) install.packages("shiny")
if (!requireNamespace("quantmod", quietly = TRUE)) install.packages("quantmod")
if (!requireNamespace("TTR", quietly = TRUE)) install.packages("TTR")
if (!requireNamespace("ggplot2", quietly = TRUE)) install.packages("ggplot2")
if (!requireNamespace("forecast", quietly = TRUE)) install.packages("forecast")

πŸ’‘ Use case

Built to track AAPL price trends and get a short-term forecast without manually plotting moving averages each time.

About

Shiny app that forecasts AAPL stock prices using moving averages and time series modeling πŸ“ˆ

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages