autoSelectExchangeTrades: Retain only data from the stock exchange with the highest...

Description Usage Arguments Value Author(s)

Description

Function returns an xts object containing only observations of the exchange with the highest value for the variable "SIZE", i.e. the highest trade volume.

Usage

1

Arguments

tdata

an xts object with at least a column "EX", indicating the exchange symbol and "SIZE", indicating the trade volume. The chosen exchange is printed on the console. The possible exchanges are:

  • A: AMEX

  • N: NYSE

  • B: Boston

  • P: Arca

  • C: NSX

  • T/Q: NASDAQ

  • D: NASD ADF and TRF

  • X: Philadelphia

  • I: ISE

  • M: Chicago

  • W: CBOE

  • Z: BATS

Value

xts object

Author(s)

Jonathan Cornelissen and Kris Boudt


R-Finance/RTAQ documentation built on May 8, 2019, 4:48 a.m.