detect_source#
API documentation for tradeexecutor.strategy.pandas_trader.indicator_decorator.detect_source Python function.
- detect_source(func, source)[source]#
Based on indicator function arguments, detect what kind of data source it needs.
- Parameters:
func (Callable) –
source (tradeexecutor.strategy.pandas_trader.indicator.IndicatorSource | None) –
- Return type: