RTAQ: Tools for the analysis of trades and quotes in R