Plotting the orderbook.
Object of class
Percentage above and below the midpoint to determine the y limits.
Number of price levels to plot.
This function plots the orderbook.
n is only needed
type = "s", which plots the best bid vs. the best ask, and
then the second best bid vs. the second best ask, for
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
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.