# visualise 2 hours of order book liquidity.
# data will be aggregated to minute-by-minute resolution.
plotVolumePercentiles(lob.data$depth.summary,
start.time=as.POSIXct("2015-05-01 02:30:00.000", tz="UTC"),
end.time=as.POSIXct("2015-05-01 04:30:00.000", tz="UTC"),
volume.scale=10^-8)
## Not run:
#
# # visualise 15 minutes of order book liquidity.
# # data will be aggregated to second-by-second resolution.
# plotVolumePercentiles(lob.data$depth.summary,
# start.time=as.POSIXct("2015-05-01 04:30:00.000", tz="UTC"),
# end.time=as.POSIXct("2015-05-01 04:35:00.000", tz="UTC"),
# volume.scale=10^-8)
# ## End(Not run)
Run the code above in your browser using DataLab