# NOT RUN {
# Consider you have raw trade data for 1 stock for 2 days
head(sample_tdataraw_microseconds)
dim(sample_tdataraw_microseconds)
tdata_afterfirstcleaning <- tradesCleanup(tdataraw = sample_tdataraw, exchanges = list("N"))
tdata_afterfirstcleaning$report
dim(tdata_afterfirstcleaning$tdata)
#In case you have more data it is advised to use the on-disk functionality
#via "from","to","datasource",etc. arguments
# }
Run the code above in your browser using DataLab