tensortrade.env.informers.abstract module

class tensortrade.env.informers.abstract.AbstractInformer(*args, **kwargs)[source]

Bases: SchemeMixin, Component, TimeIndexed

A component to provide information at each step of an episode.

abstract info() Dict[str, Any][source]

Provides information (the info dict) at a given step of an episode.

Returns:

A dictionary of information about the portfolio and net worth.

Return type:

Dict[str, Any]

registered_name = 'informer'
reset()[source]

Performs a reset on the informer scheme. Will be called when TradingEnv is reset.