calculate_indicators#

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

calculate_indicators(strategy_universe, storage, indicators, execution_context, remaining, max_workers=8, label=None, all_combinations=None, verbose=True)[source]#

Calculate indicators for which we do not have cached data yet.

  • Use a thread pool to speed up IO

Parameters:
Return type:

dict[tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey, tradeexecutor.strategy.pandas_trader.indicator.IndicatorResult]