load_indicators#
API documentation for tradeexecutor.strategy.pandas_trader.indicator.load_indicators Python function.
- load_indicators(strategy_universe, storage, indicator_set, all_combinations, max_readers=8, show_progress=True)[source]#
Load cached indicators.
Use a thread pool to speed up IO
- Parameters:
all_combinations (set[tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey]) – Load all cached indicators of this set if they are available in the storage.
storage (DiskIndicatorStorage) – The cache backend we use for the storage
max_readers – Number of reader threads we allocate for the task
strategy_universe (TradingStrategyUniverse) –
indicator_set (IndicatorSet) –
- Return type:
dict[tradeexecutor.strategy.pandas_trader.indicator.IndicatorKey, tradeexecutor.strategy.pandas_trader.indicator.IndicatorResult]