Open jsrimr opened 5 years ago
enter_price = self.chg_price[0] -> enter_price = self.chg_price[-1]
Since actual trading occurs at the last time step, the enter_price should point to the last entry of the price array
enter_price = self.chg_price[0] -> enter_price = self.chg_price[-1]
Since actual trading occurs at the last time step, the enter_price should point to the last entry of the price array