fix bug in 4ActRLEnv
This commit is contained in:
parent
81417cb795
commit
48140bff91
@ -33,7 +33,6 @@ class Base4ActionRLEnv(BaseEnvironment):
|
|||||||
|
|
||||||
self._update_unrealized_total_profit()
|
self._update_unrealized_total_profit()
|
||||||
|
|
||||||
self._update_profit(action)
|
|
||||||
step_reward = self.calculate_reward(action)
|
step_reward = self.calculate_reward(action)
|
||||||
self.total_reward += step_reward
|
self.total_reward += step_reward
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user