51d21b413d
_update_total_profit() must be executed before "self._position = Positions.Neutral" because _update_total_profit() calls get_unrealized_profit(), which returns 0 if position is neutral and total_profit is not updated |
||
---|---|---|
.. | ||
__init__.py | ||
Base4ActionRLEnv.py | ||
Base5ActionRLEnv.py | ||
BaseEnvironment.py | ||
BaseReinforcementLearningModel.py |