The quantity purchased seems not the value output by the quantity network? buy_volume = action - self.max_volume??