autoSelectExchangeTrades {highfrequency} | R Documentation |
Retain only data from the stock exchange with the highest trading volume
Description
Filters raw trade data and return only data that stems from the exchange with the highest
value for the variable "SIZE"
, i.e. the highest trade volume.
Usage
autoSelectExchangeTrades(tData, printExchange = TRUE)
Arguments
tData |
an |
printExchange |
indicates whether the chosen exchange is printed on the console, default is
|
Value
data.table
or xts
object depending on input.
Author(s)
Jonathan Cornelissen, Kris Boudt, Onno Kleen, and Emil Sjoerup.
Examples
autoSelectExchangeTrades(sampleTDataRaw)
[Package highfrequency version 1.0.1 Index]