tensortrade.env.plotters.utils module¶
- class tensortrade.env.plotters.utils.AggregatePlotter(*args, **kwargs)[source]¶
Bases:
AbstractPlotter
A renderer that aggregates compatible plotters so they can all be used to render a view of the environment.
- Parameters:
renderers (List[Renderer]) – A list of plotters to aggregate.
- renderers¶
A list of plotters to aggregate.
- Type:
List[Renderer]
- registered_name = 'aggregate_renderer'¶
- property trading_env: TradingEnv¶
Provides access to the
TradingEnv
instance.This property checks whether _trading_env has been initialized. If _trading_env is None, a ValueError is raised to prevent the use of an uninitialized
TradingEnv
.- Returns:
The initialized
TradingEnv
instance.- Return type:
- Raises:
ValueError – If _trading_env is not initialized.