You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the rational behind this formula to calculate the profit? Something does not seem right!W
Why would action be a decimal number if the action space = {0, 1, 2}?
if action is either 0, 1, or 2 then _profit_takens is always equal to self.cf.symbol(self.assets[i], "stop_loss_max"), otherwise if action is decimal then _profit_takens is equal to self.cf.symbol(self.assets[i], "profit_taken_max")) + self.cf.symbol(self.assets[i], "stop_loss_max")
What is the rational behind this formula to calculate the profit? Something does not seem right!W
Why would action be a decimal number if the action space = {0, 1, 2}?
if action is either 0, 1, or 2 then _profit_takens is always equal to self.cf.symbol(self.assets[i], "stop_loss_max"), otherwise if action is decimal then _profit_takens is equal to self.cf.symbol(self.assets[i], "profit_taken_max")) + self.cf.symbol(self.assets[i], "stop_loss_max")
_profit_taken = math.ceil((x - _action) * self.cf.symbol(self.assets[i], "profit_taken_max")) + self.cf.symbol(self.assets[i], "stop_loss_max")
The text was updated successfully, but these errors were encountered: