Profit_loss calculation comment, needs to be checked.