tensortrade.core.registry module

This module hold the project level registry and provides methods to mutate and change the registry.

tensortrade.core.registry.MAJOR_COMPONENTS

The list of the major components that can be injected into.

Type:List[str]
tensortrade.core.registry.register(component: Component, registered_name: str) → None[source]

Registers a component into the registry

Parameters:
  • component ('Component') – The component to be registered.
  • registered_name (str) – The name to be associated with the registered component.
tensortrade.core.registry.registry() → dict[source]

Gets the project level registry.

Returns:dict – The project level registry.