Calculation of Profits or Losses