Artificial Intelligence, Finance, Reinforcement Learning, Data Science, Innovation.
"open_position_price": self.open_position_price if self.position else None, "current_price": current_price, "unrealised_profit": unrealized_profit, } next_state = self.get_discrete_state() return next_state, reward, done, self.info def render(self, mode="human", close=False): trade_status = "open"