autoSelectExchangeQuotes {highfrequency} | R Documentation |
Retain only data from the stock exchange with the highest volume
Description
Filters raw quote data and return only data that stems from the exchange with the highest
value for the sum of "BIDSIZ"
and "OFRSIZ"
, i.e. the highest quote volume.
Usage
autoSelectExchangeQuotes(qData, printExchange = TRUE)
Arguments
qData |
a |
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
autoSelectExchangeQuotes(sampleQDataRaw)
[Package highfrequency version 1.0.1 Index]