IndicatorDecoration#

API documentation for tradeexecutor.strategy.pandas_trader.indicator_decorator.IndicatorDecoration Python class in Trading Strategy framework.

class IndicatorDecoration[source]#

Bases: object

Internal struct capturing information we need about indicators.

__init__(name, func, source, order, args, dependencies)#
Parameters:
Return type:

None

Methods

__init__(name, func, source, order, args, ...)

Attributes

name

Indicator name

func

Indicator function

source

Source data type

order

Linerised order for the parallel execution

args

Name of function arguments sans DEFAULT_INDICATOR_ARGUMENTS

dependencies

Dependencies needed to run this indicator

name: str#

Indicator name

func: Callable#

Indicator function

source: tradeexecutor.strategy.pandas_trader.indicator.IndicatorSource | None#

Source data type

order: int#

Linerised order for the parallel execution

args: set[str]#

Name of function arguments sans DEFAULT_INDICATOR_ARGUMENTS

dependencies: list[Callable]#

Dependencies needed to run this indicator

__init__(name, func, source, order, args, dependencies)#
Parameters:
Return type:

None