"tick": self._current_tick,
"position": self._position.value,
"action": action,
- "force_action": self._force_action,
+ "force_action": (
+ self._force_action.name if self._force_action else None
+ ),
"pnl": self.get_unrealized_profit(),
"reward": round(reward, 5),
"total_reward": round(self.total_reward, 5),
self.freqai_info.get("fit_live_predictions_candles", 100)
)
estimated_trade_duration_candles = int(
- self.config.get("estimated_trade_duration_candles", 36)
+ self.config.get("estimated_trade_duration_candles", 24)
)
stoploss_guard_lookback_period_candles = int(fit_live_predictions_candles / 2)
stoploss_guard_trade_limit = max(