rbtc.plot.order_book: Plot order book data

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Plot order book data

Usage

1
2
rbtc.plot.order_book(x, ..., limit_pct = getOption("Rbitcoin.plot.limit_pct",
  Inf), verbose = getOption("Rbitcoin.verbose", 0))

Arguments

x

list, a result from market.api.process(action="order_book").

limit_pct

numeric, percentage of limit from middle price. It acts like a zoom-in to the middle of order book plot.

verbose

integer. Rbitcoin processing messages, print to console if verbose > 0, each subfunction reduce verbose by 1. If missing then getOption("Rbitcoin.verbose",0) is used.

...

additional params to be passed to particular plot function.

See Also

market.api.process, rbtc.plot

Examples

1
2
3
4
5
6
## Not run: 
order_book <- market.api.process('kraken',c('LTC','EUR'),'order_book')
rbtc.plot(order_book)
rbtc.plot(order_book, limit_pct = 0.5)

## End(Not run)

jangorecki/Rbitcoin documentation built on May 18, 2019, 12:24 p.m.