The theory and practice of futures markets