Signal: Gets inforamtion about indicators in the model

View source: R/signal_classes.R

addRuleConstraintR Documentation

Gets inforamtion about indicators in the model

Description

Gets inforamtion about indicators in the model

Get information about rules in the model

Gets rule constraints

Get information about one rule in the strategy

Get indicators and rules

Calculate vector rules and indicators

Usage

addRuleConstraint(this, expr, name, lookback, args, rules, rule_type)

getIndicators(this)

getRules(this, pathwise)

getRuleConstraints(this)

getRule(this, name)

getSignals(this)

removeRule(this, name)

removeIndicator(this, name)

## S3 method for class 'Strategy'
getIndicators(this)

## S3 method for class 'Strategy'
getRules(this, pathwise)

## S3 method for class 'Strategy'
getRuleConstraints(this)

## S3 method for class 'Strategy'
getRule(this, name)

## S3 method for class 'Strategy'
getSignals(this)

## S3 method for class 'Strategy'
calcVecSignals(this, env = NULL, names = NULL, ...)

Arguments

this

Strategy

name

character

pathwise

logical, if true then return only pathwise=TRUE rules

env

environment, result environment, if NULL then new environment will be created

names

character, what indicators should be evaluated

...

variables

Value

list of inforamation

list of information

list of information

list of information

list of information

environment


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