Description Usage Arguments Examples
Gets the strategy values of an object of class Strategy
that were output from strategy calculation.
1 2 3 4 | getFilters(object, which = NULL)
## S4 method for signature 'Strategy'
getFilters(object, which = NULL)
|
object |
An object of class |
which |
Which filters shall be returned. Either list number or names to be passed. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.