backup_indicators: Backup indicators in batch mode

Description Usage Arguments Value See Also

View source: R/indicator-generate.R

Description

Backup customized indicators of stock_db in batch into backup dir.

Usage

1
backup_indicators(stock_db, ds_indicator_defs, backup_dir = "backup")

Arguments

stock_db

A stock database object to operate.

ds_indicator_defs

A dataframe of indicator definition to delete.

backup_dir

A path of dir to save backup indicators. Default "backup" is the subdirectory of indicator dir which is specified by dir_path_db(stock_db, "DIR_DB_DATA_INDICATOR")

Value

Path of backup dir. Raise error if anything goes wrong.

See Also

Other indicator generate functions: delete_indicators(), generate_indicators()


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