group_indicators#

API documentation for tradeexecutor.strategy.pandas_trader.indicator.group_indicators Python function.

group_indicators(task_args)[source]#

Split indicator calculations to the groups based on their dependency resolution order.

Returns:

ordered dict, lowest first

Parameters:

task_args (list[tuple[tradeexecutor.strategy.pandas_trader.indicator.IndicatorStorage, tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey, set[tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey]]]) –

Return type:

dict[int, list[tuple[tradeexecutor.strategy.pandas_trader.indicator.IndicatorStorage, tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey, set[tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey]]]]