volume trading calculation