powered by
events
orderBook(events, tp = as.POSIXlt(Sys.time(), tz = "UTC"), max.levels = NULL, bps.range = 0, min.bid = 0, max.ask = Inf)
tp <- as.POSIXct("2015-05-01 04:25:15.342", tz="UTC") orderBook(lob.data$events, max.levels=5)
Run the code above in your browser using DataLab