tensortrade.feed.core.mixins module

class tensortrade.feed.core.mixins.DataTypeMixin[source]

Bases: object

classmethod register_method(func: Callable, names: List[str])[source]

Injects methods into a specific stream instance.

Parameters:
  • func (Callable) – The function to be injected as a method.
  • names (List[str]) – The names to be given to the function.