add_indicator: Add an indicator to your strategy

Description Usage Arguments Value

Description

Calculates an indicator, and adds it to a column in each security's timeseries data.

Usage

1
add_indicator(strategy_object, indicator_name, generator, generator_args)

Arguments

strategy_object

a strategy object

indicator_name

the desired column name of the indicator, used to build signals

generator

the function used to generate the indicator value

generator_args

a named list of parameters to use with the generator function

Value

a strategy object with indicator applied to all securities


jonaselm/fluxcapacitor documentation built on May 16, 2019, 2:53 a.m.