create_attribute_def_fun: Create definition function of new attribute for modifying...

Description Usage Arguments Value See Also

View source: R/indicator-define.R

Description

Create a definition function of new attribute for modifying indicator. The definition function is used by modify_indicator to compute attribute in modifying existed indicator timeseries of stocks.

Usage

1
create_attribute_def_fun(attr_name, attr_fun, ...)

Arguments

attr_name

A character for attribute name.

attr_fun

A function to generate attribute.

...

Other arguments to attr_fun.

Value

A function of attribute definition to modify indicator if succeed, otherwise NULL.

See Also

Other indicator define functions: create_indicator_def_fun(), get_indicator_defs(), get_indicator_vars(), ind_attr_def_indcd(), ind_attr_def_trdstat(), parse_indicator_vars(), prioritize_indicator_defs(), related_indicator_defs()


chriszheng2016/zstmodelr documentation built on June 13, 2021, 8:59 p.m.