Params: Set list of parameters

setParamsR Documentation

Set list of parameters

Description

Here you can define parameters for rules, indicators, program part and managers of position

Here you can define parameters for rules, indicators, program part and managers of position

Usage

setParams(this, ...)

changeParams(this, ...)

getParams(this, type)

## S3 method for class 'Strategy'
setParams(this, args = list(), type = "all", ...)

## S3 method for class 'Strategy'
changeParams(this, args = list(), type = "all", ...)

## S3 method for class 'Strategy'
getParams(this, type)

Arguments

this

Strategy

...

args

type

character, it can be equal to rules, indicators, pp or pm

args

list, define your params here

Examples

## Not run: 
setParams(this,
       type = 'rules',
       args = list(n = 5, a = 2)
)

## End(Not run)
## Not run: 
setParams(this,
       type = 'rules',
       args = list(n = 5, a = 2)
)

## End(Not run)

Vitalic57/stratbuilder3gen documentation built on March 30, 2022, 6:58 a.m.