tensortrade.core.registry module

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


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

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

Registers a component into the registry

  • 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.