Description Usage Arguments Details Value Examples
Plotting the orderbook.
1 2 |
x |
Object of class |
bounds |
Percentage above and below the midpoint to determine the y limits. |
n |
Number of price levels to plot. |
type |
Either |
This function plots the orderbook. n
is only needed
for type = "s"
, which plots the best bid vs. the best ask, and
then the second best bid vs. the second best ask, for n
bids
and asks. If type = "n"
then the orderbook will be plotted with
price levels on the y-axis, and size on the x-axis. type = "o"
is similar, except the number of orders for each price level are
plotted. type = "sd"
makes a plot that shows the supply and
demand curves of the order book.
Prints a Trellis object.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.