Overview
Examples
API reference
tensortrade.rewards.reward_strategy.
RewardStrategy
Bases: object
object
exchange
The exchange being used by the current trading environment. Setting the exchange causes the strategy to reset.
InstrumentExchange
get_reward
current_step (int) – The environment’s current timestep.
int
trade (Trade) – The trade executed and filled this timestep.
Trade
float
A float corresponding to the benefit earned by the action taken this timestep.
reset
Optionally implementable method for resetting stateful strategies.