shinyBATS: shiny BATS quotes

Description Usage Arguments Details Note Author(s) See Also

View source: R/shinyBATS.R

Description

Start a shiny application that shows the top five levels of the BATS order book for a stock.

Usage

1
  shinyBATS(port = 8100L, launch.browser = interactive())

Arguments

port

The TCP port that the application should listen on. Defaults to port 8100.

launch.browser

If TRUE, the system's default web browser will be launched automatically after the app is started. Defaults to TRUE in interactive sessions only.

...

arguments to runApp

Details

This shiny app simply calls getQuote.BATS and plots the result. It requests new data every second, but the data from BATS only updates every five seconds.

The code for this shiny app can be found in the shinyBATS directory at the top level of this package.

Note

documentation for shiny arguments copied from ?shiny::runApp

Author(s)

Garrett See

See Also

getQuote.BATS, getQuote, runApp


qmao documentation built on May 2, 2019, 4:54 p.m.