tensortrade.env.generic.components.action_scheme module

class tensortrade.env.generic.components.action_scheme.ActionScheme[source]

Bases: tensortrade.core.component.Component, tensortrade.core.base.TimeIndexed

A component for determining the action to take at each step of an episode.


The action space of the TradingEnv. (Space, read-only)

perform(env: TradingEnv, action: Any) → None[source]

Performs an action on the environment.

  • env (TradingEnv) – The trading environment to perform the action on.
  • action (Any) – The action to perform on env.
registered_name = 'actions'
reset() → None[source]

Resets the action scheme.