Learn R Programming

ACDm (version 1.0.3)

plotDescTrans: Transactions plots

Description

Plots (1) the price over time, (2) volume traded over time for a given interval, and (3) number of transactions over time for a given interval.

Usage

plotDescTrans(trans, windowunit = "hours", window = 1)

Arguments

trans
a data.frame with the column 'time', 'price', and 'volume'. Currently only works if all of those are available.
windowunit
the unit of the time interval. One of "secs", "mins", "hours", or "days".
window
a positive integer giving the length of the interval.

Examples

Run this code
## Not run: 
# plotDescTrans(transData, windowunit = "hours", window = 1)## End(Not run)

Run the code above in your browser using DataLab