compute total value based on last price