custom info to tensorboard_metrics
This commit is contained in:
@@ -46,9 +46,9 @@ class Base4ActionRLEnv(BaseEnvironment):
|
||||
self._done = True
|
||||
|
||||
self._update_unrealized_total_profit()
|
||||
|
||||
step_reward = self.calculate_reward(action)
|
||||
self.total_reward += step_reward
|
||||
self.tensorboard_metrics[self.actions._member_names_[action]] += 1
|
||||
|
||||
trade_type = None
|
||||
if self.is_tradesignal(action):
|
||||
|
||||
Reference in New Issue
Block a user