an xts object containing the time series data, with
at least two columns named "BID" and "OFR" indicating the bid and ask price
and two columns "BIDSIZ", "OFRSIZ" indicating the number of round lots available at these
prices.
selection
indicates how the bid and ask price for a certain time stamp
should be calculated in case of multiple observation for a certain time
stamp. By default, selection="median", and the median price is taken. Alternatively: