liveplot: Plot live stock data.

Description Usage Arguments Value Author(s) Examples

Description

The following function is described on http://opencpu.org/2011/08/embedding-a-plot-in-your-website/.

Usage

1
  liveplot(ticker)

Arguments

ticker

a ticker name for a plot. For example "GOOG" or "YHOO"

Value

returns NULL and prints a plot

Author(s)

Jeroen Ooms

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
  liveplot("GOOG")
# Is equivalent to e.g:
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="GOOG"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/pdf?ticker="GOOG"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="YHOO"
# http://beta1.opencpu.org/R/call/opencpu.demo/liveplot/png?ticker="YHOO"&!width=1000&!height=800

## End(Not run)

jeroenooms/opencpu.demo-legacy documentation built on May 19, 2019, 6:16 a.m.