validate_function_kwargs#

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

validate_function_kwargs(func, kwargs)[source]#

Check that we can pass the given kwargs to a function.

Designed to be used with pandas_ta functions - many special cases needs to be added.

Parameters:
  • func (Callable) – TA function

  • kwargs (dict) – Parameters we think function can take

Raises:

IndicatorFunctionSignatureMismatch – You typoed