Web Application Development with R Using Shiny
StockData Web Enabling App
Build interactive graphics and interactive data visualizations to deliver Data Analytics. Shiny: Makes it incredibly easy to build interactive web applications with R. Automatic "reactive" binding between inputs and outputs and extensive prebuilt widgets make it possible to build beautiful, responsive, and powerful applications with minimal effort.
Package "quantmod": Quantitative Financial Modelling Framework. The quantmod package for R is designed to assist the quantitative trader in the development, testing, and deployment of statistically based trading models.
Getting Data:
getSymbols(“name_stock”) by default source is Yahoo! Finance
eample: getSymbols(“AAPL”) # For Apple Stock Price Refer to Program
Steps to Create Shiny Web Application:
Prerequsite: RSTUDIO.
- Open R Studio. File -> New File -> Shiny Web Application.
- Create Server.R and ui.R Files.
- Click on -> Run App. [both files will execute.]
- View the Ouput in Viewer.