Combining shiny with Quantstrat backtests
I am trying to make a web app with the intention of using quantstrat. However I am having a bit of difficulty integrating the two. There is no documentation on this so it's tough to find a place to start. Here is the code I have right now. It would be much appreciated if you could let me know what I am doing wrong. Thank you library(shiny) library(devtools) library(quantmod) library(quantstrat) library(TTR) library(png) library(dplyr) Sys.setenv(TZ = "UTC") currency('USD') ui <- fluidPage( # Application title titlePanel("myfirst"), sidebarLayout( sidebarPanel( selectInput( "stocks", label =