Retain only data from the stock exchange with the highest trading volume
只保留数据证券交易所的交易量最高的
译者:生物统计家园网 机器人LoveR
描述----------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.
函数返回一个的XTS对象只包含观测的交流与变量“SIZE”,即最高贸易额的最高值。
用法----------Usage----------
autoSelectExchangeTrades(tdata)
参数----------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:
XTS对象至少有一列“EX”,表示的交流符号和“大小”,表示的贸易额。在控制台上打印所选择的交换。可能的交流: