R/server.R

Defines functions server

server <- function(input, output) {
  set.seed(122)
  histdata <- rnorm(500)

  output$dygraph <- dygraphs::renderDygraph({
    df <- broker::bk_get(input$symbol)
    broker::bk_viz(df)
  })
}
frandiego/brokerDashboard documentation built on Feb. 19, 2018, 12:02 a.m.