Stock Price Predictor

Michael S. F. C.
January 30th, 2016

Main Ideas

On-demand, Web-based Stock Price Prediction.

  • Web Application Built in Shiny
  • On-demand Access to Stock Price Data in Google Finance
  • Time Series Predictive Model Generation

User Interface Design

sideBarPanel

3 User Inputs:

  1. Ticker Symbol - a textInput for stock symbol
  2. Prediction Based on Months Prior - a sliderInput to select number of months before today
  3. Go - an actionButton to generate a prediction

mainPanel

2 tabPanels:

  1. Plot tab - a time series plot
    • Black Line - daily closing price
    • Red Line - moving average
    • Blue Line - prediction for the next 10 days
  2. Documentation tab - detailed documentation

Time Series Forecast - Example 1

AAPL, 3 Months Prior, Sun Jan 31 09:10:08 2016

plot of chunk unnamed-chunk-1

Robert Hyndman's Exponential Smoothing State Space Model

Time Series Forecast - Example 2

FB, 6 Months Prior, Sun Jan 31 09:10:11 2016

plot of chunk unnamed-chunk-2

Live at https://mchen-gh.shinyapps.io/StockPricePredictor/