getXtsFeatures: Build Predictors

Description Usage Arguments Value Author(s)

Description

takes and xts object and uses TTR package to create non lagged formated set of predictors (typically used to predict the trade Flag T.flag())

Usage

1
2
getXtsFeatures(x, wid = 20, verbose = FALSE, stockName = NULL,
  clusterModel = NULL)

Arguments

x

An xts object containing stock quotes (OHLCV info) from quant mod

funList

a list of functions for to build features from and xts object

funNames

column names for the the output xts

Value

and xts with the funNames and ouput from funList

xts object of predictors (not lagged) to be used to predict the trade signal

Author(s)

Matthew Davis


mdavis29/stockFunctions documentation built on May 22, 2019, 3:22 p.m.