getFilters: Get strategy values from 'Strategy'-object

Description Usage Arguments Examples

Description

Gets the strategy values of an object of class Strategy that were output from strategy calculation.

Usage

1
2
3
4
getFilters(object, which = NULL)

## S4 method for signature 'Strategy'
getFilters(object, which = NULL)

Arguments

object

An object of class Strategy.

which

Which filters shall be returned. Either list number or names to be passed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##Not run:

# MA(200)-Strategy
params <- list(k=200)
myStrat.MA <- Strategy(assets=assets, strat="MA", strat.params=params)

# Get strategy values from MA(200)-Strategy
getFilters(myStrat.MA) # all strategy values returned

##End(Not run)

Strategy documentation built on May 2, 2019, 2:09 a.m.