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 |
||
---|---|---|
.. | ||
base_models | ||
prediction_models | ||
RL | ||
__init__.py | ||
data_drawer.py | ||
data_kitchen.py | ||
freqai_interface.py | ||
utils.py |